temporalio / temporalio/temporal

error in prometheus reporter: AccessHistoryNew counter

Open
#6,338 4 comments 1 reaction 0 assignees View on GitHub

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

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

Specifications

  • Version: temporalio/admin-tools:1.24.2-tctl-1.18.1-cli-0.13.2
  • Platform: macOS 14.5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.