Skip to content

Feat: Add Deep Dependencies endpoint#7687

Closed
AritraDey-Dev wants to merge 1 commit intojaegertracing:mainfrom
AritraDey-Dev:deep-dependencies-support
Closed

Feat: Add Deep Dependencies endpoint#7687
AritraDey-Dev wants to merge 1 commit intojaegertracing:mainfrom
AritraDey-Dev:deep-dependencies-support

Conversation

@AritraDey-Dev
Copy link
Copy Markdown

Which problem is this PR solving?

Description of the changes

  • Adds the missing backend endpoint to support the Deep Dependencies graph in the UI.

How was this change tested?

  • Ran the server: go run ./cmd/jaeger
  • Ran Jaeger UI: npm start
  • Opened http://localhost:5173/deep-dependencies?service=test and confirmed the graph renders.
image

Checklist

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds backend support for the Deep Dependencies graph feature in the Jaeger UI by exposing a new HTTP endpoint that the frontend can consume.

  • Adds /analytics/v1/dependencies endpoint that routes to the existing deepDependencies handler
  • Applies proper middleware (OpenTelemetry route tagging and span naming) to the new endpoint
  • Includes an integration test to verify the endpoint is accessible and returns the expected response structure

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
cmd/query/app/http_handler.go Registers new /analytics/v1/dependencies route with proper middleware, reusing the existing deepDependencies handler
cmd/all-in-one/all_in_one_test.go Adds integration test checkDeepDependencies to verify the new endpoint is accessible and returns valid JSON structure

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@yurishkuro
Copy link
Copy Markdown
Member

please rebase, the query service logic moved into v2 extension

@AritraDey-Dev AritraDey-Dev force-pushed the deep-dependencies-support branch from a5a3430 to 90fd9d4 Compare January 15, 2026 21:04
@AritraDey-Dev
Copy link
Copy Markdown
Author

Hey, this PR has been pending review. Not tagging anyone, but PTAL,

@@ -123,6 +123,13 @@ func (aH *APIHandler) RegisterRoutes(router *mux.Router) {
aH.handleFunc(router, aH.transformOTLP, "/transform").Methods(http.MethodPost)
aH.handleFunc(router, aH.dependencies, "/dependencies").Methods(http.MethodGet)
aH.handleFunc(router, aH.deepDependencies, "/deep-dependencies").Methods(http.MethodGet)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we already have this, why add another one?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The UI's fetchDeepDependencyGraph func calls /analytics/v1/dependencies (see jaeger.ts L100-102), not /api/deep-dependencies. Both routes use the same handler, but/analytics/v1/dependenciesis required for the Deep dependencies UI to work.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's not the reason to duplicate endpoints in the service, with implementation that doesn't do anything. We can make UI path configurable.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh thanks for pointing out.will update it to use /api/deep-dependencies .

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should i create another pr in jaeger-ui repo to do that?

Copilot AI review requested due to automatic review settings February 3, 2026 14:13
@AritraDey-Dev AritraDey-Dev force-pushed the deep-dependencies-support branch from 90fd9d4 to 6ea6c16 Compare February 3, 2026 14:13
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 6, 2026

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. You may re-open it if you need more time.

@github-actions github-actions Bot added the stale The issue/PR has become stale and may be auto-closed label Apr 6, 2026
@github-actions
Copy link
Copy Markdown

This pull request has been automatically closed due to inactivity. You may re-open it if you need more time. We really appreciate your contribution and we are sorry that this has not been completed.

@github-actions github-actions Bot closed this Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/storage enhancement stale The issue/PR has become stale and may be auto-closed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create dummy /deep-dependencies endpoint

3 participants