appinsights-logger
Advanced tools
Comparing version 0.3.5 to 0.4.0
@@ -62,3 +62,3 @@ "use strict"; | ||
function addMetadataProps(telemetry) { | ||
telemetry.properties = Object.assign(Object.assign({}, telemetry.properties), { namespace: messageNamespace }); | ||
telemetry.properties = { ...telemetry.properties, namespace: messageNamespace }; | ||
return telemetry; | ||
@@ -123,3 +123,6 @@ } | ||
id: correlationContext.operation.parentId, | ||
properties: Object.assign({ error: err }, customDimensions) | ||
properties: { | ||
error: err, | ||
...customDimensions | ||
} | ||
}); | ||
@@ -126,0 +129,0 @@ throw err; |
{ | ||
"name": "appinsights-logger", | ||
"version": "0.3.5", | ||
"version": "0.4.0", | ||
"description": "thin, yet opinionated wrapper for applcation insights", | ||
@@ -24,3 +24,3 @@ "repository": "gopuff/appinsights-logger", | ||
"dependencies": { | ||
"applicationinsights": "^1.8.10" | ||
"applicationinsights": "^2.2.2" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
17580
188
+ Added@azure/abort-controller@2.1.2(transitive)
+ Added@azure/core-auth@1.7.2(transitive)
+ Added@azure/core-rest-pipeline@1.16.3(transitive)
+ Added@azure/core-tracing@1.2.0(transitive)
+ Added@azure/core-util@1.11.0(transitive)
+ Added@azure/logger@1.1.4(transitive)
+ Added@azure/opentelemetry-instrumentation-azure-sdk@1.0.0-beta.7(transitive)
+ Added@microsoft/applicationinsights-web-snippet@1.0.1(transitive)
+ Added@opentelemetry/api@1.9.0(transitive)
+ Added@opentelemetry/api-logs@0.53.0(transitive)
+ Added@opentelemetry/core@1.30.1(transitive)
+ Added@opentelemetry/instrumentation@0.53.0(transitive)
+ Added@opentelemetry/resources@1.30.1(transitive)
+ Added@opentelemetry/sdk-trace-base@1.30.1(transitive)
+ Added@opentelemetry/semantic-conventions@1.28.0(transitive)
+ Added@types/shimmer@1.2.0(transitive)
+ Addedacorn@8.14.0(transitive)
+ Addedacorn-import-attributes@1.9.5(transitive)
+ Addedagent-base@7.1.3(transitive)
+ Addedapplicationinsights@2.9.6(transitive)
+ Addedcjs-module-lexer@1.4.1(transitive)
+ Addeddebug@4.4.0(transitive)
+ Addeddiagnostic-channel@1.1.1(transitive)
+ Addeddiagnostic-channel-publishers@1.0.8(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhttp-proxy-agent@7.0.2(transitive)
+ Addedhttps-proxy-agent@7.0.6(transitive)
+ Addedimport-in-the-middle@1.12.0(transitive)
+ Addedis-core-module@2.16.1(transitive)
+ Addedmodule-details-from-path@1.0.3(transitive)
+ Addedms@2.1.3(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedrequire-in-the-middle@7.4.0(transitive)
+ Addedresolve@1.22.10(transitive)
+ Addedsemver@7.6.3(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedtslib@2.8.1(transitive)
- Removedapplicationinsights@1.8.10(transitive)
- Removeddiagnostic-channel@0.3.1(transitive)
- Removeddiagnostic-channel-publishers@0.4.4(transitive)
Updatedapplicationinsights@^2.2.2