0.1.1 • Published 1 year ago

opentelemetry-extended-instrumentation-http v0.1.1

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Opentelemetry extended instrumentation HTTP

Usage

npm install package-example
import { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node';
import { HttpInstrumentation } from 'opentelemetry-extended-instrumentation-http'

const instrumentations = getNodeAutoInstrumentations(HttpInstrumentation.withPayloadDetails())

Add new spans for all outcoming http request:

  • http.request.body
  • http.request.headers
  • http.response.body
  • http.response.headers
0.1.1

1 year ago

0.1.0

1 year ago