Files
terraform-aws-observability…/modules/managed-prometheus-monitoring
Rodrigue Koffi daed34db80 Compose EKS monitoring modules (#115)
* Move modules around

* Update amp billing source

* Merge Java monitoring to EKS

* Update docs

* Merge nginx pattern

* Pre-commit

* Add save and test URL output

* Move EKS dependencies to EKS monitoring module

* update docs

* Update examples and docs

* Add java doc

* Add NGINX doc

* Update nginx doc

* Fix amp monitoring example path

* Fix pre-commit

* Todo: move to main after merge

* Update docs, fix tags
2023-02-20 18:36:08 +01:00
..
2023-02-20 18:36:08 +01:00

Observability Pattern for Amazon Managed Prometheus

This module provides an automated experience around Observability for AMP (Amazon Managed Prometheus) workspaces. It provides the following resources:

  • AWS Managed Grafana Dashboard
  • Cloudwatch data source to monitor AMP usage and alert metrics.

Note: The Billing widget of the dashboard requires CloudWatch Billing Alerts to be enabled.

  • CloudWatch alarms for AMP service quotas.

Requirements

Name Version
terraform >= 1.1.0, < 1.3.0
aws >= 4.0.0
grafana >= 1.25.0

Providers

Name Version
aws >= 4.0.0
grafana >= 1.25.0

Modules

No modules.

Resources

Name Type
aws_cloudwatch_metric_alarm.active-series-metrics resource
aws_cloudwatch_metric_alarm.ingestion_rate resource
grafana_dashboard.this resource
grafana_data_source.cloudwatch resource

Inputs

Name Description Type Default Required
active_series_threshold Threshold for active series metric alarm number 1000000 no
aws_region AWS Region string n/a yes
dashboards_folder_id Grafana folder ID for automatic dashboards string n/a yes
ingestion_rate_threshold Threshold for active series metric alarm number 70000 no
managed_prometheus_workspace_id Amazon Managed Service for Prometheus Workspace ID to create Alarms for string n/a yes

Outputs

No outputs.