2017-11-27 15:25:37 +01:00

1.8 KiB

Azure API Management Datadog monitors

How to use this module

module "datadog-monitors-azure-apimanagement" {
  source = "git::ssh://git@bitbucket.org/morea/terraform.feature.datadog.git//cloud/azure/apimanagement?ref={revision}"

  message     = "${module.datadog-message-alerting.alerting-message}"
  environment = "${var.environment}"
}

Purpose

Creates Datadog monitors with the following checks :

  • Service status
  • Failed requests ratio
  • Other requests ratio
  • Unauthorized requests ratio
  • Successful requests ratio

Inputs

Name Description Type Default Required
delay Delay in seconds for the metric evaluation string 600 no
environment Architecture environment string - yes
failed_requests_threshold_critical Maximum acceptable percent of failed requests string 5 no
filter_tags_custom Tags used for custom filtering when filter_tags_use_defaults is false string * no
filter_tags_use_defaults Use default filter tags convention string true no
message Message sent when a Redis monitor is triggered string - yes
other_requests_threshold_critical Maximum acceptable percent of other requests string 5 no
successful_requests_threshold_critical Minimum acceptable percent of successful requests string 90 no
unauthorized_requests_threshold_critical Maximum acceptable percent of unauthorized requests string 5 no

Azure API Management metrics documentation: https://docs.microsoft.com/en-us/azure/api-management/api-management-howto-use-azure-monitor