Skip to content

Commit 4e2703c

Browse files
authored
fix(instrumentation): change SemconvStability export from const enum to enum (#5692)
1 parent 072d8a8 commit 4e2703c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

experimental/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ For notes on migrating to 2.x / 0.200.x see [the upgrade guide](doc/upgrade-to-2
1212

1313
### :bug: Bug Fixes
1414

15+
* fix(instrumentation): Change `SemconvStability` export from `const enum` to `enum` to allow single-file transpilation tooling to work with code that uses `SemconvStability`. [#5691](https://github.com/open-telemetry/opentelemetry-js/issues/5691) @trentm
16+
1517
### :books: Documentation
1618

1719
### :house: Internal

experimental/packages/opentelemetry-instrumentation/src/semconvStability.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
export const enum SemconvStability {
17+
export enum SemconvStability {
1818
/** Emit only stable semantic conventions. */
1919
STABLE = 0x1,
2020
/** Emit only old semantic conventions. */

0 commit comments

Comments
 (0)