ViewName
field; in the Prometheus integration scenario, the view can be ignored.View Name | Description |
service_metric | Statistically analyze the general performance of applications, such as request quantity and response time. |
error_metric | Count the number of errors in the link. |
sql_metric | Statistically analyze the performance of application accessing the database, such as the number of SQL executions and response time. |
mq_metric | Statistically analyze the performance of applications accessing TDMQ, such as the number of message productions and response time. |
TencentCloud API Dimension Name | Prometheus Tag Name | Description |
tapm.app.id | tapm_app_id | Cloud AppID |
tapm.instance.key | apm_instance | APM Instance ID |
service.name | apm_service_name | Application Name |
service.instance | service_instance | Application Instance |
agent.version | agent_version | Probe version number |
service.version | service_version | Application version |
span.kind
, representing the span type. For details, see below.TencentCloud API Metric Name | Prometheus Metric Name | Type | Description | Unit | Bucket Distribution |
request_count | service_request_count | Gauge | Number of requests | - | - |
error_request_count | service_error_request_count | Gauge | Number of Error Requests | - | - |
duration_avg | service_duration_avg | Gauge | Average time consumption | ms | - |
duration_max | service_duration_max | Gauge | Maximum Duration | ms | - |
duration_min | service_duration_min | Gauge | Minimum time consumption | ms | - |
slow_request_count | service_slow_request_count | Gauge | Quantity of slow calls (>2000ms) | - | - |
tolerate_request_count | service_tolerate_request_count | Gauge | Tolerable quantity of calls (500 - 2000ms) | - | - |
duration_p50 | service_duration_p50 | Gauge | p50 duration | ms | - |
duration_p90 | service_duration_p90 | Gauge | p90 duration | ms | - |
duration_p95 | service_duration_p95 | Gauge | p95 duration | ms | - |
duration_p99 | service_duration_p99 | Gauge | p99 duration | ms | - |
range_count_duration | Not supported. | Histogram | Duration distribution. | - | 0,1,5,10,50,100,200,300,400,500,600,700,800,900,1000,1500,2000,3000,4000,5000,7000,10000,15000 |
TencentCloud API Dimension Name | Prometheus Tag Name | Description |
span.kind | span_kind | Span Type |
service.component | service_component | Component Type |
peer.service | peer_service | Peer Application Name |
peer.operation | peer_operation | Peer API Name |
peer.filled | peer_filled | Peer Application Name after APM processing |
operation | operation | API Name |
peer.instance | peer_instance | Peer Instance |
status.message | status_message | Request Status Information |
status.code | status_code | Request Status Codes |
status_code_xx | status_code_xx | Status code after APM processing |
error.object | error_object | Error type |
namespace | namespace | Namespace |
service.view | service_view | Component view (enumeration value: "sql", "mq", or empty if none) |
k8s.deployment.name | k8s_deployment_name | Kubernetes workload name |
k8s.pod.name | k8s_pod_name | Kubernetes Pod name |
k8s.namespace.name | k8s_namespace_name | Kubernetes namespace |
k8s.cluster.id | k8s_cluster_id | The ID of the TKE cluster. |
k8s.region | k8s_region | The region of the TKE cluster |
k8s.pod.ip | k8s_pod_ip | Kubernetes Pod IP |
k8s.node.ip | k8s_node_ip | Kubernetes node IP |
cvm.region | cvm_region | The area where the CVM is located |
cvm.instance.id | cvm_instance_id | CVM Instance ID |
custom_key_1 | custom_key_1 | Custom dimension 1 |
custom_key_2 | custom_key_2 | Custom dimension 2 |
custom_key_3 | custom_key_3 | Custom dimension 3 |
TencentCloud API Metric Name | Prometheus Metric Name | Type | Description | Unit |
error_request_count | error_error_request_count | Gauge | Error Requests | - |
last_error_occur_time | error_last_error_occur_time | Gauge | Last error occurrence time | ms |
TencentCloud API Dimension Name | Prometheus Tag Name | Description |
service.component | service_component | Component Type |
span.kind | span_kind | Span Type |
operation | operation | API Name |
error.object | error_object | Error type |
peer.service | peer_service | Peer Application Name |
custom_key_1 | custom_key_1 | Custom dimension 1 |
custom_key_2 | custom_key_2 | Custom dimension 2 |
custom_key_3 | custom_key_3 | Custom dimension 3 |
TencentCloud API Metric Name | Prometheus Metric Name | Type | Description | Unit |
duration_avg | sql_duration_avg | Gauge | Average time consumption | - |
last_error_occur_time | sql_last_error_occur_time | Gauge | Last error occurrence time | ms |
error_request_count | sql_error_request_count | Gauge | Number of Error Requests | ms |
request_count | sql_request_count | Gauge | Number of requests | ms |
slow_sql_count | sql_slow_sql_count | Gauge | Quantity of slow SQLs (>2000ms) | - |
TencentCloud API Dimension Name | Prometheus Tag Name | Description |
service.component | service_component | Component Type |
span.kind | span_kind | Span Type |
db.statement | db_statement | Execution statement. |
db.instance | db_instance | Instance address of the database |
db.ip | db_ip | IP Address |
db.operation | db_operation | Operation Type |
error.object | error_object | Error type |
db.system | db_system | Database Type |
attack.subtype | attack_subtype | Injection type |
attack.symbol | attack_symbol | Injection mark: 0 No injection, 1 Suspected injection |
attack.level | attack_level | Injection level: Critical, Important, Moderate, Low, info |
custom_key_1 | custom_key_1 | Custom dimension 1 |
custom_key_2 | custom_key_2 | Custom dimension 2 |
custom_key_3 | custom_key_3 | Custom dimension 3 |
TencentCloud API Metric Name | Prometheus Metric Name | Type | Description | Unit | Bucket Distribution |
duration_avg | mq_duration_avg | Gauge | Average time consumption | ms | - |
error_request_count | mq_error_request_count | Gauge | Number of Errors | - | - |
request_count | mq_request_count | Gauge | Number of requests | - | - |
range_count_duration | Not supported. | Histogram | Duration distribution | - | 0,1,5,10,50,100,200,300,400,500,600,700,800,900,1000,1500,2000,3000 |
TencentCloud API Dimension Name | Prometheus Tag Name | Description |
component | component | Component Type |
span.kind | span_kind | Span Type |
peer.service | peer_service | Peer Application Name |
mq.topic | mq_topic | Cloud Message Queue Topic Name |
mq.broker | mq_broker | Broker address of the message queue |
operation | operation | API Name |
status.code | status_code | Request status |
status_code_xx | status_code_xx | Status code after APM processing |
error.object | error_object | Error type |