Skip to content

Move ingester_traces_created_total#2884

Merged
joe-elliott merged 2 commits intografana:mainfrom
joe-elliott:move-traces-created-total
Sep 1, 2023
Merged

Move ingester_traces_created_total#2884
joe-elliott merged 2 commits intografana:mainfrom
joe-elliott:move-traces-created-total

Conversation

@joe-elliott
Copy link
Copy Markdown
Collaborator

@joe-elliott joe-elliott commented Sep 1, 2023

What this PR does:
Moves the location we are calculating tempo_ingester_traces_created_total to the point at which a trace is appended to the wal block. This will allow for better alignment with tempodb_warnings_total{reason="disconnected_trace_flushed_to_wal"} which improves the accuracy of the formulas recommended here:

#2790

Preferring this to adding a new multitenant metric. This change doesn't really lower the value of tempo_ingester_traces_created_total it just subtly changes it's meaning. Given that it still broadly metrics traces created total this feels fine to me, but willing to be disagreed with.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Signed-off-by: Joe Elliott <number101010@gmail.com>
Signed-off-by: Joe Elliott <number101010@gmail.com>
Copy link
Copy Markdown
Contributor

@mapno mapno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@joe-elliott joe-elliott merged commit 25dc436 into grafana:main Sep 1, 2023
galalen pushed a commit to galalen/tempo that referenced this pull request Sep 3, 2023
* move metric

Signed-off-by: Joe Elliott <number101010@gmail.com>

* changelog

Signed-off-by: Joe Elliott <number101010@gmail.com>

---------

Signed-off-by: Joe Elliott <number101010@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants