diff --git a/addons/redis/templates/componentdefinition-redis-cluster.yaml b/addons/redis/templates/componentdefinition-redis-cluster.yaml index 18ee39fde..68d3e74ea 100644 --- a/addons/redis/templates/componentdefinition-redis-cluster.yaml +++ b/addons/redis/templates/componentdefinition-redis-cluster.yaml @@ -40,6 +40,10 @@ spec: - name: {{ $name }} filePathPattern: {{ $pattern }} {{- end }} + exporter: + containerName: metrics + scrapePath: /metrics + scrapePort: http-metrics configs: - name: redis-cluster-config templateRef: redis-cluster7-config-template diff --git a/addons/redis/templates/componentdefinition-redis.yaml b/addons/redis/templates/componentdefinition-redis.yaml index 22a722a3b..70bd7ffd9 100644 --- a/addons/redis/templates/componentdefinition-redis.yaml +++ b/addons/redis/templates/componentdefinition-redis.yaml @@ -45,6 +45,10 @@ spec: - name: {{ $name }} filePathPattern: {{ $pattern }} {{- end }} + exporter: + containerName: metrics + scrapePath: /metrics + scrapePort: http-metrics configs: - name: redis-replication-config templateRef: redis7-config-template