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

Installing tencent-opentelemetry-operator

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2025-03-25 16:20:53
For applications deployed on Kubernetes, the Tencent Cloud observability team offers an Operator solution: tencent-opentelemetry-operator. Built upon the community opentelemetry-operator, it enables agent automatic injection, facilitating applications connecting APM quickly. Currently, tencent-opentelemetry-operator supports programming languages including Java, Python, Node.js, and .Net.
Note:
tencent-opentelemetry-operator supports Kubernetes version 1.19 and above.

Configuration Items Description

tencent-opentelemetry-operator is deployed via Helm, with all configuration items centralized in values.yaml. Pay attention to the hierarchical relationship of parameters within the YAML file. See the following YAML snippet:
env:
TKE_CLUSTER_ID: "cls-ky8nmlra"
TKE_REGION: "ap-guangzhou"
APM_ENDPOINT: "http://pl.ap-guangzhou.apm.tencentcs.com:4317"
APM_TOKEN: "apmdemotoken"

Required Field

Parameter
Description
env.TKE_CLUSTER_ID
TKE cluster ID. For non-TKE clusters, set it to "N/A".
env.TKE_REGION
TKE Cluster region, for example, ap-guangzhou. For more details, see CVM Regions and AZs value range. For non-TKE clusters, set it to "N/A".
env.ENDPOINT
PM Access Point. Each cluster can only use a unique APM access point. Obtain the access point from the business system. If a public network access point is used, set env.FROM_INTERNET: "true" at the same time.
env.APM_TOKEN
The default APM token of the cluster. The APM token represents the business system that needs to be accessed. Obtain the token from the business system. You can specify the token of other business systems in the workload to override the default token of the cluster.
env.INTL_SITE
Set it to "true".

Optional Field

Parameter
Description
env.JAVA_INSTR_VERSION
Java agent version, can be set to latest (default) or a specific version number, it is not recommended to set this field unless necessary.
env.PYTHON_INSTR_VERSION
Python agent version, can be set to latest (default) or a specific version number, it is not recommended to set this field unless necessary.
env.NODEJS_INSTR_VERSION
Node.js agent version, can be set to latest (default) or a specific version; it is not recommended to set this field unless necessary.
env.DOTNET_INSTR_VERSION
f accessing from the public network, set it to "true" (also need to set env.ENDPOINT to the public network access point).
Note:
If you need to specify a specific version number of the Agent, go to Agent Version Information to get the version number.

Installing Method

One-click Installation via the APM Console (Recommended)

Due to the complexity of filling configuration items, it is recommended to use the one-click installation of the tencent-opentelemetry-operator feature via the APM console to simplify the installation steps.
1. Log in to the TCOP console.
2. In the left menu column, select Application Performance Management > Application list, and click Access application.
3. Select on the language you need to connect, and select Automatic onboarding of TKE environment as the reporting method.
4. Click Single Step Installation.
5. In the pop-up dialog box, select the corresponding reporting region, default business system, TKE's region, and TKE cluster, and click Install to complete the installation in the corresponding TKE cluster.
Note:
Only TKE standard clusters and TKE Serverless clusters are supported. TKE edge clusters and TKE registered clusters are not supported at this time.
The tencent-opentelemetry-operator one-click installed via in the APM console will be installed in the kube-system namespace. If you need to modify related configuration items, you can update the same TKE cluster through the console.

Installing via TKE Application Market

1. Log in to TKE console.
2. In the left sidebar, select Cluster Ops > Helm, search for tencent-opentelemetry-operator and click to enter.
3. Click Create application, select the TKE cluster you want to install, and fill in the required parameters to complete the installation.
Note:
Only TKE standard clusters and TKE Serverless clusters are supported. TKE edge clusters and TKE registered clusters are not supported at this time.
The tencent-opentelemetry-operator installed via the TKE application market can be installed in any namespace. In the same TKE cluster, only one tencent-opentelemetry-operator can be installed at most.

Common K8s Cluster Installation

Tencent-opentelemetry-operator supports common Kubernetes clusters and hybrid cloud scenarios. For Kubernetes clusters deployed in offline IDCs and other cloud platforms, as long as the Kubernetes version meets the requirements and the network between APM server-side is reachable, rapid integration can be achieved through Operator mode.
1. Install kubectl and Helm CLI. For installation methods, refer to Installing kubectl and Installing Helm CLI. Ensure the connectivity between the client and the Kubernetes cluster through Helm commands.
2. Download chart package and configuration file values.yaml. You can also use the wget command to download, and the corresponding addresses are as follows:
3. Refer to Configuration Items Description, fill in the necessary fields in values.yaml. For non-TKE clusters, set env.TKE_CLUSTER_ID and env.TKE_REGION to "N/A". If accessing from the public network, set env.FROM_INTERNET to "true" (also need to set env.ENDPOINT to the public network access point).
4. Install the operator using a local file, where my-release is the Chart name and can be customized. --values represents the file path of value.yaml.
helm install my-release /path/to/your/chart.tgz --values /path/to/your/values.yaml
Note:
When installing the Tencent OpenTelemetry Operator on a generic K8s cluster, public network access permission is required; otherwise, the Operator image cannot be pulled.

Connecting Applications

After the installation of tencent-opentelemetry-operator, the opentelemetry-operator-system namespace is automatically created, and related Kubernetes resources are created. By adding related annotations to the workloads that need to connect APM, agent automatic injection can be realized, and monitoring data can be reported to APM.


도움말 및 지원

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

피드백