Skip to content
This repository was archived by the owner on Jan 28, 2022. It is now read-only.

Conversation

@stuartleeks
Copy link
Collaborator

@stuartleeks stuartleeks commented Dec 18, 2019

@storey247 and I both worked on this PR to simplify the generated prometheus metrics but consolidating multiple metrics that each contained the object type in the name (e.g. databricks_dcluster_create_request_duration_seconds) into a single metric databricks_request_duration_seconds. The metrics have labels attached so databricks_request_duration_seconds{object_type='dcluster'} gives the metric filtered to dcluster operations.

This is in line with the way Kubernetes emits metrics, and gives a lot more power for producing dashboards of the metrics in Grafana

@stuartleeks stuartleeks changed the title WIP - Simplify prometheus metrics with labels Simplify prometheus metrics with labels Dec 18, 2019
@Azadehkhojandi Azadehkhojandi self-requested a review December 19, 2019 05:59
Copy link
Contributor

@Azadehkhojandi Azadehkhojandi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for your pr

@Azadehkhojandi Azadehkhojandi merged commit bd9fa2a into Azure:master Dec 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants