You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add additional collector for SLM stats
Signed-off-by: Mike Eves <[email protected]>
* Add additional metric for SLM status (operation mode)
Signed-off-by: Mike Eves <[email protected]>
* Update README
Signed-off-by: Mike Eves <[email protected]>
* Record time metrics in seconds
Signed-off-by: Mike Eves <[email protected]>
* Update metrics to be counters where appropriate
Signed-off-by: Mike Eves <[email protected]>
* Modify tests and update label on operation_mode metric
Signed-off-by: Mike Eves <[email protected]>
* Simplify test fixture
Signed-off-by: Mike Eves <[email protected]>
Signed-off-by: iishabakaev <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,6 +56,7 @@ elasticsearch_exporter --help
56
56
| es.indices_mappings | 1.2.0 | If true, query stats for mappings of all indices of the cluster. | false |
57
57
| es.shards | 1.0.3rc1 | If true, query stats for all indices in the cluster, including shard-level stats (implies `es.indices=true`). | false |
58
58
| es.snapshots | 1.0.4rc1 | If true, query stats for the cluster snapshots. | false |
59
+
| es.slm || If true, query stats for SLM. | false |
59
60
| es.timeout | 1.0.2 | Timeout for trying to get stats from Elasticsearch. (ex: 20s) | 5s |
60
61
| es.ca | 1.0.2 | Path to PEM file that contains trusted Certificate Authorities for the Elasticsearch connection. ||
61
62
| es.client-private-key | 1.0.2 | Path to PEM file that contains the private key for client auth when connecting to Elasticsearch. ||
@@ -86,6 +87,7 @@ es.indices | `indices` `monitor` (per index or `*`) | All actions that are requi
86
87
es.indices_settings | `indices``monitor` (per index or `*`) |
87
88
es.shards | not sure if `indices` or `cluster``monitor` or both |
88
89
es.snapshots | `cluster:admin/snapshot/status` and `cluster:admin/repository/get` | [ES Forum Post](https://discuss.elastic.co/t/permissions-for-backup-user-with-x-pack/88057)
90
+
es.slm | `read_slm`
89
91
90
92
Further Information
91
93
-[Build in Users](https://www.elastic.co/guide/en/elastic-stack-overview/7.3/built-in-users.html)
@@ -221,6 +223,23 @@ Further Information
221
223
| elasticsearch_clusterinfo_last_retrieval_success_ts | gauge | 1 | Timestamp of the last successful cluster info retrieval
222
224
| elasticsearch_clusterinfo_up | gauge | 1 | Up metric for the cluster info collector
223
225
| elasticsearch_clusterinfo_version_info | gauge | 6 | Constant metric with ES version information as labels
226
+
| elasticsearch_slm_stats_up | gauge | 0 | Up metric for SLM collector
227
+
| elasticsearch_slm_stats_total_scrapes | counter | 0 | Number of scrapes for SLM collector
0 commit comments