Files
tasks/develop/docker-compose/prometheus-linux/prometheus.yml
Stephan BehnkeandGitHub a008a9c39d Standardize YAML formatting (#9142)
## What changed?

Adds and integrates `yamlfmt` (Go-based, by Google).

Anything not annotated was changed by `yamlfmt`.

## Why?

Consistent YAML formatting. Reduce unrelated diffs caused by formatting
in PRs.

## How did you test it?
- [ ] built
- [ ] run locally and tested manually
- [x] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)
2026-02-04 23:57:24 +00:00

17 lines
408 B
YAML

# https://dev.to/ablx/minimal-prometheus-setup-with-docker-compose-56mp
global:
scrape_interval: 5s
scrape_timeout: 5s
scrape_configs:
- job_name: services
metrics_path: /metrics
static_configs:
- targets:
# port should match value from server config listenAddress.
- localhost:8000
- job_name: tempo
static_configs:
- targets:
- localhost:3200