Add DataDog OpenMetrics annotations to collab k8s deployment

Co-authored-by: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Max Brunsfeld 2022-06-10 13:35:35 -07:00
parent 2e6fa889ea
commit 2311534c3c

View file

@ -27,6 +27,20 @@ kind: Deployment
metadata:
namespace: ${ZED_KUBE_NAMESPACE}
name: collab
annotations:
ad.datadoghq.com/collab.check_names: |
["openmetrics"]
ad.datadoghq.com/collab.init_configs: |
[{}]
ad.datadoghq.com/collab.instances: |
[
{
"openmetrics_endpoint": "http://%%host%%:%%port%%/metrics",
"namespace": "collab_${ZED_KUBE_NAMESPACE}",
"metrics": [".*"]
}
]
spec:
replicas: 1
selector: