Skip to content

Huge amount of logs on the tempo querier after a single query #3517

Answered by joe-elliott
ogxd asked this question in Q&A
Discussion options

You must be logged in to vote

When searching for traces by id Tempo does in fact check every block. First it checks a bloom filter, if that passes then it moves on to checking the actual block for data. That is a fairly intense log and should probably be dropped to "debug" level.

You can check tempodb_blocklist_length to determine the length of the current blocklist. There is no magic number for the perfect number of blocks. You can scale up compactors, reduce their compaction_window, or just reduce retention to help drive them down if desired.

Also, you can pass start/end parameters to that endpoint. This will force Tempo to search fewer blocks.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ogxd
Comment options

@ogxd
Comment options

@ogxd
Comment options

@joe-elliott
Comment options

Answer selected by ogxd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants