You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Preserve pre-existing rally-metrics index templates by default (#1912)
It handles issue #1900: Rally should not overwrite pre existing templates by default
When opening an EsMetricsStore, it creates the index template if any of following is true:
- the index template doesn't exist
- `reporting/datastore.overwrite_existing_templates` option is true and there are differences
between existing and requested template.
It will preserve existing template on all the other cases.
It logs a warning when an existing index template is being replaced.
It logs index template differences between the existing one (if any) and configured one.
Copy file name to clipboardExpand all lines: docs/configuration.rst
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,8 @@ The following settings are applicable only if ``datastore.type`` is set to "elas
80
80
* ``datastore.probe.cluster_version`` (default: true): Enables automatic detection of the metric store's version.
81
81
* ``datastore.number_of_shards`` (default: `Elasticsearch default value <https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html#_static_index_settings>`_): The number of primary shards that the ``rally-*`` indices should have. Any updates to this setting after initial index creation will only be applied to new ``rally-*`` indices.
82
82
* ``datastore.number_of_replicas`` (default: `Elasticsearch default value <https://www.elastic.co/guide/en/elasticsearch/reference/current/index-modules.html#_static_index_settings>`_): The number of replicas each primary shard has. Defaults to . Any updates to this setting after initial index creation will only be applied to new ``rally-*`` indices.
83
+
* ``datastore.overwrite_existing_templates`` (default: ``false``): Existing Rally index templates are replaced only when this option is ``true``.
0 commit comments