Skip to content

Commit

Permalink
Add missing documentation for ILM metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
multani committed May 13, 2024
1 parent ea78971 commit 2750f7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ Further Information
| elasticsearch_filesystem_io_stats_device_write_operations_count | gauge | 1 | Count of disk write operations |
| elasticsearch_filesystem_io_stats_device_read_size_kilobytes_sum | gauge | 1 | Total kilobytes read from disk |
| elasticsearch_filesystem_io_stats_device_write_size_kilobytes_sum | gauge | 1 | Total kilobytes written to disk |
| elasticsearch_ilm_status | gauge | 3 | Current status of ILM. Status can be `STOPPED`, `RUNNING`, `STOPPING`. |
| elasticsearch_ilm_index_status | gauge | | Status of ILM policy for index |
| elasticsearch_indices_active_queries | gauge | 1 | The number of currently active queries |
| elasticsearch_indices_docs | gauge | 1 | Count of documents on this node |
| elasticsearch_indices_docs_deleted | gauge | 1 | Count of deleted documents on this node |
Expand Down
2 changes: 1 addition & 1 deletion collector/ilm_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func NewIlmStatus(logger log.Logger, client *http.Client, url *url.URL) *IlmStat
Type: prometheus.GaugeValue,
Desc: prometheus.NewDesc(
prometheus.BuildFQName(namespace, subsystem, "status"),
"Current status of ilm. Status can be STOPPED, RUNNING, STOPPING.",
"Current status of ILM. Status can be STOPPED, RUNNING, STOPPING.",
[]string{"operation_mode"}, nil,
),
Value: func(ilm *IlmStatusResponse, status string) float64 {
Expand Down

0 comments on commit 2750f7b

Please sign in to comment.