dkg-engine
dkg-engine copied to clipboard
!!! EXPERIMENTAL !!! OpenTelemetry Support
Description
Add OpenTelemetry using Node.js OpenTelemtry SDK to collect and export everything possible.
- [x] Add auto-instrumentation (includes express.js, mysql, fs, pino logging and more)
- [ ] Make it more configurable, maybe using the
.origintrail_nodercfile - [ ] 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
- [x] New feature (non-breaking change which adds functionality)
- [x] 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