Repository navigation
Commit e704cdd
committed
fix(alloy): scrape all alloy pod targets on the Alloy HTTP port
Pod discovery makes one scrape target for each declared container port.
It makes a target on port 80 for containers that declare no port, such
as config-reloader. Alloy does not listen on port 80, so the
config-reloader target is always down.
Set the prometheus.io/port annotation on the Alloy pod to the Alloy HTTP
port by default. Operators no longer need to set it in their own values.1 parent 938aba9 commit e704cdd
3 files changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| 322 | + | |
322 | 323 | | |
323 | 324 | | |
324 | 325 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
214 | 219 | | |
215 | 220 | | |
216 | 221 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12072 | 12072 | | |
12073 | 12073 | | |
12074 | 12074 | | |
| 12075 | + | |
12075 | 12076 | | |
12076 | 12077 | | |
12077 | 12078 | | |
| |||
0 commit comments