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

process.runtime.version incorrect #1984

Open
MrAlias opened this issue Mar 13, 2025 · 0 comments · May be fixed by #1985
Open

process.runtime.version incorrect #1984

MrAlias opened this issue Mar 13, 2025 · 0 comments · May be fixed by #1985
Assignees
Milestone

Comments

@MrAlias
Copy link
Contributor

MrAlias commented Mar 13, 2025

From the semantic conventions:

process.runtime.version - Fill in the exact value returned by runtime.Version(), i.e. go1.17.

Meaning this needs to be removed:

bi.GoVersion = strings.ReplaceAll(bi.GoVersion, "go", "")
// Trims GOEXPERIMENT version suffix if present.
if idx := strings.Index(bi.GoVersion, " X:"); idx > 0 {
bi.GoVersion = bi.GoVersion[:idx]
}

@MrAlias MrAlias self-assigned this Mar 13, 2025
@MrAlias MrAlias added this to the v0.22.0 milestone Mar 13, 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 a pull request may close this issue.

1 participant