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

fix(pyroscope.java): infer service_name label if possible #6184

Merged
merged 7 commits into from
Jan 29, 2024

Conversation

korniltsev
Copy link
Contributor

@korniltsev korniltsev commented Jan 18, 2024

PR Description

  • make pyroscope.java component infer service_name label similar to pyroscope.scrape and pyroscope.ebpf
  • make pyroscope.scrape to use dockerswarm labels for service_name infer

Which issue(s) this PR fixes

Notes to the Reviewer

PR Checklist

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

CHANGELOG.md Outdated Show resolved Hide resolved
@korniltsev korniltsev marked this pull request as ready for review January 29, 2024 10:57
Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM

@korniltsev
Copy link
Contributor Author

@clayton-cornell @knylander-grafana ptal at docs when you have time

@clayton-cornell clayton-cornell added the type/docs Docs Squad label across all Grafana Labs repos label Jan 29, 2024
Copy link
Contributor

@clayton-cornell clayton-cornell left a comment

Choose a reason for hiding this comment

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

@korniltsev Docs are fine as-is. It matches lang and style of existing content.

@korniltsev korniltsev merged commit fe89779 into main Jan 29, 2024
11 checks passed
@korniltsev korniltsev deleted the pyroscope-java-service-name branch January 29, 2024 20:32
BarunKGP pushed a commit to BarunKGP/grafana-agent that referenced this pull request Feb 20, 2024
* fix(pyroscope.java): infer service_name label if possible

* Do not mutate target

* update changelog, fix scrape infer

* fix

* fix
@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 29, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 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.

None yet

3 participants