-
Notifications
You must be signed in to change notification settings - Fork 651
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
Align SDK with resource detection spec #1063
Comments
I like having the |
The |
Oh ya, my bad. Updated the issue description.
I like this interface better, not sure if that would be taking too much liberty interpreting the spec though. I think having a util to run the detectors in parallel is worth having, once way or another. |
As discussed in the SIG meeting |
Cool, so the only thing remaining is calling and using the |
Resource detection has been merged into the spec. The SDK should be aligned with the spec. This may already be the case.
Is your feature request related to a problem?
No
Describe the solution you'd like
The resource detection spec is flexible and doesn't prescribe anything. Currently, we have this code:
opentelemetry-python/opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py
Lines 65 to 120 in c435600
We could:
ResourceDetector
interface orget_aggregated_resources()
nor does it say it shouldn't be there.ResourceDetector
interface andget_aggregated_resources()
ResourceDetector
interface with aCallable[[bool], Resource]
function param, since the spec only saysThoughts?
The text was updated successfully, but these errors were encountered: