-
Notifications
You must be signed in to change notification settings - Fork 894
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
Jaeger exporter service.name clarification needed #1237
Comments
@yurishkuro is there any fallback in Jaeger if it's not provided?
|
Most Jaeger SDKs will refuse to initialize if the service name (a required parameter) is blank, e.g.
I would expect OTEL in general to guarantee that there is always a resource with non-empty service name. In other words, I don't think this should be solved at the level of Jaeger exporters or any Jaeger-specific functionality. Whether the SDK should raise an exception or default to some To unblock Jaeger exporter work specifically, I would suggest going with |
Currently, from what I understand, there is no requirement that The java implementation requires a "service name" to be configured into the Jaeger exporter, but it's not clear how that should interact with the |
That sounds like a bad take. Jaeger backend uses OTEL collector components and can accept OTLP data directly, so the service name must be present in the native OTEL data. |
But, as I mentioned in the part you didn't quote...there isn't a requirement that the service name is present in the Resource. |
What's stopping us from making it a requirement? |
I don't know. I'm honestly not sure why it isn't a requirement already. That would be a satisfactory resolution to this issue for me. |
I am suggesting making it a requirement, and use |
Do you mind championing a spec change for this? I can create the issue if you'd like? |
@tedsuo fyi |
Hey hey! I would also like to see service.name as a required attribute. Almost every tracing system has a version of this which is required. |
I think this should be closed in favor of #1241 |
I'd rather keep this open until that one is resolved, since this won't actually be resolved until that one is agreed to and merged. |
So, with #1269 merged, does that mean we should remove the fallback service-name configuration option for the Jaeger exporter and always use whatever is on the Resource? I think 'yes', but it would be good to get a firm confirmation. |
I think fallback configuration should be removed, but it may sense to keep the fallback logic to default to |
@jkwatson @yurishkuro My feeling is that with #1294 this should be done, unless you want further clarification, to be on the safe side ;) |
I think we want further clarification, which is why I had objected to closing #1241 -- I did not realize this issue here also exists. |
I think our Jaeger exporter spec still needs clarification on this, yes. I wouldn't close this until that document has been updated to explain the 2 different possible resources for the service.name and when to choose which. |
@yurishkuro I'm concerned that we are going to have to drop Jaeger as a v1.0 requirement unless we get the TBD's in the jaeger exporter spec resolved for OTel this week – this is blocking v1.0 at this point. Do you feel like you have enough information to add these attribute translations to the spec? Can we tap a jaeger member of the OTel community to make this PR? |
@jkwatson is there still an open issue here? I don't particularly like how the notion of |
heh. I was literally about to write this as well. I do think it would be good to mention that, yes. |
For Zipkin also: #1380 |
What are you trying to achieve?
#1222 includes language that requires the Jaeger exporter to use the
service.name
attribute of the Resource, but does not explain how the exporter should behave if that attribute is missing from the Resource.Should the exporter be configured with a fallback service name, or should it fail to export any spans without a valid Resource
service.name
entry?The text was updated successfully, but these errors were encountered: