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

New propagation configuration #5388

Open
BrynCooke opened this issue Jun 10, 2024 · 0 comments
Open

New propagation configuration #5388

BrynCooke opened this issue Jun 10, 2024 · 0 comments

Comments

@BrynCooke
Copy link
Contributor

BrynCooke commented Jun 10, 2024

Currently we have the headers functionality to allow propagation to subrequests. However we need something more general so that users do not have to reach for plugins or rhai.

Suggest using the selector functionality and align on server and client terminology to align with Otel.
This can reuse the selector logic that has been developed for telemetry to get data from somewhere, but also introduce an injector concept for putting data somewhere.

propagation:
  server:
    request:
      from:
        header: a         # Selector
      to:
        context:           # Injector
          key: b
          type: string

    response:
      from: 
        context: b
      to:
        response_header: a
  client:
    request:
      from:
        context: b
      to:
        request_header: a

    response:
      from:
        response_header: b
      to:
        context: a
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

1 participant