Commit ef6f532
authored
Try harder to dump the EDOT configuration at startup (#431)
* elasticotel/distro: accept warning also
May be more mnemonic for people instead of warn.
* docs: Drop stale note
This is not true since 1.1.0
* elasticotel/distro: try harder to print the EDOT configuration at startup
Since we rely on the instrumented application logging setup BUT:
- by default the python root logger should be at WARNING level
- the EDOT Configuration dump is at INFO level
- at startup we don't have application logging already setup
So we need to add a temporary logging handler just for printing our config1 parent a379de5 commit ef6f532
File tree
3 files changed
+22
-4
lines changed- docs/reference/edot-python
- src/elasticotel/distro
- tests/integration
3 files changed
+22
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | 118 | | |
123 | 119 | | |
124 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
102 | 110 | | |
103 | 111 | | |
104 | 112 | | |
| 113 | + | |
105 | 114 | | |
106 | 115 | | |
107 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
213 | 213 | | |
214 | 214 | | |
215 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
216 | 229 | | |
217 | 230 | | |
218 | 231 | | |
| |||
0 commit comments