Comments (4)
--es.indices_mappings
--es.shards
Indice mappings and shards are both quite a lot of data for any nontrivial cluster (curling the metrics endpoint shows it quite clearly).
Unless you are actually using that data, removing that fetch will both save you some stress on the ES cluster and a lot of memory in the exporter.
If you actually want to use these, you will have to significantly raise the memory allocation.
In our case, the exporter without these averages ~60MB RAM usage, and ~240MB with them.
from elasticsearch_exporter.
What version of the exporter are you using? What flags are you using? What version of elasticsearch? What is the configuration of your elasticsearch cluster (number of nodes and which roles)?
from elasticsearch_exporter.
Thank you for feedback.
What version of the exporter are you using?
v1.6.0
What flags are you using?
Command:
elasticsearch_exporter
--log.format=logfmt
--log.level=info
--es.uri=https://REDACTED:[email protected]:9200
--es.all
--es.indices
--es.indices_settings
--es.indices_mappings
--es.shards
--es.snapshots
--es.timeout=20s
--es.ssl-skip-verify
--web.config.file=/etc/web-config.yaml
--web.listen-address=:9108
--web.telemetry-path=/metrics
/etc/web-config.yaml
tls_server_config:
cert_file: /etc/ssl/certs/tls.crt
key_file: /etc/ssl/certs/tls.key
What version of elasticsearch?
OpenSearch v2.11.0
What is the configuration of your elasticsearch cluster (number of nodes and which roles)?
In larger clusters, where the problem occurring, we have 6 nodes total (2x coordination, 2x manager, 2x data). We using the exporter in small clusters too with only one multirole node, but we not discovered the problem here.
from elasticsearch_exporter.
I made some testing and you have right. Memory usage is higher especially on clusters with more indices.
Switch --es.indices_mappings
unfortunately include valuable information for us. But the switch --es.shards
is possible to omit. We lost some information, but they are isnt important, by my humble opinion.
It is possible do some optimization on the exporter side?
from elasticsearch_exporter.
Related Issues (20)
- Is there a relationship between index names and instances? HOT 1
- elasticsearchv8 cluster_settings unmarshal error HOT 4
- In the latest version 1.7.0, is the code Envar("ES_URI") missing for retrieving the value of es.uri? Currently, when transmitted via ES_URI, it is still bound to the default address. HOT 2
- Metric `elasticsearch_cluster_health_up` removed in v1.7.0
- Elastisearch Export 1.1.0 not collecting many metrics on elasticsearch 7.17
- elasticsearch exporter used too much memory ,is it normal
- msg="failed to get cluster info" err="Get \"http://localhost:9200/\": dial tcp 127.0.0.1:9200: connect: connection refused" HOT 1
- Grafana Dashboard Contains Soon-to-Be-Deprecated Panels HOT 4
- exporter behind reverse proxy
- Expose node stats indexing pressure HOT 1
- 1.5.0版本的elasticsearch_exporter连接8.x.x版本的es报错不支持TLS HOT 1
- Is it possible use the internal Service/Endpoint from Elasticsearch?
- No data in HOT 7
- Missing cluster label on SLM information
- No snapshots available options on version 1.7.0 HOT 1
- Supports dynamic transmission of es cluster link information
- Fail to retrieve data from ELK 8.1.1,Is it possible that this version does not support Elasticsearch versions 8.X? HOT 5
- I wish es_exporter could include metrics for the health status of each shard or index, such as whether they are unassigned or healthy
- It is unclear how to run the Windows version
- Frozen Node Snapshot Repository storage metric
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticsearch_exporter.