Skip to content

Nginx: Start new span with kind client before proxying request #278

@tiithansen

Description

@tiithansen

What is the expected behavior?
To my understanding remote call spans should have span.kind: client. Currently this module only creates one span with kind server.

What is the actual behavior?
Create additional span with span.kind: client before proxying request.

Additional context
This can cause issues for tools which try to render a service map Grafana Tempo metrics generator for example. Technically there are other means to detect remote calls but client server spans are meant to serve that purpose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions