Metric workflow_task_execution_failed
is used with different sets of labels causing errors with Prometheus
#1450
Labels
Expected Behavior
Should not receive errors about metrics being registered incorrectly.
Actual Behavior
Receiving a Prometheus error about the workflow_task_execution_failed metric being registered with different labels.
Steps to Reproduce the Problem
I am still working on STR's (don't know how to break all the below with test code yet), but I can see that this metric is being used with different tags in different places.
#1295 added a tag here
sdk-go/internal/internal_task_pollers.go
Line 421 in 69bc6c3
But it is not being added in these uses of the metric.
sdk-go/internal/internal_event_handlers.go
Line 1108 in 69bc6c3
sdk-go/internal/internal_event_handlers.go
Line 1298 in 69bc6c3
And that will cause issues with Prometheus, as shown in this example.
Which causes this error
Specifications
The text was updated successfully, but these errors were encountered: