This commit is contained in:
parent
a49b8b6d13
commit
5863b2f9e3
3 changed files with 17 additions and 3 deletions
|
@ -93,7 +93,12 @@ alloy_config: |
|
|||
}
|
||||
}
|
||||
|
||||
prometheus.scrape "scrape_metrics" {
|
||||
prometheus.scrape "unix_metrics" {
|
||||
targets = prometheus.exporter.unix.local_system.targets
|
||||
forward_to = [prometheus.relabel.default.receiver]
|
||||
}
|
||||
|
||||
prometheus.scrape "ntfy_metrics" {
|
||||
targets = [{"__address__" = "localhost:9586", job = "ntfy", instance = "ntfy", __scrape_interval__ = "120s"}]
|
||||
forward_to = [prometheus.relabel.default.receiver]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue