gardener / machine-controller-manager-provider-aws

Gardener machine controller manager provider for AWS
Apache License 2.0
9 stars 33 forks source link

Record Metrics for AWS API calls #156

Open rishabh-11 opened 8 months ago

rishabh-11 commented 8 months ago

What would you like to be added: In version v0.50.0 of MCM new metrics were added to record cloud provider api request durations and failures. It is for the provider's to implement the logic of updating these metrics at the appropriate points in the code base based on their driver activity with the provider.

As a part of this issue, the provider needs to record requests_failed_total, requests_total and api_request_duration_seconds metrics. Refer mcm-provider-az repo to see how they are implemented for Azure API calls.

Why is this needed: Corresponding MCM issue :- https://github.com/gardener/machine-controller-manager/issues/872