Commit 9cd8c21
authored
fix(monitoring): stop parca-analytics from scraping its own Thanos components (#473)
Its podMonitorSelector/serviceMonitorSelector were left at the {}
default (match all labels), so despite the namespace selector already
restricting discovery to its own namespace, it was still picking up
the thanos-sidecar/thanos-query/thanos-store ServiceMonitors living
there. This instance only ingests via remote-write and shouldn't
scrape anything at all (self-monitoring is the parca instance's job).
Sets both selectors to an `In: []` match-expression, which never
matches regardless of labels.1 parent 43ceb18 commit 9cd8c21
1 file changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
337 | | - | |
338 | | - | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
339 | 342 | | |
340 | 343 | | |
| 344 | + | |
| 345 | + | |
341 | 346 | | |
342 | 347 | | |
343 | 348 | | |
| |||
0 commit comments