microsoft / microsoft/retina

Replace 'retina-pods' scrape config with ServiceMonitor

Open
#847 0 comments 1 reaction 0 assignees View on GitHub
area/metrics
Dominant language
Go
Stars
3.2k
Forks
304
Avg merge
1d 16h
Merged PRs (30d)
79

Description

**Current State**
retina-agent pods are being scraped by an additional prometheus scrape config.

![Image](https://github.com/user-attachments/assets/58aeceba-8db0-40ca-8cf8-f008bc491f4b)

ServiceMonitor support was added in this PR: #695
Using ServicMonitors should be the recommended way for adding scrape jobs

**Proposed Update:**
Replace 'retina-pod's job scrape with ServiceMonitor.
- remove additional config
- enable serviceMonitor
- apply necessary relabelings to align with retina-pods job
- update necessary manifests to enable ServiceMonitor

![Image](https://github.com/user-attachments/assets/41c13da3-394a-47fe-b76d-f1ee8aad1155)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.