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

Send logs to OpenTelemetry exporter/ingest #6508

Open
smyrick opened this issue Jan 3, 2025 · 0 comments
Open

Send logs to OpenTelemetry exporter/ingest #6508

smyrick opened this issue Jan 3, 2025 · 0 comments

Comments

@smyrick
Copy link
Member

smyrick commented Jan 3, 2025

Is your feature request related to a problem? Please describe.

Today I can configure my log exporter in the Router v1.59.0 with the following options to STDOUT.

telemetry:
  exporters:
    logging:

      common:
         resource:
           "environment.name": "production"
           "environment.namespace": "{env.MY_K8_NAMESPACE_ENV_VARIABLE}"

      stdout:
        enabled: true
        format: text

However, my telemetry systems, like Dynatrace, support sending logs to an ingest API with OpenTelemetry

Describe the solution you'd like

I would like to be able to configure an otlp block similar to traces and metrics exporters in the Router for logging

telemetry:
  exporters:
    logging:

      otlp:
        enabled: true
        endpoint: ${env.DYNATRACE_URL}
        protocol: http
        http:
          headers:
            "Authorization": "Api-Token ${env.DT_TOKEN}"

Describe alternatives you've considered

There are usually many ways I can get STDOUT logs from my Router runtime to o11y systems. This can include system the run on k8s, my cloud provider, or other tools and services.

Additional Context

Otel Logging has become a standard and the spec is 1.0, but this happened in late 2023

@smyrick smyrick changed the title Send logs to OpenTelemetry exporter Send logs to OpenTelemetry exporter/ingest Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant