Skip to content
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

Use OTLP log exporter by default in otel-distro #3042

Merged
merged 3 commits into from
Nov 26, 2024

Conversation

lmolkova
Copy link
Contributor

See #2988 - to enable log export in the distro someone needs to:

  • set OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED=true
  • set OTEL_LOGS_EXPORTER=otlp

Let's default to OTLP exporter for logs and rely on OTEL_PYTHON_LOGGING_AUTO_INSTRUMENTATION_ENABLED to guard logs configuration.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

@lmolkova lmolkova requested a review from a team as a code owner November 22, 2024 22:10
@xrmx
Copy link
Contributor

xrmx commented Nov 25, 2024

@lmolkova please sort the imports :)

@xrmx xrmx merged commit 1737ee6 into open-telemetry:main Nov 26, 2024
566 checks passed
@IRusio
Copy link

IRusio commented Dec 12, 2024

i have a question regarding that. isn't it is a fact that i need to set up:

  • name: OTEL_LOGS_EXPORTER
    value: otlp_proto_http

  • name: OTEL_EXPORTER_OTLP_PROTOCOL
    value: http/protobuf

    to be able to send logs with auto instrumentation to collector(grafana alloy in my case)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants