Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/wise-cows-hunt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperdx/node-opentelemetry': minor
---

migration: follow telemetry.distro semantic convention (logs)
4 changes: 2 additions & 2 deletions packages/node-opentelemetry/src/otel-logger/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ export class Logger {
this.provider = new LoggerProvider({
resource: detectedResource.merge(
new Resource({
// TODO: should use otel semantic conventions
'hyperdx.distro.version': PKG_VERSION,
'telemetry.distro.name': 'hyperdx',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be hyperdx-js. will leave it for later

'telemetry.distro.version': PKG_VERSION,
[SEMRESATTRS_SERVICE_NAME]: service ?? _serviceName,
...resourceAttributes,
}),
Expand Down