opentelemetry support for CDS nodejs runtime
OTHER License
OpenTelemetry
support forCDS nodejs runtime
install this package firstly
npm i -S opentelemetry-cds
start cds runtime with
opentelemetry-cds
module
{
"scripts": {
"start": "otlp-cds-serve"
}
}
process
execute
createOdataService
cds.spawn
Database
.run
/prepare
/all
/get
)Client
.exec
/prepare
/commit
/rollback
otlp-cds-serve
commandopentelemetry-cds is using
opentelemetry-http
protocol as exporter, just ref @opentelemetry/exporter-trace-otlp-http document to configure it by environment
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318
view the trace in a local jaeger server
npx otlp-cds-serve
./jaeger-all-in-one --collector.otlp.enabled
# windows
# jaeger-all-in-one.exe --collector.otlp.enabled
batch operations
cross service call
async message broker