Skip to content

Commit 32910f9

Browse files
committed
Prometheus configuration example
1 parent 8a5165a commit 32910f9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Diff for: prometheus/prometheus.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Configuration example for Prometheus with a remote write on Scaleway Cockpit.
2+
# Replace the underscore values (_) with domains & credentials.
3+
4+
global:
5+
scrape_interval: 60s
6+
evaluation_interval: 60s
7+
8+
remote_write:
9+
- url: https://metrics.cockpit.fr-par.scw.cloud/api/v1/push
10+
headers:
11+
"X-Token": "_"
12+
13+
scrape_configs:
14+
- job_name: "watchdog"
15+
metrics_path: "/api/v1/exporter"
16+
authorization:
17+
type: "Bearer"
18+
credentials: "_"
19+
static_configs:
20+
- targets: ["_:3030"]

0 commit comments

Comments
 (0)