Commit 91c2df8
fix: Use OCCURRENCE_STATS_EXCLUDED_ATTRIBUTES_PUBLIC_ALIAS in run_stats_query
The OCCURRENCE_STATS_EXCLUDED_ATTRIBUTES_PUBLIC_ALIAS constant was defined but never used,
causing system-level identifiers (id, trace, group_id, etc.) to be included in occurrence
stats query results. This adds filtering logic to skip these excluded attributes after
translating internal names to public aliases, matching the pattern used for spans stats.
Co-authored-by: Armen Zambrano G. <armenzg@users.noreply.github.com>1 parent d133699 commit 91c2df8
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
318 | 321 | | |
319 | 322 | | |
320 | 323 | | |
| |||
340 | 343 | | |
341 | 344 | | |
342 | 345 | | |
| 346 | + | |
| 347 | + | |
343 | 348 | | |
344 | 349 | | |
345 | 350 | | |
| |||
0 commit comments