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

@opentelemetry/sdk-metrics

Package Overview
Dependencies
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentelemetry/sdk-metrics - npm Package Versions

134

1.22.0

Diff

Changelog

Source

1.22.0

:rocket: (Enhancement)

  • feat(sdk-metrics): allow single bucket histograms #4456 @pichlermarc
  • feat(instrumentation): Make init() method public #4418
  • feat(context-zone-peer-dep, context-zone): support zone.js 0.13.x, 0.14.x #4469 @pichlermarc
  • chore: Semantic Conventions export individual strings 4185
  • feat(sdk-trace-base): allow adding span links after span creation #4536 @seemk

:bug: (Bug Fix)

  • fix(sdk-metrics): handle zero bucket counts in exponential histogram merge #4459 @mwear
  • fix(sdk-metrics): ignore NaN value recordings in Histograms #4455 @pichlermarc
    • fixes a bug where recording NaN on a histogram would result in the sum of bucket count values not matching the overall count
  • fix(sdk-metrics): allow single bucket histograms #4456 @pichlermarc
    • fixes a bug where Meter.createHistogram() with the advice explicitBucketBoundaries: [] would throw
  • fix(context-zone-peer-dep, context-zone): support zone.js 0.13.x, 0.14.x #4469 @pichlermarc

:books: (Refine Doc)

  • docs: shorten readme sections #4460 @legendecas
pichlermarc
published 1.21.0 •

Changelog

Source

1.21.0

:rocket: (Enhancement)

  • feat(sdk-metrics): add constructor option to add metric readers #4427 @pichlermarc
    • deprecates MeterProvider.addMetricReader() please use the constructor option readers instead.

:bug: (Bug Fix)

  • fix(sdk-trace-base): ensure attribute value length limit is enforced on span creation #4417 @pichlermarc
  • fix(sdk-trace-base): Export processed spans while exporter failed #4287 @Zirak

:house: (Internal)

  • chore(opentelemetry-context-zone-peer-dep): support zone.js ^v0.13.0 #4320
  • refactor(core): drop unnecessary assignment of HOSTNAME #4421 @pichlermarc
  • test(opentelemetry-context-zone-peer-dep): transpile zone.js in tests #4423 @legendecas
pichlermarc
published 1.20.0 •

Changelog

Source

1.20.0

:rocket: (Enhancement)

  • perf(otlp-transformer): skip unnecessary base64 encode of span contexts #4343 @seemk
  • feat(sdk-trace-base): improve log messages when dropping span events #4223 @mkubliniak
pichlermarc
published 1.19.0 •

Changelog

Source

1.19.0

:rocket: (Enhancement)

  • feat: add node 20 support #4336 @dyladan

:house: (Internal)

  • chore: type reference on zone.js #4257 @legendecas
  • chore: no need for 'packages' in lerna.json #4264 @trentm
  • test: add node 20 to test matrix #4336 @dyladan

:bug: (Bug Fix)

  • fix(api-logs): allow for TimeInput type for LogRecord timestamps #4345
  • fix(sdk-trace-web): only access location if it is defined #4063
  • fix(sdk-trace-base): processor onStart called with a span having empty attributes
pichlermarc
published 1.18.1 •

Changelog

Source

1.18.1

:bug: (Bug Fix)

  • fix(sdk-metrics): hand-roll MetricAdvice type as older API versions do not include it #4260
pichlermarc
published 1.18.0 •

Changelog

Source

1.18.0

:rocket: (Enhancement)

  • feat(metrics): prototype experimental advice support #3876 @legendecas

:bug: (Bug Fix)

  • fix(core): remove re-export of version.ts #4225 @david-luna

:house: (Internal)

  • chore: track package-lock.json #4238 @legendecas
    • Switched to npm workspaces to bootstrap dependencies.
pichlermarc
published 1.17.1 •

Changelog

Source

1.17.1

:bug: (Bug Fix)

  • fix(sdk-trace-base): BatchSpanProcessor flushes when maxExportBatchSize is reached #3958 @nordfjord
  • fix(sdk-metrics): allow instrument names to contain '/' #4155
  • fix(sdk-metrics): prevent per-reader storages from keeping unreported accumulations in memory #4163 @pichlermarc
    • fixes a memory leak which occurred when two or more MetricReader instances are registered to a MeterProvider
  • fix(sdk-metrics): do not report empty scopes and metrics #4135 @pichlermarc
    • Instruments that were created, but did not have measurements will not be exported anymore
    • Meters (Scopes) that were created, but did not have any instruments with measurements under them will not be exported anymore.
  • fix(exporter-zipkin): round duration to the nearest int in annotations to be compliant with zipkin protocol #4167 @FelipeEmerim

:books: (Refine Doc)

  • docs(contributing): added guidelines for adding benchmark tests #4169

:house: (Internal)

  • test: added a performance benchmark test for span creation #4105
  • test: added a workflow to run performance benchmark tests automatically #4144
pichlermarc
published 1.17.0 •

Changelog

Source

1.17.0

:bug: (Bug Fix)

  • Revert "feat(api): add attributes argument to recordException API #4071"
    • This feature was an unintentional breaking change introduced with API 1.5.0
    • This PR updates all SDK packages to allow API 1.6.0, where this change has been reverted.
pichlermarc
published 1.16.0 •

Changelog

Source

1.16.0

:rocket: (Enhancement)

  • feat(sdk-metrics): implement MetricProducer specification #4007
  • feat: update PeriodicExportingMetricReader and PrometheusExporter to accept optional metric producers #4077 @aabmass

:bug: (Bug Fix)

  • fix(exporter-zipkin): rounding duration to the nearest int to be compliant with zipkin protocol #4064 @n0cloud
  • fix(sdk-metrics): metric names should be case-insensitive

:books: (Refine Doc)

  • docs(guidelines): add dependencies guidelines #4040
pichlermarc
published 1.15.2 •

Changelog

Source

1.15.2

:bug: (Bug Fix)

  • fix(core): stop rounding to nearest int in hrTimeTo*seconds() functions #4014 @aabmass
  • fix(sdk-metrics): ignore invalid metric values #3988 @legendecas
  • fix(core): add baggage support for values containing an equals sign #3975 @krosenk729
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