Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

otelcol.connector.servicegraph: update default store ttl value #5941

Merged
merged 2 commits into from
Dec 11, 2023

Conversation

rlankfo
Copy link
Member

@rlankfo rlankfo commented Dec 9, 2023

Signed-off-by: Robbie Lankford [email protected]

PR Description

This PR updates the default store ttl for this component from 2ms to 2s.

Which issue(s) this PR fixes

See open-telemetry/opentelemetry-collector-contrib#29723

Notes to the Reviewer

PR Checklist

  • CHANGELOG.md updated
  • Documentation added
  • Tests updated
  • Config converters updated

@clayton-cornell clayton-cornell added the type/docs Docs Squad label across all Grafana Labs repos label Dec 9, 2023
@clayton-cornell clayton-cornell requested a review from a team December 9, 2023 02:58
@clayton-cornell
Copy link
Contributor

Docs are fine. This touches the .go files so handing off to to someone in the dev team to give it a quick look.

Copy link
Contributor

@ptodev ptodev left a comment

Choose a reason for hiding this comment

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

Thank you for spotting this. I agree that we should change it to 2s, because:

  • It is more in line with the Collector
  • 2s seems more useful than 2ms. 2ms seems really short... I doubt that the component would work correctly for most customers if the ttl is just 2ms.

My only concern about this is that customers who use the default values may see a difference in behaviour. But I think that's ok, since 2s is a more useful value. Also, the component is labeled as "experimental", so such changes are expected.

@ptodev ptodev merged commit a2badce into grafana:main Dec 11, 2023
BarunKGP pushed a commit to BarunKGP/grafana-agent that referenced this pull request Feb 20, 2024
…na#5941)

* otelcol.connector.servicegraph: update default store ttl value

Signed-off-by: Robbie Lankford <[email protected]>

* update test

---------

Signed-off-by: Robbie Lankford <[email protected]>
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Feb 21, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. type/docs Docs Squad label across all Grafana Labs repos
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants