diff --git a/CHANGELOG.md b/CHANGELOG.md index ce4790c1..832000e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## 1.2.0 + +This release marks the first release under the prometheus-community organization. + +* [FEATURE] Added elasticsearch_clustersettings_stats_max_shards_per_node metric. #277 +* [FEATURE] Added elasticsearch_indices_shards_store_size_in_bytes metric. #292 +* [FEATURE] Added --es.indices_mappings flag to scrape elasticsearch index mapping stats and elasticsearch_indices_mappings_stats collector. #411 +* [FEATURE] Added elasticsearch_snapshot_stats_latest_snapshot_timestamp_seconds metric. #318 +* [ENHANCEMENT] Added support for reloading the tls client certificate in case it changes on disk. #414 +* [BUGFIX] Fixed the elasticsearch_indices_shards_docs metric name. #291 + ## 1.1.0 repeating the breaking changes introduced in 1.1.0rc1: @@ -39,10 +50,10 @@ build fix: remove unnecessary conversion * [FEATURE] new collector for cluster settings * [FEATURE] new collector for indices settings * [FEATURE] cluster info collector. The collector periodically queries the / endpoints and provides the other collectors with a semi up-to-date cluster label -* +* * [FEATURE]/ [BUGFIX] grafana dashboard improvements and fixes * [BUGFIX] Fixed createTLSConfig function. Return full tls configuration when ca, crt, key and insecure flag are set -* +* * [INTERNAL] added code linting to build pipeline ## 1.0.4rc1 diff --git a/README.md b/README.md index 84e39cca..b5d5c720 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Elasticsearch Exporter +# Elasticsearch Exporter [![CircleCI](https://circleci.com/gh/prometheus-community/elasticsearch_exporter.svg?style=svg)](https://circleci.com/gh/prometheus-community/elasticsearch_exporter) [![Go Report Card](https://goreportcard.com/badge/github.com/prometheus-community/elasticsearch_exporter)](https://goreportcard.com/report/github.com/prometheus-community/elasticsearch_exporter) @@ -60,7 +60,7 @@ elasticsearch_exporter --help | web.telemetry-path | 1.0.2 | Path under which to expose metrics. | /metrics | | version | 1.0.2 | Show version info on stdout and exit. | | -Commandline parameters start with a single `-` for versions less than `1.1.0rc1`. +Commandline parameters start with a single `-` for versions less than `1.1.0rc1`. For versions greater than `1.1.0rc1`, commandline parameters are specified with `--`. Also, all commandline parameters can be provided as environment variables. The environment variable name is derived from the parameter name by replacing `.` and `-` with `_` and upper-casing the parameter name. @@ -71,17 +71,17 @@ ES 7.x supports RBACs. The following security privileges are required for the el Setting | Privilege Required | Description :---- | :---- | :---- exporter defaults | `cluster` `monitor` | All cluster read-only operations, like cluster health and state, hot threads, node info, node and cluster stats, and pending cluster tasks. | -es.cluster_settings | `cluster` `monitor` | -es.indices | `indices` `monitor` (per index or `*`) | All actions that are required for monitoring (recovery, segments info, index stats and status) -es.indices_settings | `indices` `monitor` (per index or `*`) | -es.shards | not sure if `indices` or `cluster` `monitor` or both | +es.cluster_settings | `cluster` `monitor` | +es.indices | `indices` `monitor` (per index or `*`) | All actions that are required for monitoring (recovery, segments info, index stats and status) +es.indices_settings | `indices` `monitor` (per index or `*`) | +es.shards | not sure if `indices` or `cluster` `monitor` or both | 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) Further Information - [Build in Users](https://www.elastic.co/guide/en/elastic-stack-overview/7.3/built-in-users.html) - [Defining Roles](https://www.elastic.co/guide/en/elastic-stack-overview/7.3/defining-roles.html) - [Privileges](https://www.elastic.co/guide/en/elastic-stack-overview/7.3/security-privileges.html) - + ### Metrics |Name |Type |Cardinality |Help @@ -102,6 +102,7 @@ Further Information | elasticsearch_cluster_health_status | gauge | 3 | Whether all primary and replica shards are allocated. | elasticsearch_cluster_health_timed_out | gauge | 1 | Number of cluster health checks timed out | elasticsearch_cluster_health_unassigned_shards | gauge | 1 | The number of shards that exist in the cluster state, but cannot be found in the cluster itself. +| elasticsearch_clustersettings_stats_max_shards_per_node | gauge | 0 | Current maximum number of shards per node setting. | elasticsearch_filesystem_data_available_bytes | gauge | 1 | Available space on block device in bytes | elasticsearch_filesystem_data_free_bytes | gauge | 1 | Free space on block device in bytes | elasticsearch_filesystem_data_size_bytes | gauge | 1 | Size of block device in bytes @@ -129,7 +130,10 @@ Further Information | elasticsearch_indices_indexing_delete_total | counter | 1 | Total indexing deletes | elasticsearch_indices_indexing_index_time_seconds_total | counter | 1 | Cumulative index time in seconds | elasticsearch_indices_indexing_index_total | counter | 1 | Total index calls -| elasticsearch_indices_mappings_stats_fields | gauge | | Count of fields currently mapped by index +| elasticsearch_indices_mappings_stats_fields | gauge | 1 | Count of fields currently mapped by index +| elasticsearch_indices_mappings_stats_json_parse_failures_total | counter | 0 | Number of errors while parsing JSON +| elasticsearch_indices_mappings_stats_scrapes_total | counter | 0 | Current total ElasticSearch Indices Mappings scrapes +| elasticsearch_indices_mappings_stats_up | gauge | 0 | Was the last scrape of the ElasticSearch Indices Mappings endpoint successful | elasticsearch_indices_merges_docs_total | counter | 1 | Cumulative docs merged | elasticsearch_indices_merges_total | counter | 1 | Total merges | elasticsearch_indices_merges_total_size_bytes_total | counter | 1 | Total merge size in bytes @@ -185,6 +189,7 @@ Further Information | elasticsearch_snapshot_stats_number_of_snapshots | gauge | 1 | Total number of snapshots | elasticsearch_snapshot_stats_oldest_snapshot_timestamp | gauge | 1 | Oldest snapshot timestamp | elasticsearch_snapshot_stats_snapshot_start_time_timestamp | gauge | 1 | Last snapshot start timestamp +| elasticsearch_snapshot_stats_latest_snapshot_timestamp_seconds | gauge | 1 | Timestamp of the latest SUCCESS or PARTIAL snapshot | elasticsearch_snapshot_stats_snapshot_end_time_timestamp | gauge | 1 | Last snapshot end timestamp | elasticsearch_snapshot_stats_snapshot_number_of_failures | gauge | 1 | Last snapshot number of failures | elasticsearch_snapshot_stats_snapshot_number_of_indices | gauge | 1 | Last snapshot number of indices diff --git a/VERSION b/VERSION index 9084fa2f..26aaba0e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.0 +1.2.0