Skip to content

Commit 38a6d0d

Browse files
committed
Fix codespell issues.
See, $ codespell -S ./vendor*,./.git*
1 parent 9788f76 commit 38a6d0d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ elasticsearch_exporter --help
4949
| es.shards | If true, query stats for all indices in the cluster, including shard-level stats (implies `es.indices=true`). | false |
5050
| es.snapshots | If true, query stats for the cluster snapshots. | false |
5151
| es.timeout | Timeout for trying to get stats from Elasticsearch. (ex: 20s) | 5s |
52-
| es.ca | Path to PEM file that contains trusted CAs for the Elasticsearch connection. | |
52+
| es.ca | Path to PEM file that contains trusted Certificate Authorities for the Elasticsearch connection. | |
5353
| es.client-private-key | Path to PEM file that contains the private key for client auth when connecting to Elasticsearch. | |
5454
| es.client-cert | Path to PEM file that contains the corresponding cert for the private key to connect to Elasticsearch. | |
5555
| es.ssl-skip-verify | Skip SSL verification when connecting to Elasticsearch. | false |
@@ -156,7 +156,7 @@ elasticsearch_exporter --help
156156
| elasticsearch_snapshot_stats_oldest_snapshot_timestamp | gauge | 1 | Oldest snapshot timestamp
157157
| elasticsearch_snapshot_stats_snapshot_start_time_timestamp | gauge | 1 | Last snapshot start timestamp
158158
| elasticsearch_snapshot_stats_snapshot_end_time_timestamp | gauge | 1 | Last snapshot end timestamp
159-
| elasticsearch_snapshot_stats_snapshot_number_of_failures | gauge | 1 | Last spnapshot number of failures
159+
| elasticsearch_snapshot_stats_snapshot_number_of_failures | gauge | 1 | Last snapshot number of failures
160160
| elasticsearch_snapshot_stats_snapshot_number_of_indices | gauge | 1 | Last snapshot number of indices
161161
| elasticsearch_snapshot_stats_snapshot_failed_shards | gauge | 1 | Last snapshot failed shards
162162
| elasticsearch_snapshot_stats_snapshot_successful_shards | gauge | 1 | Last snapshot successful shards

collector/cluster_health.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func NewClusterHealth(logger log.Logger, client *http.Client, url *url.URL) *Clu
7474
Type: prometheus.GaugeValue,
7575
Desc: prometheus.NewDesc(
7676
prometheus.BuildFQName(namespace, subsystem, "active_primary_shards"),
77-
"Tthe number of primary shards in your cluster. This is an aggregate total across all indices.",
77+
"The number of primary shards in your cluster. This is an aggregate total across all indices.",
7878
defaultClusterHealthLabels, nil,
7979
),
8080
Value: func(clusterHealth clusterHealthResponse) float64 {

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func main() {
2626
esExportIndices = flag.Bool("es.indices", false, "Export stats for indices in the cluster.")
2727
esExportShards = flag.Bool("es.shards", false, "Export stats for shards in the cluster (implies es.indices=true).")
2828
esExportSnapshots = flag.Bool("es.snapshots", false, "Export stats for the cluster snapshots.")
29-
esCA = flag.String("es.ca", "", "Path to PEM file that contains trusted CAs for the Elasticsearch connection.")
29+
esCA = flag.String("es.ca", "", "Path to PEM file that contains trusted Certificate Authorities for the Elasticsearch connection.")
3030
esClientPrivateKey = flag.String("es.client-private-key", "", "Path to PEM file that contains the private key for client auth when connecting to Elasticsearch.")
3131
esClientCert = flag.String("es.client-cert", "", "Path to PEM file that contains the corresponding cert for the private key to connect to Elasticsearch.")
3232
esInsecureSkipVerify = flag.Bool("es.ssl-skip-verify", false, "Skip SSL verification when connecting to Elasticsearch.")

0 commit comments

Comments
 (0)