Skip to content

feat: Add default_spans_per_span_set config and treat spss=0 as unlimited - #5858

Merged
javiermolinar merged 11 commits into
grafana:mainfrom
iamrajiv:fix
Dec 1, 2025
Merged

feat: Add default_spans_per_span_set config and treat spss=0 as unlimited#5858
javiermolinar merged 11 commits into
grafana:mainfrom
iamrajiv:fix

Conversation

@iamrajiv

@iamrajiv iamrajiv commented Nov 5, 2025

Copy link
Copy Markdown
Contributor

What this PR does:

Add default_spans_per_span_set config and treat spss=0 as unlimited

Which issue(s) this PR fixes:
Fixes #5435

Checklist

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

@anglerfishlyy anglerfishlyy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi @iamrajiv , overall implementation looks solid, good addition with default_spans_per_span_set , and the docs and tests are covered. a few CI checks are failing (lint , unit , e2e ), likely just needs a make fmt and ensuring ParseSearchRequestWithDefault() is consistently used. once those are fixed , it should be good to go.

@javiermolinar javiermolinar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM on minor change. It is required to generate the manifest again

Comment thread modules/frontend/search_sharder.go
@anglerfishlyy

Copy link
Copy Markdown
Contributor

Thanks for the update @iamrajiv,changes look good after formatting. Agree with @javiermolinar’s suggestion on handling negative values for safety. You can also run make generate-manifest and make test-e2e-api locally to catch any errors early and keep the commit history clean before merge 👍

Comment thread modules/frontend/search_sharder.go Outdated

@knylander-grafana knylander-grafana left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for updating the docs!

@iamrajiv

Copy link
Copy Markdown
Contributor Author

@javiermolinar @knylander-grafana can we run the ci again?

@javiermolinar javiermolinar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM thank you for your contribution

@javiermolinar
javiermolinar merged commit 5bdf50e into grafana:main Dec 1, 2025
22 checks passed
mattdurham pushed a commit to mattdurham/tempo that referenced this pull request Jun 18, 2026
…ited (grafana#5858)

* add config

* add search config too

* add test

* add changelog

* add docs

* fix typos

* fmt

* add manifest

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

Labels

None yet

4 participants