Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Call Counters #955

Closed
humoflife opened this issue Nov 7, 2023 · 1 comment
Closed

API Call Counters #955

humoflife opened this issue Nov 7, 2023 · 1 comment
Labels
enhancement New feature or request needs:triage

Comments

@humoflife
Copy link

What problem are you facing?

Crossplane users would like to know how many API calls to which APIs a provider makes. Please expose an API call counter metric at the provider metric interface.

There should be a roll up metric for all API calls, all API calls per API version, and a counter for each separate API/version. Those three categories could be satisfied through labels for the same metric. They would allow a quick view of overarching trend changes after updating or introducing new compositions, or additional claims. They would also inform about API version adoption, and provide an overview of which APIs are more popular and to which degree.

How could Official AWS Provider help solve your problem?

Implement and expose the following metrics at port 8080/metrics:

  • api_call_count {group="...", version="...", kind="..."}
@humoflife humoflife added enhancement New feature or request needs:triage labels Nov 7, 2023
@humoflife
Copy link
Author

Moved this to crossplane/upjet#297 to that all providers that were generated with Upjet may benefit from the implementation. Closing this github issue in favor of the Upjet issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs:triage
Projects
None yet
Development

No branches or pull requests

2 participants