Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emit two spans (server and client) #41

Closed
dkrizic opened this issue Mar 2, 2024 · 2 comments
Closed

Emit two spans (server and client) #41

dkrizic opened this issue Mar 2, 2024 · 2 comments

Comments

@dkrizic
Copy link

dkrizic commented Mar 2, 2024

Is your feature request related to a problem? Please describe

This module should emit two spans:

  • A server span (the part that receives the external request)
  • A client span which is nested in the server span

This is according to the specification of Open Telemetry. I have this scenaria

  • Frontend (emits client span)
  • Nginx with Otel module as proxy (emits server span, should emit both as described)
  • Backend (emits server span)

The problem now is, that components like Tempo Metrics Generator does not connect the Nginx with the actual backend, because it expects a client->server connection.

Describe the solution you'd like

Emit two spans as describe before

Describe alternatives you've considered

No other alternatives.

@p-pautov
Copy link
Contributor

p-pautov commented Mar 6, 2024

Duplicate of #17. The request makes sense in general, though telemetry processing tools could also handle such situation better...

@p-pautov p-pautov closed this as not planned Won't fix, can't repro, duplicate, stale Mar 6, 2024
@dkrizic
Copy link
Author

dkrizic commented Mar 6, 2024

All observability solutions I use have that problem:

  • Grafana/Tempo
  • Azure Application Insights
  • DataDog

Simply because Nginx does not implement the OpenTelemetry spec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants