Skip to content

[Bug] probable incorrect prometheus query on "State Transitions" panel used for measuring state transitions per second #56

@DhirajBhakta

Description

@DhirajBhakta

What are you really trying to do?

Trying to measure state transitions per second (+ also count total state transitions per month)

Describe the bug

https://github.com/temporalio/dashboards/blob/master/server/server-general.json#L1467 its using the metric state_transition_count_count.

Should'nt we be using state_transition_count_sum given that the _count metric merely gives you number of datapoints in the window, and not the sum of values associated with each datapoint?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions