Open xman1979 opened 2 months ago
Allow to pass a client certificate to the OTLPLogExporter In our environment, the server needs to authenticate the client, in this PR, it simply forward the client certificate to the requests.post()
Did not hookup with environment variables yet, open the discussion here and we can add later https://github.com/open-telemetry/opentelemetry-python/discussions/3882#discussion-6565784
Fixes # (issue)
Please delete options that are not relevant.
This test requires the server setup to authenticate the client certificate
exporter = OTLPLogExporter( endpoint=f"https://{endpoint}/v1/logs", timeout=5, certificate_file="/etc/pki/tls/certs/ca-bundle.crt", client_certificate_file="/etc/nobody.pem" )
Answer the following question based on these examples of changes that would require a Contrib Repo Change:
The OTel specification has changed which prompted this PR to update the method interfaces of opentelemetry-api/ or opentelemetry-sdk/
opentelemetry-api/
opentelemetry-sdk/
The method interfaces of test/util have changed
test/util
Scripts in scripts/ that were copied over to the Contrib repo have changed
scripts/
Configuration files that were copied over to the Contrib repo have changed (when consistency between repositories is applicable) such as in
pyproject.toml
isort.cfg
.flake8
When a new .github/CODEOWNER is added
.github/CODEOWNER
Major changes to project information, such as in:
README.md
CONTRIBUTING.md
[ ] Yes. - Link to PR:
[X] No.
:white_check_mark:login: xman1979 / (ed4457beb87c71a47195f2bf0b734ececfef7ba7):white_check_mark:login: xman1979 / (ed4457beb87c71a47195f2bf0b734ececfef7ba7, 00210aa7d5aefcf4b97b70ab3b09f649e94e20e0)The committers listed above are authorized under a signed CLA.
Description
Allow to pass a client certificate to the OTLPLogExporter In our environment, the server needs to authenticate the client, in this PR, it simply forward the client certificate to the requests.post()
Did not hookup with environment variables yet, open the discussion here and we can add later https://github.com/open-telemetry/opentelemetry-python/discussions/3882#discussion-6565784
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
This test requires the server setup to authenticate the client certificate
Does This PR Require a Contrib Repo Change?
Answer the following question based on these examples of changes that would require a Contrib Repo Change:
The OTel specification has changed which prompted this PR to update the method interfaces of
opentelemetry-api/
oropentelemetry-sdk/
The method interfaces of
test/util
have changedScripts in
scripts/
that were copied over to the Contrib repo have changedConfiguration files that were copied over to the Contrib repo have changed (when consistency between repositories is applicable) such as in
pyproject.toml
isort.cfg
.flake8
When a new
.github/CODEOWNER
is addedMajor changes to project information, such as in:
README.md
CONTRIBUTING.md
[ ] Yes. - Link to PR:
[X] No.
Checklist: