Skip to content

Commit ce1c8a0

Browse files
authored
Merge pull request #24 from deseretdigital/feature-implement-apache-monitoring-for-dockerized-sc-318290
feat: [sc-318290] Implement Apache Monitoring for Dockerized Containers in Datadog (ksl-news-api/ksl-news-web)
2 parents 3577ea8 + 6ba10ef commit ce1c8a0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kubernetes_deployment.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ resource "kubernetes_deployment" "platform_deployment" {
3636
namespace = data.kubernetes_namespace.deployment_namespace.id
3737

3838
labels = var.labels
39+
annotations = {
40+
"ad.datadoghq.com/apache.checks" = "{\n \"apache\": {\n \"init_config\": {},\n \"instances\": [\n {\n \"apache_status_url\": \"http://%%host%%/server-status?auto\"\n }\n ]\n }\n} \n"
41+
}
3942
}
4043

4144
wait_for_rollout = var.wait_for_rollout

0 commit comments

Comments
 (0)