From 2331303bca34d2e45f7f3cde415349cad3cafd88 Mon Sep 17 00:00:00 2001 From: kelseiv <47797004+kelseiv@users.noreply.github.com> Date: Fri, 9 Oct 2020 13:35:44 -0700 Subject: [PATCH] Revert "Add Telegram endpoint (addresses #1198 )" --- .../v2.0/monitor-alert/notification-endpoints/_index.md | 2 +- .../v2.0/monitor-alert/notification-endpoints/create.md | 4 ---- .../v2.0/reference/flux/stdlib/contrib/telegram/_index.md | 6 +++--- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/content/influxdb/v2.0/monitor-alert/notification-endpoints/_index.md b/content/influxdb/v2.0/monitor-alert/notification-endpoints/_index.md index 54bba95bc..ad9e870b7 100644 --- a/content/influxdb/v2.0/monitor-alert/notification-endpoints/_index.md +++ b/content/influxdb/v2.0/monitor-alert/notification-endpoints/_index.md @@ -15,6 +15,6 @@ related: Notification endpoints store information to connect to a third party service. If you're using the Free Plan, create a Slack endpoint. -If you're using the Usage-based Plan, create a connection to a HTTP, Slack, Telegram, or PagerDuty endpoint. +If you're using the Usage-based Plan, create a connection to a HTTP, Slack, or PagerDuty endpoint. {{< children >}} diff --git a/content/influxdb/v2.0/monitor-alert/notification-endpoints/create.md b/content/influxdb/v2.0/monitor-alert/notification-endpoints/create.md index d7c2d6528..ad4fa83f7 100644 --- a/content/influxdb/v2.0/monitor-alert/notification-endpoints/create.md +++ b/content/influxdb/v2.0/monitor-alert/notification-endpoints/create.md @@ -31,7 +31,6 @@ To send notifications about changes in your data, start by creating a notificati | **Slack** | **{{< icon "check" >}}** | **{{< icon "check" >}}** | **{{< icon "check" >}}** | | **PagerDuty** | **{{< icon "check" >}}** | | **{{< icon "check" >}}** | | **HTTP** | **{{< icon "check" >}}** | | **{{< icon "check" >}}** | - | **Telegram** | **{{< icon "check" >}}** | **{{< icon "check" >}}** | **{{< icon "check" >}}** | 5. In the **Name** and **Description** fields, enter a name and description for the endpoint. 6. Enter enter information to connect to the endpoint: @@ -44,7 +43,4 @@ To send notifications about changes in your data, start by creating a notificati - [Create a new service](https://support.pagerduty.com/docs/services-and-integrations#section-create-a-new-service), [add an integration for your service](https://support.pagerduty.com/docs/services-and-integrations#section-add-integrations-to-an-existing-service), and then enter the PagerDuty integration key for your new service in the **Routing Key** field. - The **Client URL** provides a useful link in your PagerDuty notification. Enter any URL that you'd like to use to investigate issues. This URL is sent as the `client_url` property in the PagerDuty trigger event. By default, the **Client URL** is set to your Monitoring & Alerting History page, and the following included in the PagerDuty trigger event: `"client_url": "https://us-west-2-1.aws.cloud2.influxdata.net/orgs//alert-historyā€¯` - - For Telegram: - - Enter a Telegram **Bot Token** and **Chat ID**. For details, see [Set up a Telegram bot](/influxdb/v2.0/reference/flux/stdlib/contrib/telegram/#set-up-a-telegram-bot). - 6. Click **Create Notification Endpoint**. diff --git a/content/influxdb/v2.0/reference/flux/stdlib/contrib/telegram/_index.md b/content/influxdb/v2.0/reference/flux/stdlib/contrib/telegram/_index.md index bf53b4e2f..e21d0d838 100644 --- a/content/influxdb/v2.0/reference/flux/stdlib/contrib/telegram/_index.md +++ b/content/influxdb/v2.0/reference/flux/stdlib/contrib/telegram/_index.md @@ -24,8 +24,8 @@ import "contrib/sranka/telegram" {{< children type="functions" show="pages" >}} ## Set up a Telegram bot -The **Telegram Bot API** requires a **bot token** and a **chat ID**. -To set up a Telegram bot and obtain the required bot token and chat ID: +The **Telegram Bot API** requires a **bot token** and a **channel ID**. +To set up a Telegram bot and obtain the required bot token and channel ID: 1. [Create a new Telegram account](https://telegram.org/) or use an existing account. 2. [Create a Telegram bot](https://core.telegram.org/bots#creating-a-new-bot). @@ -40,7 +40,7 @@ To set up a Telegram bot and obtain the required bot token and chat ID: curl https://api.telegram.org/bot$token/getUpdates ``` - Find your **chat ID** in the `id` field of the response. + Find your **channel ID** in the `id` field of the response. {{% note %}}