qonto / prometheus-rds-exporter

Prometheus exporter for AWS RDS
MIT License
60 stars 10 forks source link

Add Grafana dashboard CRD #155

Closed vmercierfr closed 5 months ago

vmercierfr commented 5 months ago

Objective

Add Grafana dashboard CRD

Why

To ensure an optimal user experience, it is essential to regularly update our dashboards. This practice guarantees that end-users are always working with the latest features and improvements, enabling them to make the most out of the data presented to helm. However, maintaining multiple versions of dashboards can be challenging and is not desirable. It introduces complexity and can lead to inconsistencies between what they see and the actual data.

Grafana labs is very convient to make our project visible, but lack of documented API prevent dashboard automation, and lack of automation on Grafana itself prevent keeping dashboards up-to-date.

This is where our decision to utilize the Grafana Operator comes into play. By leveraging the Grafana Operator, we can rest assured that the version of our dashboard will always match the metrics presented by our exporter. This synchronization between your dashboards and the underlying data ensures a seamless and accurate monitoring experience.

Furthermore, Kubernetes operators are designed to simplify and eventually replace other forms of deployment. They offer a more streamlined and efficient way to manage your applications within Kubernetes, making it easier for you to focus on what matters most—your data.

Looking ahead, we plan to phase out the publication of dashboards on Grafana Labs. This strategic move aligns with our vision to streamline and enhance the user experience by focusing on operator-based deployment, which ensures consistency and reliability in your data visualization journey.

How

Release plan

github-actions[bot] commented 5 months ago

Code Coverage

Package Line Rate Health
github.com/qonto/prometheus-rds-exporter/internal/app/cloudwatch 87%
github.com/qonto/prometheus-rds-exporter/internal/app/ec2 87%
github.com/qonto/prometheus-rds-exporter/internal/app/exporter 80%
github.com/qonto/prometheus-rds-exporter/internal/app/rds 75%
github.com/qonto/prometheus-rds-exporter/internal/app/servicequotas 51%
github.com/qonto/prometheus-rds-exporter/internal/app/trace 100%
github.com/qonto/prometheus-rds-exporter/internal/app/unit 100%
Summary 80% (1030 / 1290)

Minimum allowed line rate is 60%

vmercierfr commented 5 months ago

Grafana CRD could be remove once https://github.com/datreeio/CRDs-catalog/pull/285 will be merged

vmercierfr commented 5 months ago

sre