Skip to content

Add api_v3.GetDependencies#180

Open
sujalshah-bit wants to merge 1 commit intojaegertracing:mainfrom
sujalshah-bit:add-dependencies-api
Open

Add api_v3.GetDependencies#180
sujalshah-bit wants to merge 1 commit intojaegertracing:mainfrom
sujalshah-bit:add-dependencies-api

Conversation

@sujalshah-bit
Copy link
Copy Markdown

@sujalshah-bit sujalshah-bit commented Jan 17, 2026

Which problem is this PR solving?

Partly Fixes 7595.

Description of the changes

  • Add GetDependencies RPC endpoint to Query Service API v3
  • Add GetDependenciesRequest message with end_time and lookback parameters
  • Add GetDependenciesResponse message with repeated DependencyLink entries
  • Add DependencyLink message to represent parent-child service relationships with call counts
  • Add HTTP GET mapping to /api/v3/dependencies endpoint
  • Update OpenAPI/Swagger documentation

How was this change tested?

  • Protocol buffer definitions compiled successfully
  • OpenAPI/Swagger files generated without errors
  • Verified HTTP endpoint mapping follows existing patterns in the API

jaeger related PR

Checklist

Add the GetDependencies RPC endpoint to enable querying service
dependencies within a specified time window. This includes:

- GetDependenciesRequest with end_time and lookback parameters
- GetDependenciesResponse with DependencyLink message
- HTTP GET mapping to /api/v3/dependencies endpoint

Signed-off-by: Sujal Shah <sujalshah28092004@gmail.com>
@sujalshah-bit sujalshah-bit marked this pull request as ready for review January 26, 2026 08:46
@sujalshah-bit
Copy link
Copy Markdown
Author

@yurishkuro Could you kindly review this one :)

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (12c61a9) to head (b2fbf17).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #180   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines          422       422           
=========================================
  Hits           422       422           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@yurishkuro yurishkuro changed the title Add api_v3.GetDependenciesResponse and api_v3.GetDependenciesRequest Add api_v3.GetDependencies Feb 3, 2026
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

Successfully merging this pull request may close these issues.

[Feature]: Add support to query for dependencies in api/v3 API

1 participant