edixos / Nauticus

Simplifying Kubernetes cluster management with fully-managed Spaces
Apache License 2.0
60 stars 4 forks source link

Implement Prometheus Metrics for Nauticus controller #16

Closed smileisak closed 1 year ago

smileisak commented 1 year ago

The goal of this task is to implement Prometheus metrics for the Nauticus controller. This will involve creating new endpoints in the controller to expose metrics in a Prometheus-compatible format and configuring Prometheus to scrape these endpoints. The metrics should include information about the number of spaces, resource quotas, and network policies created, updated, and deleted. Additionally, it should include information about the number of errors that occur during these operations. The implementation should follow best practices for Prometheus metric collection and should be thoroughly tested before being merged into the main codebase. A documentation should be added to the official documentation of nauticus about how to use these metrics. The task should also include the setup of grafana dashboard for the metrics.

sftim commented 1 year ago

BTW, we might want to specify OpenMetrics format rather than Prometheus. Prometheus' de facto text format evolved into OpenMetrics.

github-actions[bot] commented 1 year ago

This is stale, but we won't close it automatically, just bare in mind the maintainers may be busy with other tasks and will reach your issue ASAP. If you have any question or request to prioritize this, please reach #nauticus on Kubernetes Slack.