Skip to content

How to support system property substitution in file config #5926

@jack-berg

Description

@jack-berg

Do you think it'd make sense to add sth like ${sys:otel.traces.exporter} for system properties as well?

Originally posted by @mateuszrzeszutek in #5914 (review)

Environment variable substitution in file configuration is modeled after the collector, which doesn't have system properties.

System properties are very popular / common in java. How do we support substitution of system properties while keeping with the spirit of collector environment variable substitution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions