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

Unable to scrape metrics using Victoriametrics VMServiceScrape #371

Open
jahnavisana2812 opened this issue Apr 1, 2024 · 1 comment
Open
Assignees

Comments

@jahnavisana2812
Copy link

jahnavisana2812 commented Apr 1, 2024

Hello,

Our Grafana setup utilizes VictoriaMetrics, a Prometheus-compatible system. I'm currently attempting to scrape the metrics exposed on /service/metrics/prometheus, but encountering login issues resulting in a 500 error. Below, you'll find the configuration for the vmservicescrape component I'm using, along with the documentation I've referenced. Your prompt assistance would be greatly appreciated. Thank you.
https://help.sonatype.com/en/support-features.html

apiVersion: operator.victoriametrics.com/v1beta1
kind: VMServiceScrape
metadata:
  name: nexus-metrics
  namespace: nexus
spec:
  endpoints:
    - interval: 5s
      basicAuth:
        password:
          key: *******
        username:
          key: developer
      vm_scrape_params:
        proxy_client_config:
          basic_auth:
            password:
              key: ******
            username:
              key: developer
      path: /service/metrics/prometheus
      port: nexus
      scheme: http
  jobLabel: nxrm
  namespaceSelector:
    matchNames:
      - nexus
  selector: 
    matchLabels:
      app: nexus
Copy link

github-actions bot commented Jun 1, 2024

This issue is stale because it has been open for 60 days with no activity.

@github-actions github-actions bot added the stale label Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants