Skip to content

Native labels using TLS or shared library #418

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

gnurizen
Copy link
Contributor

  • Go custom labels from pprof labels
  • Use gotoolchain instead of github matrix strategy
  • Native custom labels

gnurizen and others added 3 commits March 18, 2025 18:52
Add support for a collection of 10 labels that can be attached to
every sample.  Process the go pprof labels into these labels.

Test that this works for Go 1.23 and Go 1.24 with new kernel tests.

Co-authored-by: umanwizard <brennan@umanwizard.com>
If a process links against the custom labels library:

https://github.com/polarsignals/custom-labels

Or is statically linked and has the custom_labels_abi_version exported
symbol then we will try to read custom labels out of the TLS name
'custom_labels_current_set'.

Co-authored-by: umanwizard brennan@umanwizard.com
@gnurizen gnurizen changed the title native labels upstream Native labels using TLS or shared library Mar 24, 2025
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.

1 participant