Packages

@opentelemetry/api-metrics

0.33.0 · 16 Sep 2022Apache-2.01.1M / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: Please use @opentelemetry/api >= 1.3.0What to use instead
Your version

0.19.0

22 Apr 2021Where it was published

0.33.0 is the newest release of 0.19.x.

npm marks 0.19.0 as deprecated: Please use @opentelemetry/api >= 1.3.0

In short

7 breaking5 new10 fixed2 changed2 internal

  • Breaking

    opentelemetry-core, opentelemetry-tracing: feat: handle OTEL_TRACES_SAMPLER env var (@jtmalinowski)

  • Breaking

    opentelemetry-core, opentelemetry-tracing: chore(env): update default value for span's attributes/links/events count #1675 (@vmarchaud)

  • Breaking

    opentelemetry-instrumentation-fetch, opentelemetry-instrumentation-grpc, opentelemetry-instrumentation-http, opentelemetry-instrumentation-xml-http-request, opentelemetry-semantic-conventions, opentelemetry-tracing, opentelemetry-web: feat: add semconv generator for semantic-conventions-package (@weyert)

  • Breaking

    opentelemetry-core, opentelemetry-grpc-utils, opentelemetry-instrumentation-fetch, opentelemetry-instrumentation-grpc, opentelemetry-instrumentation-http, opentelemetry-instrumentation-xml-http-request, opentelemetry-instrumentation, opentelemetry-node, opentelemetry-plugin-grpc-js, opentelemetry-plugin-grpc, opentelemetry-plugin-http, opentelemetry-plugin-https, opentelemetry-sdk-node, opentelemetry-web: remove plugins (@obecny)

  • Breaking

    opentelemetry-api-metrics, opentelemetry-context-async-hooks, opentelemetry-context-zone-peer-dep, opentelemetry-core, opentelemetry-exporter-collector-grpc, opentelemetry-exporter-collector-proto, opentelemetry-exporter-collector, opentelemetry-exporter-jaeger, opentelemetry-exporter-prometheus, opentelemetry-exporter-zipkin, opentelemetry-grpc-utils, opentelemetry-instrumentation-fetch, opentelemetry-instrumentation-grpc, opentelemetry-instrumentation-http, opentelemetry-instrumentation-xml-http-request, opentelemetry-instrumentation, opentelemetry-metrics, opentelemetry-node, opentelemetry-plugin-grpc-js, opentelemetry-plugin-grpc, opentelemetry-plugin-http, opentelemetry-plugin-https, opentelemetry-propagator-b3, opentelemetry-propagator-jaeger, opentelemetry-resource-detector-aws, opentelemetry-resource-detector-gcp, opentelemetry-resources, opentelemetry-sdk-node, opentelemetry-shim-opentracing, opentelemetry-tracing, opentelemetry-web: chore: peer depend on API (@dyladan)

  • Breaking

    opentelemetry-api-metrics, opentelemetry-context-async-hooks, opentelemetry-context-zone-peer-dep, opentelemetry-core, opentelemetry-exporter-collector-grpc, opentelemetry-exporter-collector-proto, opentelemetry-exporter-collector, opentelemetry-exporter-jaeger, opentelemetry-exporter-prometheus, opentelemetry-exporter-zipkin, opentelemetry-grpc-utils, opentelemetry-instrumentation-fetch, opentelemetry-instrumentation-grpc, opentelemetry-instrumentation-http, opentelemetry-instrumentation-xml-http-request, opentelemetry-instrumentation, opentelemetry-metrics, opentelemetry-node, opentelemetry-plugin-grpc-js, opentelemetry-plugin-grpc, opentelemetry-plugin-http, opentelemetry-plugin-https, opentelemetry-propagator-b3, opentelemetry-propagator-jaeger, opentelemetry-resource-detector-aws, opentelemetry-resource-detector-gcp, opentelemetry-resources, opentelemetry-sdk-node, opentelemetry-shim-opentracing, opentelemetry-tracing, opentelemetry-web: chore: update API dependency to 1.0.0-rc.0 (@dyladan)

  • Breaking

    opentelemetry-core, opentelemetry-propagator-b3: refactor: simplify b3 options (@mwear)

Release note

:boom: Breaking Change

  • Breaking

    opentelemetry-core, opentelemetry-tracing: feat: handle OTEL_TRACES_SAMPLER env var (@jtmalinowski)

  • Breaking

    opentelemetry-core, opentelemetry-tracing: chore(env): update default value for span's attributes/links/events count #1675 (@vmarchaud)

  • Breaking

    opentelemetry-instrumentation-fetch, opentelemetry-instrumentation-grpc, opentelemetry-instrumentation-http, opentelemetry-instrumentation-xml-http-request, opentelemetry-semantic-conventions, opentelemetry-tracing, opentelemetry-web: feat: add semconv generator for semantic-conventions-package (@weyert)

  • Breaking

    opentelemetry-core, opentelemetry-grpc-utils, opentelemetry-instrumentation-fetch, opentelemetry-instrumentation-grpc, opentelemetry-instrumentation-http, opentelemetry-instrumentation-xml-http-request, opentelemetry-instrumentation, opentelemetry-node, opentelemetry-plugin-grpc-js, opentelemetry-plugin-grpc, opentelemetry-plugin-http, opentelemetry-plugin-https, opentelemetry-sdk-node, opentelemetry-web: remove plugins (@obecny)

  • Breaking

    opentelemetry-api-metrics, opentelemetry-context-async-hooks, opentelemetry-context-zone-peer-dep, opentelemetry-core, opentelemetry-exporter-collector-grpc, opentelemetry-exporter-collector-proto, opentelemetry-exporter-collector, opentelemetry-exporter-jaeger, opentelemetry-exporter-prometheus, opentelemetry-exporter-zipkin, opentelemetry-grpc-utils, opentelemetry-instrumentation-fetch, opentelemetry-instrumentation-grpc, opentelemetry-instrumentation-http, opentelemetry-instrumentation-xml-http-request, opentelemetry-instrumentation, opentelemetry-metrics, opentelemetry-node, opentelemetry-plugin-grpc-js, opentelemetry-plugin-grpc, opentelemetry-plugin-http, opentelemetry-plugin-https, opentelemetry-propagator-b3, opentelemetry-propagator-jaeger, opentelemetry-resource-detector-aws, opentelemetry-resource-detector-gcp, opentelemetry-resources, opentelemetry-sdk-node, opentelemetry-shim-opentracing, opentelemetry-tracing, opentelemetry-web: chore: peer depend on API (@dyladan)

  • Breaking

    opentelemetry-api-metrics, opentelemetry-context-async-hooks, opentelemetry-context-zone-peer-dep, opentelemetry-core, opentelemetry-exporter-collector-grpc, opentelemetry-exporter-collector-proto, opentelemetry-exporter-collector, opentelemetry-exporter-jaeger, opentelemetry-exporter-prometheus, opentelemetry-exporter-zipkin, opentelemetry-grpc-utils, opentelemetry-instrumentation-fetch, opentelemetry-instrumentation-grpc, opentelemetry-instrumentation-http, opentelemetry-instrumentation-xml-http-request, opentelemetry-instrumentation, opentelemetry-metrics, opentelemetry-node, opentelemetry-plugin-grpc-js, opentelemetry-plugin-grpc, opentelemetry-plugin-http, opentelemetry-plugin-https, opentelemetry-propagator-b3, opentelemetry-propagator-jaeger, opentelemetry-resource-detector-aws, opentelemetry-resource-detector-gcp, opentelemetry-resources, opentelemetry-sdk-node, opentelemetry-shim-opentracing, opentelemetry-tracing, opentelemetry-web: chore: update API dependency to 1.0.0-rc.0 (@dyladan)

  • Breaking

    opentelemetry-core, opentelemetry-propagator-b3: refactor: simplify b3 options (@mwear)

:rocket: (Enhancement)

  • opentelemetry-instrumentation: fix: add isEnabled to InstrumentationBase (@seemk)

  • opentelemetry-semantic-conventions: feat: upgrade semantic conventions to v1.2.0 of spec (@weyert)

  • opentelemetry-core, opentelemetry-exporter-zipkin: feat(zipkin): allow to configure url via environment #1675 (@vmarchaud)

  • opentelemetry-exporter-zipkin: chore: adding interceptor for getting headers before each request (@obecny)

  • opentelemetry-exporter-collector-grpc: Migrate exporter-collector-grpc to grpc-js (@obecny)

  • opentelemetry-instrumentation-http: chore: avoid unneeded context.with in http instrumentation (@Flarna)

  • opentelemetry-instrumentation-fetch, opentelemetry-instrumentation-xml-http-request: chore: adding info to debug whenever headers are being skipped due to cors policy (@obecny)

:bug: (Bug Fix)

  • opentelemetry-exporter-prometheus: fix: ensure the label names are sanitised (@weyert)

  • opentelemetry-instrumentation: fix(instrumentation): support multiple module definitions with different versions (@seemk)

  • opentelemetry-instrumentation-http, opentelemetry-tracing: fix: don't use spanId from invalid parent (@Flarna)

  • opentelemetry-context-async-hooks: fix: correct removeAllListeners in case no event is passed (@Flarna)

  • opentelemetry-resource-detector-aws: fix: await http response in AWS EKS detector (@vreynolds)

  • opentelemetry-core, opentelemetry-propagator-b3, opentelemetry-propagator-jaeger: chore: do not inject span context when instrumentation is suppressed (@dyladan)

  • opentelemetry-core: fix: do not inject invalid span context (@dyladan)

  • opentelemetry-tracing: fix: exception.type should always be a string (@YanivD)

  • opentelemetry-propagator-jaeger: fix(propagator-jaeger): zero pad extracted trace id to 32 characters (@sid-maddy)

:house: (Internal)

  • opentelemetry-exporter-collector-grpc, opentelemetry-metrics, opentelemetry-tracing: chore: no-floating-promises (@naseemkullah)

  • opentelemetry-context-zone, opentelemetry-core, opentelemetry-exporter-collector-grpc, opentelemetry-exporter-collector-proto, opentelemetry-exporter-collector, opentelemetry-exporter-jaeger, opentelemetry-exporter-prometheus, opentelemetry-exporter-zipkin, opentelemetry-instrumentation-fetch, opentelemetry-instrumentation-grpc, opentelemetry-instrumentation-http, opentelemetry-instrumentation-xml-http-request, opentelemetry-instrumentation, opentelemetry-metrics, opentelemetry-node, opentelemetry-propagator-jaeger, opentelemetry-resource-detector-aws, opentelemetry-resource-detector-gcp, opentelemetry-resources, opentelemetry-sdk-node, opentelemetry-shim-opentracing, opentelemetry-tracing, opentelemetry-web: chore: pin own deps (@dyladan)

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.