Skip to content

Add property to control export of OTLP logs #42781

Closed as not planned
Closed as not planned
@andrzej-man

Description

@andrzej-man

In Spring Boot 3.4.0-M3, OtlpLoggingConfigurations.otlpHttpLogRecordExporter is a created if OtlpLoggingConnectionDetails is created, the latter is a conditionally created if the property management.otlp.logging.endpoint is defined. It looks like the only option to disable this to not define the endpoint key.

However, it makes it a bit difficult if we have already defined the endpoint and want to disable it.

Is it possible to define an enabled toggle in a similar manner that we have for e.g. management.otlp.metrics.export? In general, it would be nice to be able to disable signal exporters in a consistent way -- thus something similar to OnEnabledTracingCondition and OnMetricsExportEnabledCondition?

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: supersededAn issue that has been superseded by another

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions