Skip to content

Commit

Permalink
Group metric defs
Browse files Browse the repository at this point in the history
  • Loading branch information
bergundy committed May 17, 2024
1 parent 32a3fd8 commit 660c124
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions internal/common/metrics/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,11 @@ const (
WorkflowTaskNoCompletionCounter = TemporalMetricsPrefix + "workflow_task_no_completion"

ActivityPollNoTaskCounter = TemporalMetricsPrefix + "activity_poll_no_task"
NexusPollNoTaskCounter = TemporalMetricsPrefix + "nexus_poll_no_task"
ActivityScheduleToStartLatency = TemporalMetricsPrefix + "activity_schedule_to_start_latency"
ActivityExecutionFailedCounter = TemporalMetricsPrefix + "activity_execution_failed"
NexusTaskScheduleToStartLatency = TemporalMetricsPrefix + "nexus_task_schedule_to_start_latency"
NexusTaskExecutionFailedCounter = TemporalMetricsPrefix + "nexus_task_execution_failed"
UnregisteredActivityInvocationCounter = TemporalMetricsPrefix + "unregistered_activity_invocation"
ActivityExecutionLatency = TemporalMetricsPrefix + "activity_execution_latency"
NexusTaskExecutionLatency = TemporalMetricsPrefix + "nexus_task_execution_latency"
ActivitySucceedEndToEndLatency = TemporalMetricsPrefix + "activity_succeed_endtoend_latency"
NexusTaskEndToEndLatency = TemporalMetricsPrefix + "nexus_task_endtoend_latency"
ActivityTaskErrorCounter = TemporalMetricsPrefix + "activity_task_error"

LocalActivityTotalCounter = TemporalMetricsPrefix + "local_activity_total"
Expand Down Expand Up @@ -86,6 +81,12 @@ const (
StickyCacheSize = TemporalMetricsPrefix + "sticky_cache_size"

WorkflowActiveThreadCount = TemporalMetricsPrefix + "workflow_active_thread_count"

NexusPollNoTaskCounter = TemporalMetricsPrefix + "nexus_poll_no_task"
NexusTaskScheduleToStartLatency = TemporalMetricsPrefix + "nexus_task_schedule_to_start_latency"
NexusTaskExecutionFailedCounter = TemporalMetricsPrefix + "nexus_task_execution_failed"
NexusTaskExecutionLatency = TemporalMetricsPrefix + "nexus_task_execution_latency"
NexusTaskEndToEndLatency = TemporalMetricsPrefix + "nexus_task_endtoend_latency"
)

// Metric tag keys
Expand Down

0 comments on commit 660c124

Please sign in to comment.