Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self-Managed Prometheus for Retina in Windows does not work #1457

Open
vpidatala94 opened this issue Mar 21, 2025 · 1 comment
Open

Self-Managed Prometheus for Retina in Windows does not work #1457

vpidatala94 opened this issue Mar 21, 2025 · 1 comment

Comments

@vpidatala94
Copy link

Describe the bug
self-managed Prometheus deployment does not work for retina windows pods.

To Reproduce
Steps to reproduce the behavior:

  1. Deploy retina on windows
  2. Go to (https://github.com/microsoft/retina/blob/main/docs/02-Installation/04-prometheus.md)
  3. Follow the recommended steps
  4. We will Retina targets are not resolved.
  5. Metrics are not seen in Graphana

Expected behavior
Retina pod pool to be shown in the target with 10093 metrics endpoint recognized.

Screenshots
If applicable, add screenshots to help explain your problem.

Image
this image shows that retina targets are not resolved.

Platform (please complete the following information):

  • OS: Windows 2022
  • Kubernetes Version: [e.g. 1.22]
  • Retina Version: Latest

Additional context
The root cause:

  1. The retina win pods require annotation - prometheus.io/scrape = true but it is not seen.
  2. Here is how retain win daemon-set looks like --
    kubectl describe daemonsets/retina-agent-win -n kube-system | findstr prometheus
    prometheus.io/port: 10093
    prometheus.io/scrape: true

kubectl describe pods/retina-agent-win-w2jdp -n kube-system | findstr prometheus

  1. Scrape job looks for container name retina but retina windows pods look for retinawin
@vpidatala94
Copy link
Author

assigning to self as the fix has been determined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant