Commit 1822363
authored
fix: better protect against nil topicAttributeFunc (#618)
## ❓ Why is this being changed
systemtests are failing because of a nil topic attribute func. The topic
manager does not handle nil func.
See
https://github.com/elastic/apm-queue/actions/runs/12741942829/job/35509307227
## 🧑💻 What is being changed
set the default func in the common config instead of the metrics hook
## ✅ How to validate the change
run systemtests1 parent 5b48d80 commit 1822363
4 files changed
+24
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
250 | 257 | | |
251 | 258 | | |
252 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
780 | 780 | | |
781 | 781 | | |
782 | 782 | | |
783 | | - | |
784 | | - | |
785 | | - | |
786 | | - | |
| 783 | + | |
787 | 784 | | |
788 | 785 | | |
789 | 786 | | |
| |||
805 | 802 | | |
806 | 803 | | |
807 | 804 | | |
808 | | - | |
809 | | - | |
810 | | - | |
811 | | - | |
| 805 | + | |
812 | 806 | | |
813 | 807 | | |
814 | 808 | | |
| |||
830 | 824 | | |
831 | 825 | | |
832 | 826 | | |
833 | | - | |
834 | | - | |
835 | | - | |
836 | | - | |
| 827 | + | |
837 | 828 | | |
838 | 829 | | |
839 | 830 | | |
| |||
855 | 846 | | |
856 | 847 | | |
857 | 848 | | |
858 | | - | |
859 | | - | |
860 | | - | |
861 | | - | |
| 849 | + | |
862 | 850 | | |
863 | 851 | | |
864 | 852 | | |
| |||
880 | 868 | | |
881 | 869 | | |
882 | 870 | | |
883 | | - | |
884 | | - | |
885 | | - | |
886 | | - | |
| 871 | + | |
887 | 872 | | |
888 | 873 | | |
889 | 874 | | |
| |||
909 | 894 | | |
910 | 895 | | |
911 | 896 | | |
| 897 | + | |
| 898 | + | |
| 899 | + | |
| 900 | + | |
| 901 | + | |
| 902 | + | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
912 | 908 | | |
913 | 909 | | |
914 | 910 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | 302 | | |
309 | 303 | | |
310 | 304 | | |
| |||
0 commit comments