Skip to content

Unable to specify custom OTEL_RESOURCE_ATTRIBUTES for logsΒ #187

@wrn14897

Description

@wrn14897

Verified this locally. I suspect the resource attributes was fixed (

this.provider = new LoggerProvider({
resource: detectedResource.merge(
new Resource({
// TODO: should use otel semantic conventions
'hyperdx.distro.version': PKG_VERSION,
[SEMRESATTRS_SERVICE_NAME]: service ?? _serviceName,
...resourceAttributes,
}),
),
});
)

Ref: https://discord.com/channels/1149498480893640706/1149500035403350036/1390973497638916096

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions