temporalio / temporalio/temporal
error in prometheus reporter: AccessHistoryNew counter
Open
Nobody has claimed this yet.
potential-bug
- Dominant language
- Go
- Stars
- 23.2k
- Forks
- 1.9k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 228
Description
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
- Run
temporal server start-dev - Run workflows on server
- View logs
Specifications
- Version:
temporalio/admin-tools:1.24.2-tctl-1.18.1-cli-0.13.2 - Platform: macOS 14.5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the warning with temporal server start-dev, then run workflows and inspect the Prometheus reporter involved in the log. Trace where the AccessHistoryNew counter descriptor is registered and verify completion by confirming that the warning no longer appears in the server logs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, prometheus
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100