Skip to content

Commit

Permalink
Merge pull request sustainable-computing-io#1870 from vprashar2929/pr…
Browse files Browse the repository at this point in the history
…om-scaph

feat(compose): add fallback scrape protocol for Scaphandre service
  • Loading branch information
vimalk78 authored Dec 9, 2024
2 parents 70145df + 7783d61 commit 33c5c73
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions manifests/compose/dev/prometheus/scrape-configs/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ scrape_configs:
- job_name: scaphandre
static_configs:
- targets: [scaphandre:8080]
scheme: http
fallback_scrape_protocol: PrometheusText1.0.0

- job_name: node-exporter
static_configs:
Expand Down
2 changes: 1 addition & 1 deletion manifests/compose/monitoring/prometheus/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM quay.io/prometheus/prometheus:v2.55.0
FROM quay.io/prometheus/prometheus:latest

COPY /prometheus.yml /etc/prometheus/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ scrape_configs:
- job_name: scaphandre
static_configs:
- targets: [scaphandre:8080]
scheme: http
fallback_scrape_protocol: PrometheusText1.0.0

- job_name: metal
static_configs:
Expand Down

0 comments on commit 33c5c73

Please sign in to comment.