linode / provider-linode

Provider Linode is a Crossplane provider for managing Linode Akamai Cloud Computing resources.
Apache License 2.0
12 stars 9 forks source link

Reduce metrics bloat + bump to terraform v2.22.0 #37

Closed tchinmai7 closed 3 months ago

tchinmai7 commented 4 months ago

Description of your changes

  1. Reduce metrics bloat - by collecting api call counters at service level instead of per resource
  2. bump to terraform provider-linode v2.22.0
  3. Includes unreleased changes to terraform-provider-linode and linodego.
  4. Count API responses instead of requests

These metrics show up post these changes

# HELP linode_api_responses_last_5m Number of Linode API responses by return code and first 5 digits of the token
# TYPE linode_api_responses_last_5m counter
linode_api_responses_last_5m{account="21a97",code="200",method="GET",url="keys"} 1
# HELP linode_api_responses_total Number of Linode API responses by return code and first 5 digits of the token
# TYPE linode_api_responses_total counter
linode_api_responses_total{account="21a97",code="200",method="GET",url="keys"} 1

Fixes #

I have:

How has this code been tested