diff --git a/deployment/docker/docker-compose.yml b/deployment/docker/docker-compose.yml index e4f88a59b..f4c6e5ffa 100644 --- a/deployment/docker/docker-compose.yml +++ b/deployment/docker/docker-compose.yml @@ -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: {} diff --git a/deployment/docker/monitoring.yml b/deployment/docker/monitoring.yml index 298a496d0..d76713ece 100644 --- a/deployment/docker/monitoring.yml +++ b/deployment/docker/monitoring.yml @@ -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'] \ No newline at end of file