cyclops-ui / cyclops

Developer Friendly Kubernetes 👁️
https://cyclops-ui.com
Apache License 2.0
2.43k stars 779 forks source link

Create Cyclops Grafana dashboard #468

Closed petar-cvit closed 1 month ago

petar-cvit commented 2 months ago

Is your feature request related to a problem? Please describe. Cyclops controller currently exposes prometheus metrics on port 8081 and path /metrics. The goal of the issue is to add a Grafana dashboard that would show currently available metrics. You are free to design the dashboard and add panels to it.

Describe the solution you'd like The dashboard should be pushed to the repository as a JSON in the grafana/dashboard.json.

rimvydascivilis commented 1 month ago

I would like to take this one.

petar-cvit commented 1 month ago

Sure @rimvydascivilis

petar-cvit commented 1 month ago

@rimvydascivilis do you have any updates on the issue? Let us know if you have any questions

rimvydascivilis commented 1 month ago

@petar-cvit I successfully set up Grafana and will create the dashboard tomorrow.

petar-cvit commented 1 month ago

@rimvydascivilis thanks, let me know if we need to make changes to our deployments. By changes, I mean exposing another port, adding some Prometheus specific annotations, or something else.

Just note that you need to scrape metrics from the cyclops-ctrl only. cyclops-ui does not expose any metrics.

Solving this issue might require a lot of context of our setup so if there is anything we can help you with, feel free to post here.