Skip to content

Latest commit

 

History

History
 
 

managed-prometheus-monitoring

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.