Commit f5b083b
Snapshot trace-stats additional tags in Config
getTraceStatsAdditionalTags re-queried ConfigProvider on every call, so a late
system-property mutation could change an existing Config's value, and the
setting never appeared in Config.toString() (nor was it resolved at all when no
metrics aggregator was constructed). Resolve it once into a final field during
construction, return that field, and include it in toString(), per the
add_new_configurations convention.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 976d335 commit f5b083b
1 file changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
941 | 941 | | |
942 | 942 | | |
943 | 943 | | |
| 944 | + | |
944 | 945 | | |
945 | 946 | | |
946 | 947 | | |
| |||
1827 | 1828 | | |
1828 | 1829 | | |
1829 | 1830 | | |
| 1831 | + | |
| 1832 | + | |
| 1833 | + | |
| 1834 | + | |
| 1835 | + | |
| 1836 | + | |
1830 | 1837 | | |
1831 | 1838 | | |
1832 | 1839 | | |
| |||
5288 | 5295 | | |
5289 | 5296 | | |
5290 | 5297 | | |
5291 | | - | |
5292 | | - | |
5293 | | - | |
5294 | | - | |
5295 | | - | |
| 5298 | + | |
5296 | 5299 | | |
5297 | 5300 | | |
5298 | 5301 | | |
| |||
6435 | 6438 | | |
6436 | 6439 | | |
6437 | 6440 | | |
| 6441 | + | |
| 6442 | + | |
6438 | 6443 | | |
6439 | 6444 | | |
6440 | 6445 | | |
| |||
0 commit comments