summaryrefslogtreecommitdiffstats
path: root/app/diagnostics.go
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-08-02 14:50:09 +0100
committerHarrison Healey <harrisonmhealey@gmail.com>2017-08-02 09:50:09 -0400
commit29be10ca2f6ce0c72d90309eb00dbd02224c8e08 (patch)
tree4fd2be3d4adee7299870c72efd7804e0c8f9d8c0 /app/diagnostics.go
parentb47cf82043f737b3ae944f8e31a06d15227e91e2 (diff)
downloadchat-29be10ca2f6ce0c72d90309eb00dbd02224c8e08.tar.gz
chat-29be10ca2f6ce0c72d90309eb00dbd02224c8e08.tar.bz2
chat-29be10ca2f6ce0c72d90309eb00dbd02224c8e08.zip
PLT-7275: Configure replica/shard count for Elasticsearch indexes. (#7093)
Diffstat (limited to 'app/diagnostics.go')
-rw-r--r--app/diagnostics.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/diagnostics.go b/app/diagnostics.go
index a22e87587..f12681d01 100644
--- a/app/diagnostics.go
+++ b/app/diagnostics.go
@@ -411,6 +411,8 @@ func trackConfig() {
"enable_indexing": *utils.Cfg.ElasticsearchSettings.EnableIndexing,
"enable_searching": *utils.Cfg.ElasticsearchSettings.EnableSearching,
"sniff": *utils.Cfg.ElasticsearchSettings.Sniff,
+ "post_index_replicas": *utils.Cfg.ElasticsearchSettings.PostIndexReplicas,
+ "post_index_shards": *utils.Cfg.ElasticsearchSettings.PostIndexShards,
})
SendDiagnostic(TRACK_CONFIG_PLUGIN, map[string]interface{}{