-
Notifications
You must be signed in to change notification settings - Fork 875
chore: track workspace resource monitors in telemetry #16776
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
Conversation
73bafaf
to
70900cc
Compare
One idea after thinking about the queries here again: maybe it'd be better to use the updated at value rather than created at for fetching the monitors? We'd then also get telemetry updates whenever the monitors are updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a comment which is more a question than a blocker - but all good !
Thanks a lot @hugodutka 🔥
/cherry-pick release/2.20 |
70900cc
to
b92060a
Compare
Updated the queries to use |
Addresses coder/nexus#195. Specifically, just the "tracking templates" requirement: > ## Tracking in templates > To enable resource alerts, a user must add the resource_monitoring block to a template's coder_agent resource. We'd like to track if customers have any resource monitoring enabled on a per-deployment basis. Even better, we could identify which templates are using resource monitoring.
Addresses https://github.com/coder/nexus/issues/195. Specifically, just the "tracking templates" requirement: