npm install package-example
import { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node';
import { HttpInstrumentation } from 'opentelemetry-extended-instrumentation-http'
const instrumentations = getNodeAutoInstrumentations(HttpInstrumentation.withPayloadDetails())
- http.request.body
- http.request.headers
- http.response.body
- http.response.headers
- mask request body property