Commit fc2ef84
authored
Disable warning messages from OTel auto instrumentation (#449)
*Description of changes:*
When setting `OTEL_PYTHON_CONFIGURATOR=aws_configurator`, users see a
verbose warning message:
`Configuration of configurator not loaded because aws_configurator is
set by OTEL_PYTHON_CONFIGURATOR`
These warnings appear when multiple OpenTelemetry configurators are
installed (e.g., default upstream configurators alongside the AWS
configurator). While the behavior is correct, the warnings create noise
in application logs.
Disabling this log message from showing up by default.
By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.1 parent 339e83c commit fc2ef84
File tree
1 file changed
+5
-1
lines changed- aws-opentelemetry-distro/src/amazon/opentelemetry/distro
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| 33 | + | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| |||
0 commit comments