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

[Feature]: Support Prometheus compatible metrics solutions like VictoriaMetrics #1040

Open
2 tasks done
monotek opened this issue Mar 25, 2024 · 0 comments
Open
2 tasks done

Comments

@monotek
Copy link

monotek commented Mar 25, 2024

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've discussed this feature request in the K8sGPT Slack and got positive feedback

Is this feature request related to a problem?

None

Problem Description

I like to activate the prometheus integration but fail because i use a prometheus compatible metrics server called VictoriaMetrics.

If i try to add the prometheus integration the following happens:

k8sgpt integration activate prometheus --namespace monitoring
Activating prometheus integration...
Prometheus installation not found in namespace: monitoring.
		Please ensure Prometheus is deployed to analyze.
Error: no prometheus installation found

Solution Description

My prometheus endpoint is: http://vmselect-vmcluster.monitoring.svc.cluster.local:8481/select/0/prometheus so it would be nice the commond could be extended by something like:

k8sgpt integration activate prometheus --namespace monitoring --endpoint http://vmselect-vmcluster.monitoring.svc.cluster.local:8481/select/0/prometheus

Benefits

Prometheus compatible endpoints could be supported.

Potential Drawbacks

No response

Additional Information

I couldn ot ask in slack as the registration to the slack channel seems to require an @k8sgpt.ai email address.

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

No branches or pull requests

1 participant