mirror of
https://github.com/storytold/terraform-aws-observability-accelerator.git
synced 2026-10-09 00:09:43 +00:00
54c810e1a9
* Add support for tf 1.3+ * Bump min version * Bump blueprint version
Java based workloads monitoring
This module provides monitoring for Java based workloads with the following resources:
- AWS Distro For OpenTelemetry Operator and Collector
- AWS Managed Grafana Dashboard and data source
- Alerts and recording rules with AWS Managed Service for Prometheus
Requirements
| Name | Version |
|---|---|
| terraform | >= 1.1.0 |
| aws | >= 4.0.0 |
| grafana | >= 1.25.0 |
| helm | >= 2.4.1 |
| kubectl | >= 1.14 |
| kubernetes | >= 2.10 |
Providers
| Name | Version |
|---|---|
| aws | >= 4.0.0 |
| grafana | >= 1.25.0 |
Modules
| Name | Source | Version |
|---|---|---|
| helm_addon | github.com/aws-ia/terraform-aws-eks-blueprints//modules/kubernetes-addons/helm-addon | v4.13.1 |
Resources
| Name | Type |
|---|---|
| aws_prometheus_rule_group_namespace.alerting_rules | resource |
| aws_prometheus_rule_group_namespace.recording_rules | resource |
| grafana_dashboard.this | resource |
| aws_caller_identity.current | data source |
| aws_eks_cluster.eks_cluster | data source |
| aws_partition.current | data source |
| aws_region.current | data source |
Inputs
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| dashboards_folder_id | Grafana folder ID for automatic dashboards | string |
n/a | yes |
| eks_cluster_id | EKS Cluster Id | string |
n/a | yes |
| enable_alerting_rules | Enables or disables Managed Prometheus alerting rules | bool |
true |
no |
| enable_recording_rules | Enables or disables Managed Prometheus recording rules. Disabling this might affect some data in the dashboards | bool |
true |
no |
| helm_config | Helm Config for Prometheus | any |
{} |
no |
| irsa_iam_permissions_boundary | IAM permissions boundary for IRSA roles | string |
"" |
no |
| irsa_iam_role_path | IAM role path for IRSA roles | string |
"/" |
no |
| managed_prometheus_workspace_endpoint | Amazon Managed Prometheus Workspace Endpoint | string |
null |
no |
| managed_prometheus_workspace_id | Amazon Managed Prometheus Workspace ID | string |
null |
no |
| managed_prometheus_workspace_region | Amazon Managed Prometheus Workspace's Region | string |
null |
no |
| prometheus_config | Controls default values such as scrape interval, timeouts and ports globally | object({ |
{ |
no |
| tags | Additional tags (e.g. map('BusinessUnit,XYZ) |
map(string) |
{} |
no |
Outputs
| Name | Description |
|---|---|
| grafana_dashboard_urls | URLs for dashboards created |