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

Add message_thread_id for Telegram contact points #1234

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

th0th
Copy link

@th0th th0th commented Dec 15, 2023

@th0th th0th requested a review from a team as a code owner December 15, 2023 11:33
Copy link

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.

@CLAassistant
Copy link

CLAassistant commented Dec 15, 2023

CLA assistant check
All committers have signed the CLA.

@@ -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"),
Copy link
Member

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

Copy link
Member

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 😄

@th0th th0th requested a review from a team as a code owner January 31, 2024 21:02
@th0th
Copy link
Author

th0th commented Jan 31, 2024

I synced my branch with upstream 👍

@julienduchesne
Copy link
Member

Can't really merge this until it's supported in Grafana unfortunately

@vanpt1114
Copy link

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?

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.

None yet

5 participants