Skip to content

Conversation

@ludovicm67
Copy link
Contributor

This configures OpenTelemetry instrumentation to get traces and events for:

  • basic NextJS calls
  • all SPARQL queries
  • search

This could be tried using:

OTEL_EXPORTER_OTLP_ENDPOINT=https://<your-otel-collector-endpoint>/ yarn run dev

  • I added a CHANGELOG entry
  • I made a self-review of my own code

@ludovicm67 ludovicm67 requested a review from tpluscode January 27, 2026 14:14
@ludovicm67 ludovicm67 self-assigned this Jan 27, 2026
@ludovicm67 ludovicm67 added the enhancement New feature or request label Jan 27, 2026
@vercel
Copy link
Contributor

vercel bot commented Jan 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
visualization-tool Ready Ready Preview, Comment Jan 28, 2026 7:04pm

Request Review

Comment on lines +45 to +47
experimental: {
instrumentationHook: true,
},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is experimental in NextJS 14, see: https://nextjs.org/docs/14/app/building-your-application/optimizing/open-telemetry

This is why this needs to be explicitely enabled.

@ludovicm67 ludovicm67 merged commit 9996860 into main Jan 29, 2026
10 of 13 checks passed
@ludovicm67 ludovicm67 deleted the otel-base branch January 29, 2026 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants