opentelemetry-js
opentelemetry-js copied to clipboard
OpenTelemetry JavaScript Client
## Preface [This is a proof of concept implementation](https://github.com/svrnm/opentelemetry-js/tree/auto-instrumentation-agent/experimental/packages/opentelemetry-autoinstrumentation-agent) **I wanted to check if something like this could be valuable to the project. So a code review is not required...
## Which problem is this PR solving? Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that...
## Which problem is this PR solving? Fixes https://github.com/open-telemetry/opentelemetry-js/issues/3107 ## Type of change - [x] This change requires a documentation update ## Checklist: - [x] Followed the style guidelines of...
https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/semantic_conventions/http-metrics.md
We want to use the `InMemorySpanExporter` to run our tests and snapshot the emitted spans. However, I am not seeing `links` array being filled with `SpanContext`s, while that works when...
- [ ] This only affects the JavaScript OpenTelemetry library - [x] This may affect other libraries, but I would like to get opinions here first I've been looking into...
- [x] This only affects the JavaScript OpenTelemetry library - [x] This may affect other libraries, but I would like to get opinions here first I noticed http.target is missing...
Removing/flushing unused dynamic attributes in metric instruments is very important to not leaking memories. Spec issue: https://github.com/open-telemetry/opentelemetry-specification/issues/1297 Prometheus Suggestion: https://prometheus.io/docs/instrumenting/writing_clientlibs/#labels > Metrics with labels SHOULD support a `remove()` method with...
JavaScript integer numbers are coerced to floating-point values implicitly if the value goes over the Number.MAX_SAFE_INTEGER. A metric instrument with ValueType.INT should stick to integer values if possible. Spec: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/supplementary-guidelines.md#integer
This is related to #584 The [PluginConfig interface](https://github.com/open-telemetry/opentelemetry-js/blob/master/packages/opentelemetry-types/src/trace/instrumentation/Plugin.ts#L50-L87) has `ignoreMethods` and `ignoreUrls` attributes to ignore the traces on provided methods and urls but we are not respecting these values (especially...