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

[Feature Request] Add accumulated api requests made to cloudwatch API endpoint #5199

Closed
jnmarquis opened this issue Dec 27, 2018 · 5 comments
Labels
area/aws AWS plugins including cloudwatch, ecs, kinesis cloud Issues or requests around cloud environments feature request Requests for new plugin and for new features to existing plugins waiting for response waiting for response from contributor

Comments

@jnmarquis
Copy link

jnmarquis commented Dec 27, 2018

As CloudWatch is not free beyond the 1M requests, Telegraf's CloudWatch input plugin should keep a counter of the api requests made to CloudWatch API in order to estimate monthly costs for this service.
cloudwatch_exporter from Prometheus provides this counter and should not be very difficult to implement in Telegraf.

@danielnelson
Copy link
Contributor

Sounds like a good idea, is this something you are interested in working on?

@danielnelson danielnelson added feature request Requests for new plugin and for new features to existing plugins area/aws AWS plugins including cloudwatch, ecs, kinesis labels Dec 27, 2018
@jnmarquis
Copy link
Author

I'm no Go expert, but could give it a go

@danielnelson
Copy link
Contributor

Yeah give it a shot, it might make sense to do it as a selfstat.Stat. There is an example of how to use it in influxdb_listener. These metrics are only emitted when the internal input plugin is enabled.

@ssoroka ssoroka added the cloud Issues or requests around cloud environments label Oct 30, 2020
@sspaink
Copy link
Contributor

sspaink commented Sep 1, 2022

@jnmarquis seems tracking API requests hasn't been implemented yet, but it looks like #5544 helped make the cloudwatch plugin more cost effective which could help. Are you still interested in seeing feature implemented?

@sspaink sspaink added the waiting for response waiting for response from contributor label Sep 1, 2022
@telegraf-tiger
Copy link
Contributor

Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Page. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/aws AWS plugins including cloudwatch, ecs, kinesis cloud Issues or requests around cloud environments feature request Requests for new plugin and for new features to existing plugins waiting for response waiting for response from contributor
Projects
None yet
Development

No branches or pull requests

4 participants