Skip to content

coderd_insights_applications_usage_seconds does not iterate for JetBrains Gateway applications #11103

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

Closed
ericpaulsen opened this issue Dec 8, 2023 · 3 comments
Assignees

Comments

@ericpaulsen
Copy link
Member

this PR added support for the coderd_insights_applications_usage_seconds, but in my testing, does not go iterate greater than 0 for JetBrains Gateway applications present in a template.

produced on 2.4.0. this may be fixed once this PR is merged #10968

@mtojek
Copy link
Member

mtojek commented Dec 8, 2023

We may need more information to debug this further.

Do you see JetBrains usage on the Template Insights page? For instance, when I navigate to the Insights page, I can see 40 minutes for JetBrains.

Keep in mind that Prometheus reports usage during the last 5 min period (sliding window). Here is the database query it uses locally.

Maybe @mafredri knows a nice trick to check the wires.

@mafredri
Copy link
Member

mafredri commented Dec 8, 2023

@ericpaulsen I believe you could test this image to see if #10968 fixes the issue: https://github.com/coder/coder/pkgs/container/coder-preview/155780357?tag=main-2.4.0-devel-dbbf8acc2

@ericpaulsen
Copy link
Member Author

resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants