elastic / elastic/elastic-otel-node

Traces sampler also total transactions

Open
#438 9 comments 0 reactions 0 assignees View on GitHub
community triage
Dominant language
JavaScript
Stars
12
Forks
22
Avg merge
16h 54m
Merged PRs (30d)
5

Description

Hello,

I have a custom OTEL based instrumentation which I was testing out with `ElasticNodeSDK`. I can see that with 1% sample rate, total spans and total transaction count metrics both are being sampled.
I'm expecting only traces to be sampled and not transaction count.

Any way to fix this?

Below were the config:
```
OTEL_TRACES_SAMPLER="traceidratio"
OTEL_TRACES_SAMPLER_ARG="0.01"
```

I'm using Elastic Observability Cloud for APM.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.