From 6a364133964f8009954a287dec4a65b6c0b4e2c0 Mon Sep 17 00:00:00 2001 From: janli Date: Tue, 19 Nov 2024 12:36:57 -0800 Subject: [PATCH] fix: test json --- templates/apiary-hms-readonly.json | 2 +- templates/apiary-hms-readwrite.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/apiary-hms-readonly.json b/templates/apiary-hms-readonly.json index ea7a36b..b704122 100644 --- a/templates/apiary-hms-readonly.json +++ b/templates/apiary-hms-readonly.json @@ -76,7 +76,7 @@ }, "dockerLabels": { "com.datadoghq.ad.instances": "[{ \"prometheus_url\": \"http://%%host%%:8080/actuator/prometheus\", \"namespace\": \"${hms_metrics_namespace}\", \"metrics\": [\"${hms_metrics}\"],\"type_overrides\":{\"${hms_metrics_type_overrides}\": \"gauge\"} }]", - "com.datadoghq.ad.check_names": "[\"prometheus\"]", + "com.datadoghq.ad.check_names": [\"prometheus\"], "com.datadoghq.ad.init_configs": "[{}]" }, "portMappings": [ diff --git a/templates/apiary-hms-readwrite.json b/templates/apiary-hms-readwrite.json index 64220d2..0f670fc 100644 --- a/templates/apiary-hms-readwrite.json +++ b/templates/apiary-hms-readwrite.json @@ -76,7 +76,7 @@ }, "dockerLabels": { "com.datadoghq.ad.instances": "[{ \"prometheus_url\": \"http://%%host%%:8080/actuator/prometheus\", \"namespace\": \"${hms_metrics_namespace}\", \"metrics\": [\"${hms_metrics}\"],\"type_overrides\":{\"${hms_metrics_type_overrides}\": \"gauge\"} }]", - "com.datadoghq.ad.check_names": "[\"prometheus\"]", + "com.datadoghq.ad.check_names": [\"prometheus\"], "com.datadoghq.ad.init_configs": "[{}]" }, "portMappings": [