Skip to content

Convert span metrics config vadliation error into a warning - #6104

Merged
mdisibio merged 3 commits into
grafana:mainfrom
mdisibio:generator-validation-fix
Dec 19, 2025
Merged

Convert span metrics config vadliation error into a warning#6104
mdisibio merged 3 commits into
grafana:mainfrom
mdisibio:generator-validation-fix

Conversation

@mdisibio

@mdisibio mdisibio commented Dec 18, 2025

Copy link
Copy Markdown
Contributor

What this PR does:
Detection of conflicting span metrics dimensions was added in #6008. This was a hard error that prevented startup of the processor for that tenant. This PR backs that off into a warning, so that invalid configurations can be detected and fixed, without disrupting operations on a version upgrade.

Logged warning looks like:

level=warn ts=2025-12-18T20:27:37.983855Z caller=instance.go:339 tenant=single-tenant msg="warning when adding spanmetrics processor" warn="dimension \"foo.bar\" produces label \"foo_bar\" which collides with dimension \"foo_bar\""

This error also highlighted that we are lacking the tenant in some generator Kafka error logs.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
@mdisibio
mdisibio merged commit 68b6ba2 into grafana:main Dec 19, 2025
64 of 69 checks passed
mattdurham pushed a commit to mattdurham/tempo that referenced this pull request Jun 18, 2026
…6104)

* Convert span metrics config vadliation error into a warning

* Add tenant to generator kafka error logs

* changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants