diff --git a/api/chalicelib/core/health.py b/api/chalicelib/core/health.py index f1fec41fa..155a73272 100644 --- a/api/chalicelib/core/health.py +++ b/api/chalicelib/core/health.py @@ -14,9 +14,9 @@ def app_connection_string(name, port, path): HEALTH_ENDPOINTS = { - "alerts": app_connection_string("alerts-openreplay", 8888, "metrics"), + "alerts": app_connection_string("alerts-openreplay", 8888, "health"), "assets": app_connection_string("assets-openreplay", 8888, "metrics"), - "assist": app_connection_string("assist-openreplay", 8888, "metrics"), + "assist": app_connection_string("assist-openreplay", 8888, "health"), "chalice": app_connection_string("chalice-openreplay", 8888, "metrics"), "db": app_connection_string("db-openreplay", 8888, "metrics"), "ender": app_connection_string("ender-openreplay", 8888, "metrics"), diff --git a/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml b/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml index 1efa5bccf..a5b6dce7b 100644 --- a/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml +++ b/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml @@ -43,10 +43,9 @@ spec: {{- .Values.healthCheck | toYaml | nindent 10}} {{- end}} env: + {{- include "openreplay.env.redis_string" .Values.global.redis | nindent 12 }} - name: KAFKA_SERVERS value: "{{ .Values.global.kafka.kafkaHost }}" - - name: REDIS_STRING - value: "{{ .Values.global.redis.redisHost }}" - name: ch_username value: "{{ .Values.global.clickhouse.username }}" - name: ch_password