Commit bbdf1fb
Create v1.11.0-rc.1 (#4465)
* fix(prometheus.exporter.redis): pass MaxDistinctKeyGroups option to exporter (#4463)
Changes the `MaxDistinctKeyGroups` configuration option to be passed
into the Redis exporter instance. Previously it was accepted in Alloy's
configuration but not passed through, which would cause it to default
to zero regardless of how Alloy was configured.
Note that this would cause a cardinality increase in generated metrics
for instances of this component with key group metrics enabled.
Signed-off-by: stegosaurus21 <[email protected]>
Co-authored-by: Karl Persson <[email protected]>
* fix(loki.source.podlogs): enable proper log collection from Kubernetes Jobs and CronJobs (#4349)
* fix(loki.source.podlogs): enable proper log collection from Kubernetes Jobs and CronJobs
- Add job-aware termination logic with extended grace periods (10-60s) to ensure all job logs are captured
- Implement proper handling of pod deletion and race conditions between job completion and controller cleanup
- Separate concerns: containerTerminated() for regular pods, shouldStopTailingJobContainer() for jobs
- Enhance deduplication mechanisms to prevent duplicate log collection while ensuring comprehensive coverage
- Add comprehensive test coverage including unit tests and deduplication validation
- Fix race condition where job logs were missed for fast-completing or terminated jobs
This resolves the issue where the podlogs component would fail to scrape logs from short-lived or terminated Kubernetes jobs due to premature termination of log collection.
* rename container terminated
* refactor pod info extraction
* fix linting errors
* loki.source.journal: dont fail if journal files do not exist (#4462)
* Update changelog
* Upgrade Beyla to v2.6.5 (#4468)
---------
Signed-off-by: stegosaurus21 <[email protected]>
Co-authored-by: Jason Liu <[email protected]>
Co-authored-by: Quentin Bisson <[email protected]>
Co-authored-by: Piotr <[email protected]>
Co-authored-by: Rafael Roquetto <[email protected]>1 parent 4b6e017 commit bbdf1fb
File tree
8 files changed
+678
-53
lines changed- internal
- component/loki/source
- journal
- kubernetes/kubetail
- static/integrations/redis_exporter
8 files changed
+678
-53
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
179 | 191 | | |
180 | 192 | | |
181 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
1068 | 1068 | | |
1069 | 1069 | | |
1070 | 1070 | | |
1071 | | - | |
| 1071 | + | |
1072 | 1072 | | |
1073 | 1073 | | |
1074 | 1074 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1124 | 1124 | | |
1125 | 1125 | | |
1126 | 1126 | | |
1127 | | - | |
1128 | | - | |
| 1127 | + | |
| 1128 | + | |
1129 | 1129 | | |
1130 | 1130 | | |
1131 | 1131 | | |
| |||
1166 | 1166 | | |
1167 | 1167 | | |
1168 | 1168 | | |
1169 | | - | |
1170 | | - | |
| 1169 | + | |
| 1170 | + | |
1171 | 1171 | | |
1172 | 1172 | | |
1173 | 1173 | | |
| |||
1194 | 1194 | | |
1195 | 1195 | | |
1196 | 1196 | | |
1197 | | - | |
1198 | | - | |
1199 | 1197 | | |
1200 | 1198 | | |
1201 | 1199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | | - | |
21 | | - | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
| |||
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
77 | 83 | | |
78 | 84 | | |
79 | 85 | | |
| |||
84 | 90 | | |
85 | 91 | | |
86 | 92 | | |
87 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
88 | 97 | | |
89 | 98 | | |
90 | 99 | | |
| |||
103 | 112 | | |
104 | 113 | | |
105 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
106 | 136 | | |
107 | 137 | | |
108 | 138 | | |
| |||
112 | 142 | | |
113 | 143 | | |
114 | 144 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
120 | 149 | | |
121 | | - | |
122 | | - | |
| 150 | + | |
| 151 | + | |
123 | 152 | | |
124 | | - | |
125 | | - | |
126 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
127 | 169 | | |
128 | | - | |
129 | | - | |
130 | 170 | | |
131 | 171 | | |
132 | 172 | | |
| |||
0 commit comments