Skip to content

Added functional option to attach trace_id label to profiles#18

Open
bincyber wants to merge 1 commit intografana:mainfrom
bincyber:with-trace-id
Open

Added functional option to attach trace_id label to profiles#18
bincyber wants to merge 1 commit intografana:mainfrom
bincyber:with-trace-id

Conversation

@bincyber
Copy link
Copy Markdown

This PR adds a functional option that when set causes trace_id label to be attached to profiles.

Example usage:

otel.SetTracerProvider(otelpyroscope.NewTracerProvider(tp, otelpyroscope.WithTraceID()))
Screenshot 1

This provides the capability to jump from profiles to traces by copying the trace_id and looking it up:

Screenshot 2

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Nov 11, 2025

CLA assistant check
All committers have signed the CLA.

@bincyber
Copy link
Copy Markdown
Author

Hi @kolesnikovae @marcsanmi @simonswine

Can you please review this PR

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