Skip to content

Releases: open-telemetry/opentelemetry-js

v1.9.0

11 Jan 22:10
08f597f
Compare
Choose a tag to compare

🚀 (Enhancement)

  • feat(instrumentation-grpc): set net.peer.name and net.peer.port on client spans #3430

🐛 (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-trace): make spans resilient to clock drift #3434 @dyladan
  • fix(selenium-tests): updated webpack version for selenium test issue #3456 @SaumyaBhushan
  • fix(sdk-metrics): fix duplicated registration of metrics for collectors #3488 @legendecas
  • fix(core): fix precision loss in numberToHrtime #3480 @legendecas

🏠 (Internal)

Experimental v0.35.0

11 Jan 22:09
08f597f
Compare
Choose a tag to compare

🚀 (Enhancement)

  • feat(instrumentation-http): monitor error events with events.errorMonitor #3402 @legendecas
  • feat(instrumentation-grpc): added grpc metadata client side attributes in instrumentation #3386
  • feat(instrumentation): add new _setMeterInstruments protected method that update the meter instruments every meter provider update.
  • feat(api-logs): add the SeverityNumber enumeration. #3443 @fuaiyi
  • feat(sdk-node): configure no-op sdk with OTEL_SDK_DISABLED environment variable #3485 @RazGvili

🐛 (Bug Fix)

  • fix(instrumentation-xhr): http.url attribute should be absolute #3200 @t2t2
  • fix(instrumentation-grpc): always set grpc semcov status code attribute with numeric value #3076 @blumamir
  • fix(instrumentation): only call onRequire for full matches on core modules with sub-paths #3451 @mhassan1
  • fix(instrumentation): add back support for absolute paths via require-in-the-middle #3457 @mhassan1
  • fix(prometheus-sanitization): replace repeated _ with a single _ 3470 @samimusallam
  • fix(prometheus-serializer): correct string used for NaN #3477 @JacksonWeber
  • fix(instrumentation-http): close server span when response finishes #3407 @legendecas
  • fix(instrumentation-fetch): make spans resilient to clock drift by using Date.now #3434 @dyladan
  • fix(instrumentation-xml-http-request): make spans resilient to clock drift by using Date.now #3434 @dyladan
  • fix(sdk-node): fix exporter to be read only OTEL_TRACES_EXPORTER is set to a valid exporter [3492] @svetlanabrennan

🏠 (Internal)

  • chore(otlp-proto-exporter-base): upgrade protobufjs to 7.1.2 and relax versioning #3433 @seemk

API v1.4.0

11 Jan 22:11
08f597f
Compare
Choose a tag to compare

🚀 (Enhancement)

  • feat(api): add getActiveBaggage API #3385

🐛 (Bug Fix)

  • fix(api): deprecate MetricAttributes and MetricAttributeValue #3406 @blumamir
  • fix(api): use active context as default in NoopTracer #3476 @Flarna
  • fix(api): declare this parameter type in observable callbacks #3497 @legendecas

🏠 (Internal)

  • test(api): disable module concatenation in tree-shaking test #3409 @legendecas

v1.8.0

09 Nov 19:48
7972edf
Compare
Choose a tag to compare
  • @opentelemetry/sdk-metrics has been promoted to stable
  • @opentelemetry/api-metrics has been merged into @opentelemetry/api and deprecated

💥 Breaking Change

🚀 (Enhancement)

