-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undocumented shards/replicas configuration for Elasticsearch Exporter #3745
Comments
@daniel-ewing pointed out that the name of the corresponding environment variables may be hard to guess: zeebe:
env:
- name: ZEEBE_BROKER_EXPORTERS_ELASTICSEARCH_ARGS_INDEX_NUMBEROFSHARDS
value: "1"
|
It may also be work documenting that the sharding configuration can be checked with an Elasticsearch query like: curl --location 'http://127.0.0.1:9200/_cat/indices/zeebe*?v=true&s=index&pretty' |
@jothikiruthika and I discovered that the Elasticsearch Exporter creates indices with inconsistent number of shards. Getting this wrong in the beginning may cause difficult migrations later. Therefore, this topic should be much better documented. The recommendation for maximum performance would be to set the environment variable |
Many thanks for raising this @falko ! I raised a PR to document these properties now #3773 and would consider this enough to close this issue.
This appears like a general issue to me that I consider worth a separate issue. Could either you or @daniel-ewing raise this to the docs repo so we can address that separately?
imho this goes beyond the scope of documenting the exporters but might fit a guide around the topic but I couldn't find any existing guide related to tuning elastic/opensearch shard configs. |
According to the configuration file there are properties for configuring sharding and replicas:
https://github.com/camunda/zeebe/blob/42cc7744e88ad4aac655f115a8a270f0556e6432/dist/src/main/config/broker.yaml.template#L665-L666
But they are not shown in the documentation:
camunda-docs/docs/self-managed/zeebe-deployment/exporters/elasticsearch-exporter.md
Lines 74 to 78 in a644fe5
And their behavior is not explained anywhere.
The text was updated successfully, but these errors were encountered: