stx-monitor Application Flexible Config and Upgrade

Add enhancements to the stx-monitor infrastructure and monitoring
application to expand flexible configuration and upgrade capabilities.

Story: 2005733
Task: 36387

Change-Id: I11cef36f416a1a1b1fd813c0c06f6c7a20a19a2a
Signed-off-by: Kevin Smith <kevin.smith@windriver.com>
This commit is contained in:
Kevin Smith 2019-08-27 12:37:45 -04:00
parent 3afce274e4
commit 7cf9c9afaf

View File

@ -107,6 +107,13 @@ data:
path: /stx-elasticsearch-client(/|$)(.*)
hosts:
- ""
master:
updateStrategy:
type: "RollingUpdate"
data:
terminationGracePeriodSeconds: 240
updateStrategy:
type: "RollingUpdate"
source:
type: tar
location: http://172.17.0.1:8080/helm_charts/starlingx/elasticsearch-1.24.0.tgz
@ -407,6 +414,8 @@ data:
elastic-controller: "enabled"
elasticsearch:
host: stx-elasticsearch-client
config:
elasticsearch.path: ""
outputs:
main: |-
output {
@ -414,14 +423,14 @@ data:
#stdout { codec => rubydebug }
if [type] == "collectd" {
elasticsearch {
hosts => ["${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}"]
hosts => ["${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}${ELASTICSEARCH_PATH}"]
manage_template => false
index => "collectd"
}
}
if [type] == "beats" {
elasticsearch {
hosts => ["${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}"]
hosts => ["${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}${ELASTICSEARCH_PATH}"]
manage_template => false
index => "%{[@metadata][beat]}-%{[@metadata][version]}"
}