Skip to content

fix(v2): label sanitization #4236

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 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

kolesnikovae
Copy link
Collaborator

@kolesnikovae kolesnikovae commented Jun 8, 2025

for _, symbol := range profile.StringTable {
for lang, matcherPatterns := range languageMatchers {
for _, pattern := range matcherPatterns {
if strings.HasPrefix(symbol, pattern) || strings.HasSuffix(symbol, pattern) {
level.Debug(logger).Log("msg", "found profile language", "lang", lang, "symbol", symbol)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I hope this doesn't cause any objections

@kolesnikovae kolesnikovae self-assigned this Jun 8, 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.

2 participants