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

[Bug]:metric k8sgpt_number_of_results_by_type is missing #536

Open
3 of 4 tasks
angelaaaaaaaw opened this issue Oct 14, 2024 · 0 comments
Open
3 of 4 tasks

[Bug]:metric k8sgpt_number_of_results_by_type is missing #536

angelaaaaaaaw opened this issue Oct 14, 2024 · 0 comments

Comments

@angelaaaaaaaw
Copy link

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've included steps to reproduce the behavior

Affected Components

  • K8sGPT (CLI)
  • K8sGPT Operator

K8sGPT Version

0.2.0

Kubernetes Version

1.31

Host OS and its Version

linux

Steps to reproduce

1 - install k8sgpt operator
2 - install kube-prometheus-stack
3 - identify grafana is not exposing k8sgpt_number_of_results_by_type

Expected behaviour

expect k8sgpt_number_of_results_by_type to be exposed by metric by k8sgpt opeator

Actual behaviour

k8sgpt_number_of_results_by_type should be exposed by k8sgpt opeator based on the code

k8sgptNumberOfResultsByType := r.MetricsBuilder.GetGaugeVec("k8sgpt_number_of_results_by_type")

However it is not exposed

From grafana dashbord, you can see the k8sgpt_number_of_results_by_type metric is missing
Screenshot 2024-10-14 at 3 27 59 PM

Additional Information

No response

@angelaaaaaaaw angelaaaaaaaw changed the title [Bug]:k8sgpt_number_of_results_by_type [Bug]:metric k8sgpt_number_of_results_by_type is missing Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant