diff --git a/component/deploy/docker-compose.yaml b/component/deploy/docker-compose.yaml index e0631d9ab9..7f22cc1069 100644 --- a/component/deploy/docker-compose.yaml +++ b/component/deploy/docker-compose.yaml @@ -38,7 +38,7 @@ services: - --path.rootfs=/rootfs - --collector.filesystem.ignored-mount-points=^/(sys|proc|dev|host|etc)($$|/) ports: - - 9100:9100 + - 9000:9100 volumes: - /proc:/host/proc:ro - /sys:/host/sys:ro @@ -75,7 +75,7 @@ services: image: prom/prometheus profiles: [rebaser, pinga, sdf, veritech] ports: - - "9000:9090" + - "9100:9090" volumes: - "config:/etc/prometheus/" depends_on: diff --git a/component/init/configs/config.yaml b/component/init/configs/config.yaml index 4bfc1d2379..1d684d478b 100644 --- a/component/init/configs/config.yaml +++ b/component/init/configs/config.yaml @@ -14,6 +14,8 @@ exporters: endpoint: "api.honeycomb.io:443" headers: "x-honeycomb-team": "$SI_HONEYCOMB_API_KEY" + prometheus: + endpoint: 0.0.0.0:9090 extensions: zpages: @@ -27,5 +29,5 @@ service: metrics: receivers: [otlp] processors: [batch] - exporters: [logging, otlp] + exporters: [prometheus] extensions: [zpages] diff --git a/component/init/configs/prometheus.yml b/component/init/configs/prometheus.yml index ad0a5fd220..c43719b18a 100644 --- a/component/init/configs/prometheus.yml +++ b/component/init/configs/prometheus.yml @@ -1,11 +1,12 @@ global: - scrape_interval: 100ms + scrape_interval: 10s scrape_configs: - job_name: service_metrics static_configs: - targets: - otelcol:9090 - job_name: firecracker + scrape_interval: 100ms static_configs: - targets: - process-exporter:9256