Skip to content

feat(otel): use semconv SERVICE_NAME for service.name - #597

Draft
SilanHe wants to merge 2 commits into
mainfrom
feat/otel-service-name-semconv
Draft

feat(otel): use semconv SERVICE_NAME for service.name#597
SilanHe wants to merge 2 commits into
mainfrom
feat/otel-service-name-semconv

Conversation

@SilanHe

@SilanHe SilanHe commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes: Replace the raw "service.name" literal in provider._build_resource() with the stable OpenTelemetry semantic-conventions constant (opentelemetry.semconv.attributes.service_attributes.SERVICE_NAME), matching the Java SDK's ServiceAttributes.SERVICE_NAME. Declare opentelemetry-semantic-conventions explicitly (already a pinned transitive dep of opentelemetry-sdk). faas./cloud. stay raw as they are incubating.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Replace the raw "service.name" literal in provider._build_resource()
with the stable OpenTelemetry semantic-conventions constant
(opentelemetry.semconv.attributes.service_attributes.SERVICE_NAME),
matching the Java SDK's ServiceAttributes.SERVICE_NAME. Declare
opentelemetry-semantic-conventions explicitly (already a pinned
transitive dep of opentelemetry-sdk). faas.*/cloud.* stay raw as they
are incubating.
@SilanHe
SilanHe had a problem deploying to ai-pr-review-runtime July 28, 2026 23:40 — with GitHub Actions Failure
@SilanHe
SilanHe had a problem deploying to ai-pr-review-runtime July 28, 2026 23:40 — with GitHub Actions Failure
@SilanHe
SilanHe marked this pull request as draft July 28, 2026 23:46
@SilanHe
SilanHe had a problem deploying to ai-pr-review-runtime July 28, 2026 23:46 — with GitHub Actions Failure
@SilanHe
SilanHe had a problem deploying to ai-pr-review-runtime July 28, 2026 23:46 — with GitHub Actions Failure
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