Skip to content

Commit

Permalink
fix: add datadog redis metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
samwang0723 committed May 25, 2024
1 parent db31f11 commit 7aff98e
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions deployment/helm/redis/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,18 @@ master:
## @param master.podAnnotations Annotations for Redis® master pods
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
##
podAnnotations: {}
podAnnotations:
ad.datadoghq.com/redis.check_names: '["redisdb"]'
ad.datadoghq.com/redis.init_configs: '[{}]'
ad.datadoghq.com/redis.instances: |
[
{
"host": "%%host%%",
"port":"6379",
"password":"abcd1234"
}
]
## @param master.shareProcessNamespace Share a single process namespace between all of the containers in Redis® master pods
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
##
Expand Down Expand Up @@ -731,7 +742,17 @@ replica:
## @param replica.podAnnotations Annotations for Redis® replicas pods
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
##
podAnnotations: {}
podAnnotations:
ad.datadoghq.com/redis.check_names: '["redisdb"]'
ad.datadoghq.com/redis.init_configs: '[{}]'
ad.datadoghq.com/redis.instances: |
[
{
"host": "%%host%%",
"port":"6379",
"password":"abcd1234"
}
]
## @param replica.shareProcessNamespace Share a single process namespace between all of the containers in Redis® replicas pods
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/share-process-namespace/
##
Expand Down

0 comments on commit 7aff98e

Please sign in to comment.