Skip to content

Commit 1a69751

Browse files
authored
Update the TracingHook version and parameters for node SDK. (#92)
## Summary <!-- Ideally, there is an attached GitHub issue that will describe the "why". If relevant, use this section to call out any additional information you'd like to _highlight_ to the reviewer. --> Updates to new version with updated semantic conventions. Includes values by default. ## How did you test this change? <!-- Frontend - Leave a screencast or a screenshot to visually describe the changes. --> ## Are there any deployment considerations? <!-- Backend - Do we need to consider migrations or backfilling data? --> ## Does this work require review from our design team? <!-- Request review from julian-highlight / our design team -->
1 parent 834cf09 commit 1a69751

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

.changeset/bright-clouds-repeat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@launchdarkly/observability-node': patch
3+
---
4+
5+
Update TracingHook version and parameters.

sdk/@launchdarkly/observability-node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
},
2929
"dependencies": {
3030
"@graphql-codegen/cli": "^5.0.7",
31-
"@launchdarkly/node-server-sdk-otel": "^1.2.2",
31+
"@launchdarkly/node-server-sdk-otel": "^1.3.0",
3232
"@prisma/instrumentation": ">=5.0.0",
3333
"require-in-the-middle": "^7.4.0"
3434
},

sdk/@launchdarkly/observability-node/src/plugin/observability.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ import { NodeOptions } from '../api/Options'
1010
import { ObservabilityClient } from '../client/ObservabilityClient'
1111

1212
export class Observability implements LDPlugin {
13-
private readonly _tracingHook: Hook = new TracingHook()
13+
private readonly _tracingHook: Hook = new TracingHook({
14+
includeValue: true,
15+
})
1416
constructor(private readonly _options?: NodeOptions) {}
1517
getMetadata(): LDPluginMetadata {
1618
return {

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8140,13 +8140,13 @@ __metadata:
81408140
languageName: node
81418141
linkType: hard
81428142

8143-
"@launchdarkly/node-server-sdk-otel@npm:^1.2.2":
8144-
version: 1.2.2
8145-
resolution: "@launchdarkly/node-server-sdk-otel@npm:1.2.2"
8143+
"@launchdarkly/node-server-sdk-otel@npm:^1.3.0":
8144+
version: 1.3.0
8145+
resolution: "@launchdarkly/node-server-sdk-otel@npm:1.3.0"
81468146
peerDependencies:
81478147
"@launchdarkly/node-server-sdk": ">=9.4.3"
81488148
"@opentelemetry/api": ">=1.3.0"
8149-
checksum: 10/369d8e6abecff7f350030ec2e9f9d8bb442ef6efb7ce2bfef55762fc3f1dbf8c693a32b9d5d7c05b485ad6ffa1f9ce7e5d0f890ab9b55fe732b885ff96207a51
8149+
checksum: 10/cabaaf6c34e0d54779c353d3ba0c882b9f3d05d227f19c57fb4113b689c73265a038479bcd832adb7662ebeb31a66a7d9acf3e90b4069c1ad49afa1c2d6729e6
81508150
languageName: node
81518151
linkType: hard
81528152

@@ -8167,7 +8167,7 @@ __metadata:
81678167
dependencies:
81688168
"@graphql-codegen/cli": "npm:^5.0.7"
81698169
"@launchdarkly/node-server-sdk": "npm:^9.9.2"
8170-
"@launchdarkly/node-server-sdk-otel": "npm:^1.2.2"
8170+
"@launchdarkly/node-server-sdk-otel": "npm:^1.3.0"
81718171
"@opentelemetry/api": "npm:^1.9.0"
81728172
"@opentelemetry/api-logs": "npm:^0.57.2"
81738173
"@opentelemetry/auto-instrumentations-node": "npm:^0.56.0"

0 commit comments

Comments
 (0)