🐛 (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

📚 (Refine Doc)

🏠 (Internal)

Experimental v0.34.0

09 Nov 19:49
7972edf
Compare
Choose a tag to compare
  • @opentelemetry/sdk-metrics moved to packages/sdk-metrics
  • @opentelemetry/api-metrics deprecated and merged into api

🚀 (Enhancement)

  • feat(metrics-sdk): Add tracing suppresing for Metrics Export #3332 @hectorhdzg
  • feat(instrumentation): implement require-in-the-middle singleton #3161 @mhassan1
  • feat(sdk-node): configure trace exporter with environment variables #3143 @svetlanabrennan
  • feat: enable tree shaking #3329 @pkanal
  • feat(prometheus): serialize resource as target_info gauge #3300 @pichlermarc
  • feat(detectors): add browser detector module #3292 @Abinet18
  • deps: remove unused proto-loader dependencies and update grpc-js and proto-loader versions #3337 @seemk
  • feat(metrics-exporters): configure temporality via environment variable #3305 @pichlermarc

🐛 (Bug Fix)

  • fix(node-sdk): move @opentelemetry/semantic-conventions to dependencies #3283 @mhassan1
  • fix(exporters): do not append trailing '/' when URL contains path #3274 @pichlermarc
  • fix(instrumentation): debug log on no modules defined for instrumentation #3308 @legendecas

📚 (Refine Doc)

  • docs(metrics-exporters): fix wrong exporter const name in example #3270 @pichlermarc

🏠 (Internal)

  • ci(instrumentation-http): remove got devDependency
    #3347 @dyladan
  • deps(instrumentation-http): move sdk-metrics to dev dependencies #3380 @pichlermarc

API v1.3.0

09 Nov 18:36
27c4f76
Compare
Choose a tag to compare

1.3.0

  • feat(api): merge api-metrics into api #3374 @legendecas
  • Optionally suppress warning about logger being overwritten (#3366)

v1.7.0

16 Sep 12:07
ad88c3d
Compare
Choose a tag to compare

🐛 (Bug Fix)

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

📚 (Refine Doc)

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

🏠 (Internal)

experimental/v0.33.0

16 Sep 12:07
ad88c3d
Compare
Choose a tag to compare

💥 Breaking Change

  • Add resourceDetectors option to NodeSDK #3210

    • NodeSDK.detectResources() function is no longer able to receive config as a parameter.
      Instead, the detectors are passed to the constructor.
  • chore(metrics-sdk): clean up exports #3197 @pichlermarc

    • removes export for:
      • AccumulationRecord
      • Aggregator
      • AggregatorKind
      • Accumulation
      • createInstrumentDescriptor
      • createInstrumentDescriptorWithView
      • isDescriptorCompatibleWith
  • chore(api-metrics): clean up exports #3198 @pichlermarc

    • removes export for:
      • NOOP_COUNTER_METRIC
      • NOOP_HISTOGRAM_METRIC
      • NOOP_METER_PROVIDER
      • NOOP_OBSERVABLE_COUNTER_METRIC
      • NOOP_OBSERVABLE_GAUGE_METRIC
      • NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC
      • NOOP_UP_DOWN_COUNTER_METRIC
      • NoopCounterMetric
      • NoopHistogramMetric
      • NoopMeter
      • NoopMeterProvider
      • NoopMetric
      • NoopObservableCounterMetric
      • NoopObservableGaugeMetric
      • NoopObservableMetric
      • NoopObservableUpDownCounterMetric
      • NoopUpDownCounterMetric
  • feat(sdk-metrics): align MetricReader with specification and other language implementations #3225 @pichlermarc

  • chore(sdk-metrics): remove accidental export of the SDK Meter class #3243 @pichlermarc

🚀 (Enhancement)

  • Add resourceDetectors option to NodeSDK #3210
  • feat: add Logs API @mkuba #3117

📚 (Refine Doc)

🏠 (Internal)

v1.6.0

24 Aug 17:49
a5abee6
Compare
Choose a tag to compare

🚀 (Enhancement)

  • perf(opentelemetry-core): improve hexToBase64 performance #3178
  • 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 Fix)

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

experimental/v0.32.0

24 Aug 17:48
a5abee6
Compare
Choose a tag to compare

💥 Breaking Change

  • Rename @opentelemetry/sdk-metrics-base package to @opentelemetry/sdk-metrics #3162 @hectorhdzg

🚀 (Enhancement)

  • fix(add-views-to-node-sdk): added the ability to define meter views in NodeSDK #3066 @weyert
  • feature(add-console-metrics-exporter): add ConsoleMetricExporter #3120 @weyert
  • feature(prometheus-serialiser): export the unit block when unit is set in metric descriptor #3066 @weyert
  • feat: support latest @opentelemetry/api #3177 @dyladan

🐛 (Bug Fix)

  • fix(instrumentation-http): add http.host attribute before sending the request #3054 @cuichenli