This commit is contained in:
Gavin Holahan 2025-02-28 02:12:19 +00:00
parent 9cc57a2ed8
commit 10fbcd5268
No known key found for this signature in database
GPG key ID: E8F3F7D8AA86657D

View file

@ -14,6 +14,11 @@ job "prometheus" {
task "prometheus" {
driver = "docker"
service {
name = "prometheus"
port = "http"
}
config {
image = "prom/prometheus:latest"
ports = ["http"]
@ -56,8 +61,6 @@ scrape_configs:
metrics_path: /v1/metrics
params:
format: ['prometheus']
EOF
}