Files
terraform-aws-observability…/modules/workloads/managed-prometheus-monitoring
Kevin Lewin 07545aca27 AMP Observability Pattern (#55)
* working first run

* removing core module dependencies

* adding CW datasource

* alarms MVP

* readmes

* Adding Screenshot

* Adding billing note

* adding billing module

* Revert "adding billing module"

This reverts commit 40d667e37db1036cd71a471ef2fde83ec02aaa13.

reverting

* adding billing module

* Updating Screenshot

* resolving feedback

* removing unused modules

* fmt

* Support for tf 1.3.x

* removing unused variables

* support alarms for multiple workspaces

* Updating Readme

* amp to managed prometheus

* sub-module

* Fix pre-commit

Co-authored-by: Rodrigue Koffi <bonclay7@users.noreply.github.com>
2022-12-09 10:49:55 -05:00
..
2022-12-09 10:49:55 -05:00
2022-12-09 10:49:55 -05:00
2022-12-09 10:49:55 -05:00
2022-12-09 10:49:55 -05:00
2022-12-09 10:49:55 -05:00
2022-12-09 10:49:55 -05:00
2022-12-09 10:49:55 -05:00
2022-12-09 10:49:55 -05: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.