Skip to content

Commit 814db1e

Browse files
rads-1996Copilot
andauthored
Update sdk/monitor/azure-monitor-opentelemetry/azure/monitor/opentelemetry/_utils/configurations.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 148e69e commit 814db1e

File tree

1 file changed

+1
-1
lines changed
  • sdk/monitor/azure-monitor-opentelemetry/azure/monitor/opentelemetry/_utils

1 file changed

+1
-1
lines changed

sdk/monitor/azure-monitor-opentelemetry/azure/monitor/opentelemetry/_utils/configurations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def _default_sampling_ratio(configurations):
131131
except:
132132
pass
133133
else:
134-
_logger.error("OTEL_TRACES_SAMPLER_ARG is not set.")
134+
_logger.warning("OTEL_TRACES_SAMPLER_ARG is not set.")
135135

136136
# Check if rate-limited sampler is configured
137137
if environ.get(OTEL_TRACES_SAMPLER) == RATE_LIMITED_SAMPLER:

0 commit comments

Comments
 (0)