Professor gostaria de uma ajuda sua, vc sabe como eu aplico esse tipo de arquivo? seria dentro do prometheus.yaml mesmo, ou como faço pra ele funcionar?
Global settings and defaults.
global:
Subtracted from Prometheus' scrape_timeout to give us some headroom and prevent Prometheus from
timing out first.
scrape_timeout_offset: 500ms
Minimum interval between collector runs: by default (0s) collectors are executed on every scrape.
min_interval: 0s
Maximum number of open connections to any one target. Metric queries will run concurrently on
multiple connections.
max_connections: 3
Maximum number of idle connections to any one target.
max_idle_connections: 3
The target to monitor and the list of collectors to execute on it.
target:
Data source name always has a URI schema that matches the driver name. In some cases (e.g. MySQL)
the schema gets dropped or replaced to match the driver expected DSN format.
data_source_name: 'sqlserver://prom_user:prom_password@dbserver1.example.com:1433'
Collectors (referenced by name) to execute on the target.
collectors: [pricing_data_freshness]
Collector definition files.
collector_files:
- "*.collector.yml"