Skip to content

support routing by custom attribute for spans #39103

Open
@alburthoffman

Description

@alburthoffman

Component(s)

exporter/loadbalancing

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

At present it only supports routing keys like service, traceID for spans.
we meet an issue that down stream service has unbalanced traffic due to distribute by service.
some services have much higher traffic and some are idle.

if distributing by traceid, each downstream pod would hold all labels which requires lots of memory.

Describe the solution you'd like

the idea is to allow a custom attribute, so we can do something like service + operation.

Describe alternatives you've considered

no alternatives for now. we suffer from this.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions