Menu
Choose a product
Viewing: v1.7.x (latest)
Find another version
Scroll for more
Open source
Options
Use the Options object to configure the tracing instrumentation behavior. It is used during the instantiation of a
Client instance and also as a parameter to the
instrumentHTTP function. It controls the general behavior of the tracing instrumentation and is unspecific to any particular tracing client instance.
Options
| Option name | Type | Default | Description |
|---|---|---|---|
propagator | string | w3c | The trace context propagation format. Currently supported: w3c and jaeger. |
sampling | number | 1 | A number between 0 and 1 defining the sampling rate. 1 means sample always, 0 means never sample. |
Was this page helpful?
Related resources from Grafana Labs
Additional helpful documentation, links, and articles:
Video

Performance testing and observability in Grafana Cloud
Optimize user experiences with Grafana Cloud. Learn real-time insights, performance testing with k6, and continuous validation with Synthetic Monitoring.
Events

User-centered observability: load testing, real user monitoring, and synthetics
Learn how to use load testing, synthetic monitoring, and real user monitoring (RUM) to understand end users' experience of your apps. Watch on demand.