Skip to content

Jetbrains plugin clients are reporting both 0 and 1 for workspace session counts with workspace-usage experiment enabled #15176

Closed
@f0ssel

Description

@f0ssel

If you query the prometheus endpoint while connected to a workspace via the jetbrains plugin you can see the query sometimes return 0 and sometimes return 1. You would expect a solid 1 no matter when in the interval you query.

I think this may be caused by 2 separate reporting loops and possibly a bug in the query where we are selecting the most recent instead of a sum of the most recent.

Metadata

Metadata

Assignees

Labels

bug riskProne to bugsobservabilityIssues related to observability (metrics, dashboards, alerts, opentelemetry)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions