Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentelemetry/api

Package Overview
Dependencies
Maintainers
4
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/api - npm Package Versions

23
7

1.9.0

Diff

Changelog

Source

1.9.0

:rocket: (Enhancement)

  • feat(instrumentation-grpc): set net.peer.name and net.peer.port on client spans #3430
  • feat(exporter-trace-otlp-proto): Add protobuf otlp trace exporter support for browser #3208 @pkanal

:bug: (Bug Fix)

  • fix(sdk-metrics): use default Resource to comply with semantic conventions #3411 @pichlermarc
    • Metrics exported by the SDK now contain the following resource attributes by default:
      • service.name
      • telemetry.sdk.name
      • telemetry.sdk.language
      • telemetry.sdk.version
  • fix(sdk-metrics): use Date.now() for instrument recording timestamps #3514 @MisterSquishy
  • fix(sdk-trace): make spans resilient to clock drift #3434 @dyladan
  • fix(selenium-tests): updated webpack version for selenium test issue #3456 @SaumyaBhushan
  • fix(sdk-metrics): collect metrics when periodic exporting metric reader flushes #3517 @legendecas
  • fix(sdk-metrics): fix duplicated registration of metrics for collectors #3488 @legendecas
  • fix(core): fix precision loss in numberToHrtime #3480 @legendecas

:house: (Internal)

  • chore: automatically generate tsconfigs #3432 @legendecas
  • chore: enforce format with prettier #3444 @legendecas
pichlermarc
published 1.8.0 •

Changelog

Source

1.8.0

  • @opentelemetry/sdk-metrics has been promoted to stable
  • @opentelemetry/api-metrics has been merged into @opentelemetry/api and deprecated

:boom: Breaking Change

  • feat(api): merge api-metrics into api #3374 @legendecas

:rocket: (Enhancement)

  • feat(sdk-trace): re-export sdk-trace-base in sdk-trace-node and web #3319 @legendecas
  • feat: enable tree shaking #3329 @pkanal

:bug: (Bug Fix)

  • fix(sdk-trace): enforce consistent span durations #3327 @dyladan
  • fix(resources): fix EnvDetector throwing errors when attribute values contain spaces #3295
  • fix(trace): fix an issue which caused negative span durations in web based spans #3359 @dyladan
  • fix(resources): strict OTEL_RESOURCE_ATTRIBUTES baggage octet decoding #3341 @legendecas

:books: (Refine Doc)

  • doc: Added Metrics documentation #3360 @weyert
  • docs(api): fix counter negative value wording #3396 @legendecas

:house: (Internal)

  • ci: run browser tests without circle #3328 @dyladan
pichlermarc
published 1.7.0 •

Changelog

Source

1.7.0

:bug: (Bug Fix)

  • fix(sdk-trace-base): make span start times resistant to hrtime clock drift #3129

  • fix(sdk-trace-base): validate maxExportBatchSize in BatchSpanProcessorBase #3232

:books: (Refine Doc)

  • docs(metrics): add missing metrics packages to SDK reference documentation #3239 @dyladan

:house: (Internal)

  • deps: update markdownlint-cli to 0.32.2 #3253 @pichlermarc
pichlermarc
published 1.6.0 •

Changelog

Source

1.6.0

:rocket: (Enhancement)

  • perf(opentelemetry-core): improve hexToBase64 performance #3178 @seemk
  • feat(sdk-trace-base): move Sampler declaration into sdk-trace-base #3088 @legendecas
  • fix(grpc-instrumentation): added grpc attributes in instrumentation #3127 @andrewzenkov
  • feat: support latest @opentelemetry/api #3177 @dyladan

:bug: (Bug Fix)

  • fix(context-async-hooks): Ensure listeners added using once can be removed using removeListener #3133

:books: (Refine Doc)

  • chore: update trace-web example and rename it to opentelemetry-web #3145 @pichlermarc
  • chore: update https example #3152 @pichlermarc
pichlermarc
published 1.5.0 •

Changelog

Source

1.5.0

:rocket: (Enhancement)

  • feat(sdk-trace-base): Improve extensibility of BasicTracerProvider #3023 @Rauno56
dyladan
published 1.4.1 •

dyladan
published 1.4.0 •

Changelog

Source

1.4.0

:rocket: (Enhancement)

  • fix(resources): fix browser compatibility for host and os detectors #3004 @legendecas
  • fix(sdk-trace-base): fix crash on environments without global document #3000 @legendecas
  • fix(sdk-trace-base): fix spanLimits attribute length/count to consider env values #3068 @svetlanabrennan

:house: (Internal)

  • test: add node 18 and remove EoL node versions #3048 @dyladan
dyladan
published 1.3.0 •

Changelog

Source

1.3.0

:boom: Breaking Change

  • chore: remove unused InstrumentationConfig#path #2944 @flarna

:rocket: (Enhancement)

  • feat(ConsoleSpanExporter): export span links #2917 @trentm
  • feat: warn when hooked module is already loaded #2926 @nozik
  • feat: implement OSDetector #2927 @rauno56
  • feat: implement HostDetector #2921 @rauno56
  • feat(opentelemetry-core): add InstrumentationScope #2959 @pichlermarc

:bug: (Bug Fix)

  • fix(sdk-web): parse url with relative url string #2972 @legendecas
dyladan
published 1.2.0 •

Changelog

Source

1.2.0

:bug: (Bug Fix)

  • fix: sanitize attributes inputs #2881 @legendecas
  • fix: support earlier API versions #2892 @dyladan
  • fix: support extract one digit '0' in jaeger traceFlag #2905 @shmilyoo
  • fix(resources): extend ResourceAttributes interface to comply with spec #2924 @blumamir

:books: (Refine Doc)

  • docs(sdk): update earliest support node version #2860 @svetlanabrennan

:house: (Internal)

  • chore: require changelog entry to merge PR #2847 @dyladan
  • chore: remove peer API check #2892 @dyladan
  • chore: merge lerna subdirectories into a single monorepo #2892 @dyladan
  • chore: indent the code with eslint #2923 @blumamir
  • opentelemetry-propagator-jaeger
    • #2906 fix: support extract one digit '0' in jaeger traceFlag (@shmilyoo)
dyladan
published 1.1.0 •

Changelog

Source

1.1.0

:rocket: (Enhancement)

  • opentelemetry-resources
    • #2727 feat(opentelemetry-resources): add runtime version information (@cuichenli)
  • exporter-trace-otlp-http, opentelemetry-core
  • instrumentation-http
  • opentelemetry-core, opentelemetry-exporter-jaeger
    • #2754 fix(exporter-jaeger): add env variable for agent port (@blumamir)
  • exporter-trace-otlp-grpc, exporter-trace-otlp-http, exporter-trace-otlp-proto, opentelemetry-context-async-hooks, opentelemetry-context-zone-peer-dep, opentelemetry-core, opentelemetry-exporter-jaeger, opentelemetry-exporter-zipkin, opentelemetry-propagator-b3, opentelemetry-propagator-jaeger, opentelemetry-resources, opentelemetry-sdk-trace-base, opentelemetry-sdk-trace-node, opentelemetry-sdk-trace-web, opentelemetry-shim-opentracing
  • opentelemetry-sdk-trace-web
  • exporter-trace-otlp-http, exporter-trace-otlp-proto
    • #2557 feat(otlp-exporter-http): change otlp-http port to canonical 4318 (@secustor)
  • exporter-trace-otlp-grpc, exporter-trace-otlp-http, exporter-trace-otlp-proto, opentelemetry-core, opentelemetry-exporter-jaeger, opentelemetry-sdk-trace-base
  • opentelemetry-propagator-jaeger
    • #2673 feat(@opentelemetry/propagator-jaeger): support custom baggage prefix (@sschegolev)
  • exporter-trace-otlp-grpc, exporter-trace-otlp-http, exporter-trace-otlp-proto
  • opentelemetry-context-zone-peer-dep, opentelemetry-context-zone, opentelemetry-core, opentelemetry-exporter-zipkin, opentelemetry-propagator-b3, opentelemetry-resources, opentelemetry-sdk-trace-base, opentelemetry-sdk-trace-web, opentelemetry-semantic-conventions

