chore(alloy): Scrape Alloy metrics
This commit is contained in:
parent
b615320613
commit
c1a8fdd6ac
2 changed files with 6 additions and 6 deletions
|
|
@ -461,12 +461,12 @@ data:
|
|||
path_targets = discovery.relabel.pod_logs.output
|
||||
}
|
||||
|
||||
prometheus.scrape "prometheus" {
|
||||
prometheus.scrape "alloy" {
|
||||
targets = [{
|
||||
__address__ = "localhost:9090",
|
||||
__address__ = "localhost:12345",
|
||||
}]
|
||||
job_name = "alloy"
|
||||
forward_to = [prometheus.remote_write.default.receiver]
|
||||
job_name = "prometheus"
|
||||
}
|
||||
|
||||
prometheus.scrape "node_exporter" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue