-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Is your feature request related to a problem? Please describe.
We recently saw a $3k spike in our Timestream bill during a single day. We only run dashboards off of our Timestream instance and we suspect that a user forgot the WHERE
clause on a query and/or had a really low refresh interval. We have 1000's of panels, so tracking the cause down is difficult to say the least.
Timestream does not expose any useful metrics on a per-query level in a centralized place, but there is a Query Insights feature that can be used to do performance and cost optimizations.
Query Insights is enabled per query and adds execution path metadata to the response.
- https://docs.aws.amazon.com/timestream/latest/developerguide/API_query_QueryInsights.html
- https://docs.aws.amazon.com/timestream/latest/developerguide/API_query_QueryInsightsResponse.html
Describe the solution you'd like
I would like an option to turn on Query Insights for all queries, and log the resulting query insight responses to a separate file on the Grafana host(s).
This would allow us to ship logs elsewhere for analysis.
Describe alternatives you've considered
No alternative that does not increase complexity.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status