tencent cloud

Tencent Cloud Observability Platform

Release Notes and Announcements
Release Notes
Product Introduction
Overview
Strengths
Basic Features
Basic Concepts
Use Cases
Use Limits
Purchase Guide
Tencent Cloud Product Monitoring
Application Performance Management
Mobile App Performance Monitoring
Real User Monitoring
Cloud Automated Testing
Prometheus Monitoring
Grafana
EventBridge
PTS
Quick Start
Monitoring Overview
Instance Group
Tencent Cloud Product Monitoring
Application Performance Management
Real User Monitoring
Cloud Automated Testing
Performance Testing Service
Prometheus Getting Started
Grafana
Dashboard Creation
EventBridge
Alarm Service
Cloud Product Monitoring
Tencent Cloud Service Metrics
Operation Guide
CVM Agents
Cloud Product Monitoring Integration with Grafana
Troubleshooting
Practical Tutorial
Application Performance Management
Product Introduction
Access Guide
Operation Guide
Practical Tutorial
Parameter Information
FAQs
Mobile App Performance Monitoring
Overview
Operation Guide
Access Guide
Practical Tutorial
Tencent Cloud Real User Monitoring
Product Introduction
Operation Guide
Connection Guide
FAQs
Cloud Automated Testing
Product Introduction
Operation Guide
FAQs
Performance Testing Service
Overview
Operation Guide
Practice Tutorial
JavaScript API List
FAQs
Prometheus Monitoring
Product Introduction
Access Guide
Operation Guide
Practical Tutorial
Terraform
FAQs
Grafana
Product Introduction
Operation Guide
Guide on Grafana Common Features
FAQs
Dashboard
Overview
Operation Guide
Alarm Management
Console Operation Guide
Troubleshooting
FAQs
EventBridge
Product Introduction
Operation Guide
Practical Tutorial
FAQs
Report Management
FAQs
General
Alarm Service
Concepts
Monitoring Charts
CVM Agents
Dynamic Alarm Threshold
CM Connection to Grafana
Documentation Guide
Related Agreements
Application Performance Management Service Level Agreement
APM Privacy Policy
APM Data Processing And Security Agreement
RUM Service Level Agreement
Mobile Performance Monitoring Service Level Agreement
Cloud Automated Testing Service Level Agreement
Prometheus Service Level Agreement
TCMG Service Level Agreements
PTS Service Level Agreement
PTS Use Limits
Cloud Monitor Service Level Agreement
API Documentation
History
Introduction
API Category
Making API Requests
Monitoring Data Query APIs
Alarm APIs
Legacy Alert APIs
Notification Template APIs
TMP APIs
Grafana Service APIs
Event Center APIs
TencentCloud Managed Service for Prometheus APIs
Monitoring APIs
Data Types
Error Codes
Glossary

Create a Notification Content Template

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2025-01-22 17:17:41

Overview

With a custom notification content template, you can customize the content received through different Alarm notification channels. This article will guide you on how to create a custom notification content template.

Operation Steps

2. Click Create Notification Content Template to enter the page for creating a notification content template. The configuration instructions are as follows:
Configuration Type
Configuration Item
Description
Basic Info
Template Name
Custom template name.
Notification Language
Select the notification language type, supporting Chinese and English.
Monitoring Type
Currently supports only Cloud Product Monitoring.
Notification Content
Email
The title length cannot exceed 20 characters (after variable rendering), and the content length cannot exceed 2M (after variable rendering). The excess part will be truncated and cannot be displayed.
SMS
The content length cannot exceed 500 characters (after variable rendering). The excess part will be truncated and cannot be displayed.
Call
The content length cannot exceed 350 characters (after variable rendering). The excess part will be truncated and not broadcast.
Note:
The phone channel is only available to allowlist users. To use this channel, please submit a ticket.
WeCom robot
The content length cannot exceed 1000 characters (after variable rendering). The excess part will be truncated and cannot be displayed.
DingTalk robot
The title length cannot exceed 50 characters (after variable rendering), and the content length cannot exceed 1000 characters (after variable rendering). The excess part will be truncated and cannot be displayed.
Note:
The DingTalk robot requires two line breaks for newline.
If the DingTalk robot selects a custom keyword as a security setting, the custom notification content must include the relevant keyword, otherwise, the user will not receive the Alarm notification through the DingTalk robot channel.
Feishu robot
The title length cannot exceed 50 characters (after variable rendering), and the content length cannot exceed 1000 characters (after variable rendering). The excess part will be truncated and cannot be displayed.
Note:
Users can click Use Preset Notification Content. After clicking, the preset notification content will be automatically filled in, and users can customize it based on the preset notification content.
The list on the right side of the notification content shows the currently supported variable placeholders, which users can click to copy and use directly.
3. After editing the notification content, click OK to create it successfully.

Note:
Users need to configure at least one notification channel's content, otherwise, the notification content template cannot be saved.
There is a length limit for notification content in different channels. If the notification content configured by the user (unrendered) exceeds the length limit, the notification content template cannot be saved.
4. After creating a custom notification content template, users can select the custom notification content template when configuring alarm notifications in Create Alarm Policy > Configure Alarm Notification. Once configured, alarm notifications will be sent according to the template.

Note:
Users can only select notification content templates that match the language of the notification template.
If the language of the associated notification template is changed and does not match the language of the notification content template, the system will send alarm notifications according to the preset notification content of the notification template.

Variable Description

Currently, only the following variables are supported as placeholders for custom notification content. If the user uses an invalid variable, an error may occur, causing the notification content template to fail to save.
Variable
Description
Example
{{.content}}
Alarm Content
CPU Utilization > 0%
{{.current_value_content}}
Current Data
95.6% (CPU Utilization)
{{.object}}
Alarm Object
10.0.0.1 (Internal) | ins-123456 | as-tke-np-abc
{{.tag_fmt}}
Resource Tag (Formatted)(Only supported by some cloud products)
(Business Department: Cloud Monitoring)(Function: Alarm)
{{.policy_name}}
Alarm Policy Name
Tencent Cloud Monitoring Alarm
{{.policy_id}}
Alarm Policy ID
policy-abc123
{{.first_trigger_time}}
First Trigger Time Seconds
1732867259
{{.first_trigger_time_fmt}}
First Trigger Time (Formatted)
2024-07-09 14:35:00 (UTC+08:00)
{{.trigger_time}}
Current Trigger Time Seconds
1732867259
{{.trigger_time_fmt}}
Current Trigger Time (Formatted)
2024-07-09 14:35:00 (UTC+08:00)
{{.recovery_time}}
Alarm Recovery Time (Seconds)
1732867259
{{.recovery_time_fmt}}
Alarm Recovery Time (Formatted)
2024-07-09 14:35:00 (UTC+08:00)
{{.duration}}
Duration Seconds
1000
{{.duration_fmt}}
Duration (Formatted)
5h4m3s
{{.current_level}}
Current Level
None Note Warn Serious
{{.current_level_fmt}}
Current Level (Formatted)
Note Warn Serious
{{.last_level}}
Last Level
None Note Warn Serious
{{.last_level_fmt}}
Last Level (Formatted)
Note Warn Serious
{{.console_link}}
Console Link
Tencent Cloud Observability Platform Alarm Details Page Link
{{.miniprogram_link}}
Mini Program Link
Tencent Cloud Assistant Mini Program Cloud Monitoring Alarm Details Page Link
{{.region}}
Region
ap-guangzhou (Standard Region Code for Cloud API)
{{.region_fmt}}
Region (Formatted)
Guangzhou
{{.status}}
Alarm Status
Trigger Recovery
{{.status_fmt}}
Alarm Status (Formatted)
Trigger Recovery
{{.server_name}}
Cloud Product Name - Policy Type
Cloud Virtual Machine
{{.tooltip_text}}
Alarm Policy Hint (only some cloud products have this)
Alarm Description: The basic CPU usage rate is the data collected from the host.
{{.app_id}}
Account App ID
123000456
{{.project_name}}
Project Name
Default
{{.status_level_fmt}}
Alarm Status and Level Display (Formatted)
Trigger Continue Recovery Upgrade Downgrade





도움말 및 지원

문제 해결에 도움이 되었나요?

피드백