You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an OpenTelemetry SDK extension that provides custom sampling and resource configuration. The extension automatically configures OpenTelemetry instrumentation with environment-specific settings and intelligent sampling rules.
4
+
5
+
## Configuration
6
+
7
+
The extension can be configured using the following environment variables:
|`STAGE`| The deployment stage (e.g., `production`, `staging`). |
13
+
|`BUILD_NUMBER`| The build number of the service. |
14
+
|`OTEL_TRACES_SAMPLER_ARG`| The sampling rate to use. Overrides the default sampling rate. |
15
+
|`OTEL_TRACES_EXCLUDED_URL_PATHS`| A comma-separated list of URL paths to exclude from tracing (e.g., `/health*,/metrics*`). Defaults to `/health*,/prometheus*,/metrics*`. |
0 commit comments