temporalio / temporal

Temporal service
https://docs.temporal.io
MIT License
12.04k stars 849 forks source link

error in prometheus reporter: AccessHistoryNew counter #6338

Open Tadimsky opened 3 months ago

Tadimsky commented 3 months ago

Expected Behavior

No warning logs output by Temporal.

Actual Behavior

Temporal is logging this warning:

time=2024-07-25T15:31:08.764 level=WARN msg="error in prometheus reporter" error="a previously registered descriptor with the same fully-qualified name as Desc{fqName: \"AccessHistoryNew\", help: \"AccessHistoryNew counter\", constLabels: {}, variableLabels: {service_name,operation}} has different label names or a different help string"

Steps to Reproduce the Problem

  1. Run temporal server start-dev
  2. Run workflows on server
  3. View logs

Specifications

Tadimsky commented 3 months ago

I couldn't find in the codebase where this metric was coming from - but it looks like it's maybe differing in what labels it's being emitted with.

ltlombardi commented 1 month ago

Same happening to me while running this tutorial https://learn.temporal.io/getting_started/dotnet/first_program_in_dotnet/

Windows 11, temporal version 0.13.2 (server 1.24.1) (ui 2.28.0)