Skip to content

Support arbitrary resource attributes #32

@bmerigan

Description

@bmerigan

Is your feature request related to a problem? Please describe

Currently the traces that are logged via this module don't have environment metadata which means I cannot filter traces by environment in Elastic APM. e.g. development/test/staging/production

This feature and why it's useful is explained perfectly in this opentelemetry doco

Describe the solution you'd like

Just like we can set otel_service_name as per nginx-otel doco
I'd like to be able to set the environment with a directive called otel_service_environment

Bonus if you include service.node.name and service.version too.

Describe alternatives you've considered

Adding the value using a resource processor within the otel-collector, which works, but isn't right IMO.

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