gardener / machine-controller-manager

Declarative way of managing machines for Kubernetes cluster
Apache License 2.0
256 stars 117 forks source link

Enhance MCM metrics #872

Open unmarshall opened 10 months ago

unmarshall commented 10 months ago

How to categorize this issue?

/area control-plane /area monitoring /kind enhancement /priority 3

What would you like to be added:

Today MCM exposes metrics which has a few shortcomings:

While we recommend to re-look at all the metrics but we also had some concrete improvements for 2 metrics that got recently introduced:

Provider API metrics:

APIRequestDuration: For this metric we propose to add additional labels which capture the following:

DriverAPIRequestDuration: For this metrics we propose to add additional labels which capture the following:

Provider Implementations:-

Why is this needed:

This allows us to observe metrics at different levels: