Commit cfee760
authored
Adding x-pack code for
* Updating test fixture
* Extract indicesStruct for reuse within package
* Only request specific stats
* Add X-Pack switch
* Adding explanatory comment
* Fleshing it out some more
* Remove empty TODO
* Adding reference comment for fields + refactoring into helper funcs
* Re-formatting
* Extract stats API metrics into own const
* Using errors.Wrap
* Adding logger to elasticsearch metricset
* Log errors
* Sharing the type not the variable 🤦elasticsearch/index metricset (#8260)1 parent 7b0fb04 commit cfee760
File tree
8 files changed
+1923
-1430
lines changed- metricbeat/module/elasticsearch
- cluster_stats
- index
- _meta/test
8 files changed
+1923
-1430
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
| 173 | + | |
173 | 174 | | |
174 | 175 | | |
175 | 176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
202 | 206 | | |
203 | 207 | | |
204 | 208 | | |
205 | | - | |
206 | | - | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
207 | 216 | | |
208 | 217 | | |
209 | 218 | | |
| |||
0 commit comments