Skip to content

Commit

Permalink
fix: json template format
Browse files Browse the repository at this point in the history
  • Loading branch information
JianLi-Expedia committed Nov 19, 2024
1 parent 5c5523e commit 6f53e0d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions templates/apiary-hms-readonly.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
}
},
"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.init_configs": "[{}]"
"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.init_configs": [{}]
},
"portMappings": [
{
Expand Down
6 changes: 3 additions & 3 deletions templates/apiary-hms-readwrite.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
}
},
"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.init_configs": "[{}]"
"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.init_configs": [{}]
},
"portMappings": [
{
Expand Down

0 comments on commit 6f53e0d

Please sign in to comment.