Skip to content

Conversation

@omendra-tomar
Copy link
Contributor

Added new alert_group standard module (1.0) with comprehensive alert rule configuration, validation, and UI features. Updated prometheus module outputs to expose helm_release_name and namespace for alert_group integration.

Added new alert_group standard module (1.0) with comprehensive alert rule configuration, validation, and UI features. Updated prometheus module outputs to expose helm_release_name and namespace for alert_group integration.
alertmanager_url = "http://${module.name.name}-alertmanager.${var.environment.namespace}.svc.cluster.local:9093"
grafana_url = "http://${module.name.name}-grafana.${var.environment.namespace}.svc.cluster.local:80"
helm_release_id = helm_release.prometheus-operator.id
helm_release_name = module.name.name
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename to prometheus release name

}

# Create PrometheusRule CRD for alert rules
resource "kubernetes_manifest" "prometheus_rule" {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use helm release any resource


metadata = {
name = "${var.instance_name}-alert-group"
namespace = local.prometheus_namespace
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

var.env.namespace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants