Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alerting: Add MQTT notifications receiver #1746

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexander-akhmetov
Copy link

@alexander-akhmetov alexander-akhmetov commented Aug 3, 2024

Adds support for MQTT notifications receiver.

Example:

variable "grafana_mqtt_password" {
  type = string
}

resource "grafana_contact_point" "mqtt" {
  name = "mqtt-contact-point"

  mqtt {
    broker_url           = "ssl://127.0.0.1:8883"
    topic                = "grafana/alerts"
    insecure_skip_verify = false
    username             = "grafana"
    password             = var.grafana_mqtt_password
  }
}

Copy link

github-actions bot commented Aug 3, 2024

In order to lower resource usage and have a faster runtime, PRs will not run Cloud tests automatically.
To do so, a Grafana Labs employee must trigger the cloud acceptance tests workflow manually.

@@ -399,6 +399,36 @@ func TestAccContactPoint_notifiers10_3(t *testing.T) {
})
}

func TestAccContactPoint_notifiers11_3(t *testing.T) {
testutils.CheckCloudInstanceTestsEnabled(t) // Use 11.3 when released
Copy link
Contributor

Choose a reason for hiding this comment

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

should it have testutils.CheckOSSTestsEnabled(t, ">=11.3.0")?

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

Successfully merging this pull request may close these issues.

2 participants