{"repo":"vistaprint/terraform-newrelic-monitoring","free":true,"listed":false,"github":"https://github.com/vistaprint/terraform-newrelic-monitoring","clone":"git clone https://github.com/vistaprint/terraform-newrelic-monitoring.git","description":"Terraform module to monitor an application using New Relic","language":"HCL","stars":12,"topics":["terraform","terraform-modules","newrelic","monitoring"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"terraform-newrelic-monitoring This Terraform module creates New Relic alerts and a dashboard to monitor an application. It also allows for sending notifications to PagerDuty. Example Usage See variables.tf for more information on the input variables that the module accepts. For instance, the default values for an alert's duration and threshold can be overridden. The following example shows how to do so: Defining alerts on status codes To enable alerts for status codes, you need to use the status code alerts variable. For instance, if you want to enable them for 4xx errors, you can do: Enabling Integration with PagerDuty To integrate your New Relic alerts with PagerDuty add the following lines to the module configuration: You can obtain the integration key for your service with Terraform using a resource named pagerduty service integration . Creating Default SLOs New Relic supports the creation of service levels for applications. This terraform module allows for creating two SLOs &ndash; one measuring request latency and the other measuring application availability. The SLOs use a default rolling time window spanning seven days. To create the SLOs, set the following variable: Some parameters for the SLOs can be fine-tuned (see variables.tf for more details). For instance, you can use the following snippet to specify that the latency duration should not exceed 100 ms with a target value of 99.99%. For more details about these parameters, please check the official documentation.","default_branch":null,"files":null,"tree":[],"storefront":"/r/vistaprint","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vistaprint/terraform-newrelic-monitoring/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}