Skip to content

Conversation

@aleksaelezovic
Copy link
Contributor

@aleksaelezovic aleksaelezovic commented Mar 10, 2025

Description

Add OpenTelemetry using Node.js OpenTelemtry SDK to collect and export everything possible.

  • Add auto-instrumentation (includes express.js, mysql, fs, pino logging and more)
  • Make it more configurable, maybe using the .origintrail_noderc file
  • Use Context propagation for every command in command-executor - tracer.startActiveSpan
  • Implement custom command-executor telemetry
  • Implement custom triplestore-module telemetry
  • Register @libp2p/opentelemetry-metrics, after lib-p2p version upgrade

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

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.

2 participants