0.1.1 • Published 2 years ago

opentelemetry-extended-instrumentation-http v0.1.1

Weekly downloads
-
License
-
Repository
-
Last release
2 years 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

2 years ago

0.1.0

2 years ago