:bug: (Bug Fix)

  • exporter-trace-otlp-grpc, exporter-trace-otlp-http, exporter-trace-otlp-proto
  • opentelemetry-sdk-trace-base
    • #2790 fix: pass same context to Sampler and SpanProcessor in root span case (@Flarna)
    • #2757 fix: add parentContext to onStart (@Flarna)
    • #2678 fix: span attribute count and value limits (#2671) (@Bataran)
    • #2679 fix: span events count limit when set to 0 (@Bataran)
  • opentelemetry-core
    • #2766 fix(baggage): include baggage metadata when propagating baggage entries (@chrskrchr)
  • opentelemetry-exporter-jaeger
    • #2731 fix(exporter-jaeger): transform all links to jaeger reference (@blumamir)
  • opentelemetry-resources
    • #2739 fix(resources): align exported names in different environments (@legendecas)
  • Other
    • #2680 fix: tracer typo in fetchxhr examples (@MSNev)
    • #2650 fix: clientMethodTrace missing original properties (@bgpo)
  • opentelemetry-propagator-jaeger
  • opentelemetry-exporter-zipkin, opentelemetry-sdk-trace-web
    • #2689 fix: remove window and document dependencies in web packages (@legendecas)

:books: (Refine Doc)

:house: (Internal)

  • opentelemetry-sdk-trace-base
    • #2768 test(sdk-trace-base): pin core.hrtime dependencies on timeOrigin (@legendecas)
  • exporter-trace-otlp-http, opentelemetry-context-zone-peer-dep, opentelemetry-context-zone, opentelemetry-core, opentelemetry-exporter-zipkin, opentelemetry-propagator-b3, opentelemetry-resources, opentelemetry-sdk-trace-base, opentelemetry-sdk-trace-web, opentelemetry-semantic-conventions
  • Other
  • opentelemetry-core
  • exporter-trace-otlp-grpc, exporter-trace-otlp-http, exporter-trace-otlp-proto, opentelemetry-exporter-jaeger, opentelemetry-exporter-zipkin, opentelemetry-propagator-b3, opentelemetry-resources, opentelemetry-sdk-trace-base, opentelemetry-sdk-trace-web, opentelemetry-semantic-conventions
  • exporter-trace-otlp-grpc, exporter-trace-otlp-http, exporter-trace-otlp-proto, opentelemetry-context-async-hooks, opentelemetry-context-zone-peer-dep, opentelemetry-context-zone, opentelemetry-core, opentelemetry-exporter-jaeger, opentelemetry-exporter-zipkin, opentelemetry-propagator-b3, opentelemetry-propagator-jaeger, opentelemetry-resources, opentelemetry-sdk-trace-base, opentelemetry-sdk-trace-node, opentelemetry-sdk-trace-web, opentelemetry-semantic-conventions, opentelemetry-shim-opentracing, template
  • opentelemetry-context-async-hooks, opentelemetry-context-zone-peer-dep, opentelemetry-context-zone, opentelemetry-core, opentelemetry-exporter-jaeger, opentelemetry-exporter-zipkin, opentelemetry-propagator-b3, opentelemetry-propagator-jaeger, opentelemetry-resources, opentelemetry-sdk-trace-base, opentelemetry-sdk-trace-node, opentelemetry-sdk-trace-web, opentelemetry-semantic-conventions, opentelemetry-shim-opentracing
  • opentelemetry-exporter-jaeger, opentelemetry-exporter-zipkin, opentelemetry-resources, opentelemetry-semantic-conventions
  • opentelemetry-sdk-trace-web

Committers: 24

23
7
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc