open-telemetry / opentelemetry-js

OpenTelemetry JavaScript Client
https://opentelemetry.io
Apache License 2.0
2.75k stars 808 forks source link

NPM-JS Version not accurate? #5014

Closed stkvs closed 1 month ago

stkvs commented 1 month ago

When referring to the version of this library, NPM-js states that its most recent is 0.53.0 however this github repository contains a version that looks much further ahead. I did see the transition from the experimental/0.53.0 to semconv/v1.27.0 which I presume is for the massive jump between them however I am just wondering when this version will be updated for NPM-js

image

image

pichlermarc commented 1 month ago

Both 1.26.0 and 0.53.0 are current versions, actually.

1.26.0 is the current stable version. 0.53.0 is the current experimental version.

They got published from the same commit (https://github.com/open-telemetry/opentelemetry-js/commit/720bc8c70d47029cb6b41a34ffdc3d25cbaa2f80).

A package goes form the experimental versioning to the stable versioning when it's public interface becomes stable. So when @opentelemetry/exporter-metrics-otlp-proto becomes stable, it will be in-line with what the stable version at the time is.