mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
wip
Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
parent
e64ea01098
commit
06e00b407f
2 changed files with 25 additions and 0 deletions
|
@ -30,6 +30,26 @@ services:
|
|||
networks:
|
||||
- vm_net
|
||||
restart: always
|
||||
|
||||
vmagent-without-aggregation:
|
||||
container_name: vmagentdata-without-aggregation
|
||||
image: victoriametrics/vmagent:v1.103.0
|
||||
depends_on:
|
||||
- "victoriametrics"
|
||||
ports:
|
||||
- 8429
|
||||
volumes:
|
||||
- vmagentdata-without-aggregation:/vmagentdata
|
||||
- ./prometheus.yml:/etc/prometheus/prometheus.yml
|
||||
command:
|
||||
- "--promscrape.config=/etc/prometheus/prometheus.yml"
|
||||
- "--remoteWrite.url=http://victoriametrics:8428/api/v1/write"
|
||||
- "--promscrape.config.strictParse=false"
|
||||
- "--promscrape.maxScrapeSize=9999999999999"
|
||||
networks:
|
||||
- vm_net
|
||||
restart: always
|
||||
|
||||
vmagent-with-aggregation:
|
||||
container_name: vmagent-with-aggregation
|
||||
image: victoriametrics/vmagent:v1.103.0
|
||||
|
@ -46,6 +66,7 @@ services:
|
|||
- "--streamAggr.config=/etc/prometheus/stream_aggr_config.yml"
|
||||
- "--remoteWrite.url=http://victoriametrics:8428/api/v1/write"
|
||||
- "--promscrape.config.strictParse=false"
|
||||
- "--promscrape.maxScrapeSize=9999999999999"
|
||||
networks:
|
||||
- vm_net
|
||||
restart: always
|
||||
|
@ -106,6 +127,7 @@ services:
|
|||
volumes:
|
||||
prometheus: {}
|
||||
vmagent-monitoring: {}
|
||||
vmagentdata-without-aggregation: {}
|
||||
vmagentdata-with-aggregation: {}
|
||||
vmdata: {}
|
||||
grafanadata: {}
|
||||
|
|
|
@ -11,6 +11,9 @@ scrape_configs:
|
|||
- job_name: 'vmagent-with-aggregation'
|
||||
static_configs:
|
||||
- targets: ['vmagent-with-aggregation:8429']
|
||||
- job_name: 'vmagent-without-aggregation'
|
||||
static_configs:
|
||||
- targets: ['vmagent-without-aggregation:8429']
|
||||
- job_name: 'victoriametrics'
|
||||
static_configs:
|
||||
- targets: ['victoriametrics:8428']
|
Loading…
Reference in a new issue