mirror of
https://github.com/storytold/terraform-aws-observability-accelerator.git
synced 2026-10-09 00:09:43 +00:00
fa38a90efc
* Typo * Remove Grafana provider * Temp: move dashbaords to gitOps * Move external labels to resource attributes * Avoid DDoS with using 0.0.0.0 * Pre-commit * Transition in two steps Will need to remove provider in a separate version to provide a transition path as removing this will break terraform and leave orphans in the state * Move patterns' dashboards creation to gitOps Standardize config objects for patterns as well * Pre-commit * Create AMP dashboard from external source with Grafana provider * Fix deprecated option * Fix Flux requirements * Run pre-commit * Update example with operator * Cleanup examples * Update multicluster example * Update multicluster example * Drop dead variable * Update docs * Change GitOps branch name * Update docs * Replacing Secrets Manager to SSM to store Grafana API Key (#178) * Fixing SSM * Fixing SSM * Replacing Secrets Manager with SSM * Replacing Secrets Manager with SSM * Update architecture diagram * Update architecture diagram * Update README.md * Update index.md * Fixing Grafana Operator Version * Fix multicluster example * Update docs --------- Co-authored-by: Ela AWS <51791117+elamaran11@users.noreply.github.com> Co-authored-by: Elamaran Shanmugam <elamaran.shan@gmail.com>
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.