-
Notifications
You must be signed in to change notification settings - Fork 218
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
Add message_thread_id for Telegram contact points #1234
base: main
Are you sure you want to change the base?
Conversation
In order to lower resource usage and have a faster runtime, PRs will not run Cloud tests automatically. |
internal/resources/grafana/resource_alerting_contact_point_notifiers.go
Outdated
Show resolved
Hide resolved
@@ -264,6 +264,7 @@ func TestAccContactPoint_notifiers(t *testing.T) { | |||
resource.TestCheckResourceAttr("grafana_contact_point.receiver_types", "telegram.#", "1"), | |||
resource.TestCheckResourceAttr("grafana_contact_point.receiver_types", "telegram.0.token", "token"), | |||
resource.TestCheckResourceAttr("grafana_contact_point.receiver_types", "telegram.0.chat_id", "chat-id"), | |||
resource.TestCheckResourceAttr("grafana_contact_point.receiver_types", "telegram.0.message_thread_id", "message-thread-id"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm wondering why that passes. That's not the value in the test file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh wait, it doesn't. Tests hadn't run 😄
I synced my branch with upstream 👍 |
Can't really merge this until it's supported in Grafana unfortunately |
I think Grafana Alerting has supported the Telegram message_thread_id, I can observe it from the UI, so is this PR good to merge? |
See prometheus/alertmanager#3638.