DylanRussell

Results 41 comments of DylanRussell

TLDR: We could create a customizer class to solve this -- see https://github.com/open-telemetry/opentelemetry-python/pull/4469 for what I mean by that. Alternatively: We do something like [this](https://github.com/DylanRussell/opentelemetry-python/commit/2b828bb30106c7cd63063b69b675b5750af880ee). Add a new environment variable...

Hmm in Java I just see the word authentication a bunch (https://opentelemetry.io/docs/languages/java/sdk/#authentication, https://github.com/open-telemetry/opentelemetry-java-contrib/blob/main/gcp-auth-extension/README.md). I looked at a few other languages but didn't find any auth related wording at all. Anyway...

How the collector does it seems very close to my `OTEL_EXPORTER_OTLP_CREDENTIAL_PROVIDER` approach. The collector for client auth (auth on outgoing requests instead of incoming) has extensions provide a `http.RoundTripper` or...

Hmm what if we accept both `AuthBase` and `requests.Session` as objects that can be provided by the environment variable? For talking to Google APIs we have a requests.Session object we...

I think we could do it with a single environment variable by checking the type of the thing loaded in from the environment variable, check [out the prototype](https://github.com/DylanRussell/opentelemetry-python/commit/2b828bb30106c7cd63063b69b675b5750af880ee#diff-939ca0ff670526b31497ecc0309aecc7f2fb375ae10bb55798b319c2ca1c9e39R204) for what...

For python one possibility is to make a sub class of the requests.Session object like is done here: https://google-auth.readthedocs.io/en/master/_modules/google/auth/transport/requests.html#AuthorizedSession to handle auth. The session object is already a parameter to...

BTW for python I have a [proposal for using an environment variable](https://github.com/open-telemetry/opentelemetry-python/issues/4459#issuecomment-2754620761) to configure auth for the OTLP exporters for auto instrumentation that is pretty similar to how the collector...

Ok so you're saying `LoggingHandler` should accept either a SDK / API LoggerProvider and then return either a SDK / API LogRecord ? Yeah I see `resource` is the one...

I think https://github.com/open-telemetry/opentelemetry-python/pull/4564 will mostly fix this, it changes the timeout to encompass retries, so unless you are setting the exporter timeout to a huge value, export will quickly timeout...