Skip to content

Jaeger query doesn't propagate auth token on dependency endpoint #2369

@yoave23

Description

@yoave23

Describe the bug
Jaeger query doesn't propagate auth token on the /dependencies endpoint. Works fine others.
To Reproduce
Steps to reproduce the behavior:

  1. Start jaeger-query with QUERY_BEARER_TOKEN_PROPAGATION=true
  2. make a GET request to /dependencies?endTs=?????????&lookback=??????? with an authorization token
  3. inspect jaeger-query request headers

Expected behavior
The dependency endpoint should propagate the auth token the same way it does on other endpoints (/operations, /traces, etc.)

Version (please complete the following information):

  • OS: [macOS]
  • Jaeger version: [1.8]
  • Deployment: [Docker]

Additional context
We're using ES as storage although it seems that it affects all storage types
looks like the issue (for ES storage) is located here: plugin/storage/es/dependencystore/storage.go:84 where it uses the DependencyStore's context (Background context) instead of the original one

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions