opentelemetry-js
opentelemetry-js copied to clipboard
OpenTelemetry JavaScript Client
## Which problem is this PR solving? Fixes #4317 add `applyCustomAttributesOnMetric` to hook metrics attributes. ## Short description of the changes ```typescript interface HttpCustomMetricAttributeFunction { (span: Span, spanKind: SpanKind, metricAttributes:...
https://github.com/open-telemetry/opentelemetry-js/blob/34003c9b7ef7e7e95e86986550d1c7fb6c1c56c6/experimental/packages/opentelemetry-sdk-node/src/utils.ts#L56-L60 Currently it is a diag.error, but I think it should be a diag.warn. https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/configuration/sdk-environment-variables.md#enum-value says: > if the user provides a value the implementation does not recognize, the implementation...
- [x] This only affects the JavaScript OpenTelemetry library - [ ] This may affect other libraries, but I would like to get opinions here first Hello! I may be...
### What happened? We are unable to access tracecontext like showed here: https://opentelemetry.io/docs/languages/js/propagation/#generic-example We want tracecontext information to propagate manually to other services like SNS, SQS, KaFka. Even we can...
Hi! I tried setting an object to the value of span attribute, but it’s not working. I checked the OpenTelemetry.js library and found that an object is not a valid...
Currently it is possible to call `new Span()`. We should make the constructor private to disallow this. Current test usages: - 1 use of `new span` in contrib tests: https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/plugins/node/opentelemetry-instrumentation-dns/test/functionals/utils.test.ts#L150...
This issue is to track the stabilization of the logs signal # API Current status: Logs API is currently in a separate package from the main API and is experimental...
In recognition of her excellent work on the project, I propose to add @maryliag to the list of JS approvers.
## Which problem is this PR solving? Through recent changes I've been working on reducing code-duplication across the exporters and separating config-code, transport code and base exporter code. I'm doing...
## Which problem is this PR solving? While reviewing #5079 I noticed that we don't set `http.route` and `http.response.status` code in the server duration metrics, so this PR addresses a...