-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Guidance around using OTel for tracing in language SDKs #971
Comments
In general, this section of the OTel .NET documentation (which relates to what Philip mentioned) is sorely lacking. It would be very helpful for end users if it was expanded to be as comprehensive as the surrounding sections regarding how to use this library with the native .NET Activity methods. |
From open-telemetry/opentelemetry-go#2481 This is probably most relevant to Go (it certainly isn't much of a concern in .NET), but there's guidance that can be offered around:
|
Another one: https://cloud-native.slack.com/archives/CJFCJHG4Q/p1643212043135500?thread_ts=1643187503.132000&cid=CJFCJHG4Q This is for span status: "Don't set OK unless you're overriding ERROR" |
Thank you for adding such guidance Meta concerns:
Unit testing practices:
|
Something that's come up a few times in feedback channels for me was that it can be unclear which part of the API to use for which scenario.
For example, consider the following API usages in .NET:
and in Java:
Which is the "right" thing to do? Well, if you dig through some issues, you'll stumble on this comment: open-telemetry/opentelemetry-specification#469 (comment)
Really great advice here. And the unwritten, implicit guidance here is:
In the Java docs there is this statement:
This is factual, but the question in my mind is: "Okay, but which approach should I generally use?"
Guidance will differ from language to language because their SDKs have different patterns. But I think this will be critical to document for OTel to succeed in the long term.
What other kinds of guidance can be written for language SDKs?
Some I can think of:
The text was updated successfully, but these errors were encountered: