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

Zipkin exporter should take service.name from Resource #1549

Closed
evantorrie opened this issue Feb 18, 2021 · 1 comment · Fixed by #1697
Closed

Zipkin exporter should take service.name from Resource #1549

evantorrie opened this issue Feb 18, 2021 · 1 comment · Fixed by #1697
Assignees
Labels
area:trace Part of OpenTelemetry tracing
Milestone

Comments

@evantorrie
Copy link
Contributor

Zipkin requires a service name to be sent with each span. Per the specification https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk_exporters/zipkin.md#service-name ,

Zipkin service name MUST be set to the value of the resource attribute: service.name. 
If no service.name is contained in a Span's Resource, it MUST be populated from the default Resource
@jcchavezs
Copy link
Contributor

Relevant: #1695 (comment)

jcchavezs added a commit to jcchavezs/opentelemetry-go that referenced this issue Mar 12, 2021
Resource detector provides a serviceName in all cases, hence we can relay on span resource to obtain the serviceName. Also this is required by the spec https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk_exporters/zipkin.md\#service-name (open-telemetry#1549).
Aneurysm9 added a commit that referenced this issue Mar 16, 2021
* breaking(zipkin): removes servicName from zipkin exporter.

Resource detector provides a serviceName in all cases, hence we can relay on span resource to obtain the serviceName. Also this is required by the spec https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk_exporters/zipkin.md\#service-name (#1549).

* docs(zipkin): adds changelog.

* chore(examples/zipkin): updates example accordingly.

Co-authored-by: Anthony Mirabella <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:trace Part of OpenTelemetry tracing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants