Skip to content

Commit 3aa2f06

Browse files
authored
[monitor-opentelemetry] fix version string (#38769)
and add const file path to help future version bump
1 parent 8ba0a1c commit 3aa2f06

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

sdk/monitor/monitor-opentelemetry/package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@
4545
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
4646
},
4747
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
48+
"//metadata": {
49+
"constantPaths": [
50+
{
51+
"path": "src/types.ts",
52+
"prefix": "AZURE_MONITOR_OPENTELEMETRY_VERSION"
53+
}
54+
]
55+
},
4856
"//sampleConfiguration": {
4957
"productName": "Azure Monitor OpenTelemetry",
5058
"productSlugs": [

sdk/monitor/monitor-opentelemetry/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export interface BrowserSdkLoaderOptions {
160160
connectionString?: string;
161161
}
162162

163-
export const AZURE_MONITOR_OPENTELEMETRY_VERSION = "1.18.1";
163+
export const AZURE_MONITOR_OPENTELEMETRY_VERSION = "1.18.2";
164164
export const AZURE_MONITOR_STATSBEAT_FEATURES = "AZURE_MONITOR_STATSBEAT_FEATURES";
165165
export const AZURE_MONITOR_PREFIX = "AZURE_MONITOR_PREFIX";
166166
export const AZURE_MONITOR_AUTO_ATTACH = "AZURE_MONITOR_AUTO_ATTACH";

0 commit comments

Comments
 (0)