Commit 57f63c9
committed
enhancement(o11y): emit tag_filterlist_updates_total counter from TagFilterlist transform (#1818)
Adds a `tag_filterlist_updates_total` counter to the `TagFilterlist` transform so ADP reports how many times the `metric_tag_filterlist` configuration has been updated via Remote Config. The counter increments only on RC-triggered updates (not at build time), matching the behavior of `datadog.agent.tag_filterlist.updates` in the Core Agent. ADP surfaces this as `datadog.agent.tag_filterlist.updates` via the RAR remapper.
- [ ] `cargo test -p agent-data-plane tag_filterlist` — new `telemetry_records_updates` test plus all existing tests pass
- [ ] `cargo test -p agent-data-plane` — remapping output test and help text test pass
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: jesse.szwedko <jesse.szwedko@datadoghq.com>1 parent d799092 commit 57f63c9
4 files changed
Lines changed: 43 additions & 13 deletions
File tree
- bin/agent-data-plane/src
- components/tag_filterlist
- state/metrics
- rules
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| 281 | + | |
281 | 282 | | |
282 | 283 | | |
283 | 284 | | |
| |||
830 | 831 | | |
831 | 832 | | |
832 | 833 | | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
833 | 851 | | |
834 | 852 | | |
835 | 853 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| |||
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
48 | 54 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
366 | | - | |
367 | | - | |
| 365 | + | |
368 | 366 | | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
375 | 370 | | |
376 | 371 | | |
377 | 372 | | |
| |||
824 | 819 | | |
825 | 820 | | |
826 | 821 | | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
827 | 826 | | |
828 | 827 | | |
829 | 828 | | |
| |||
839 | 838 | | |
840 | 839 | | |
841 | 840 | | |
| 841 | + | |
842 | 842 | | |
843 | 843 | | |
844 | 844 | | |
| |||
877 | 877 | | |
878 | 878 | | |
879 | 879 | | |
880 | | - | |
881 | | - | |
882 | | - | |
883 | | - | |
| 880 | + | |
884 | 881 | | |
885 | 882 | | |
886 | 883 | | |
| |||
894 | 891 | | |
895 | 892 | | |
896 | 893 | | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
| 897 | + | |
897 | 898 | | |
898 | 899 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
| |||
0 commit comments