tencent cloud

All product documents
Tencent Cloud Observability Platform
Performance Testing Indicator Document
Last updated: 2025-03-10 22:20:39
Performance Testing Indicator Document
Last updated: 2025-03-10 22:20:39
This document introduces the performance testing metrics that PTS supports outputting to Prometheus for users' reference during integration.

Tag

Default Tag

All performance testing metrics output by PTS include the following three tags:
Instance: The IP address of the stress machine.
Job: PTS stress testing task ID, such as job-xxx.
Region: The region where the stress testing task runs, such as ap-guangzhou.

Other Tags

Other tags included in some performance testing metrics:
Method: The name of the request method. For example, in the HTTP protocol, the method can be GET, POST, PUT, etc.
Proto: Protocol name. For example, in the HTTP protocol, proto can be HTTP/1.1, HTTP/2, etc.
Service: Service name. For example, in the HTTP protocol, the service is the request URL, such as http://httpbin.org/get, etc.
Status: Response status code. For example, in the HTTP protocol, the status codes include 200, 404, 500, etc.
Result: Response details. The request result or failure can be judged through result.
The request is normal, and the value of the result Tag is ok.
Request failure, the result Tag carries an error code and description.
Detailed error code manual: Error Code Manual.
check: Check name, with the Tag value being the checkpoint name set by the user.
Note:
In WebSocket, the event corresponds to the method Tag, including:
Uplink messages: sendPing, sendPong, sendMessage, sendBinaryMessage.
Downstream messages: ping, pong, message, binaryMessage, error, open, close.

Metric

Metric Name
Type
Labels
Help Info
Description
pts_engine_req_total
counter
method, proto, service, status, result, instance, job, region
Total number of requests sent to server
Total number of requests
pts_engine_req_duration_seconds
histogram
method, proto, service, status, result, instance, job, region
Duration of request(second)
Duration of each request
pts_engine_req_max_duration_seconds
gauge
method, proto, service, status, result, instance, job, region
Max duration of request(second)
Maximum request duration
pts_engine_req_min_duration_seconds
gauge
method, proto, service, status, result, instance, job, region
Min duration of request(second)
Minimal request time consumption
pts_engine_req_send_duration_seconds
histogram
method, proto, service, status, result, instance, job, region
Duration of request sending(second)
Duration of sending a request
pts_engine_req_wait_duration_seconds
histogram
method, proto, service, status, result, instance, job, region
Duration of request waiting(second)
Duration of reading the first response byte
pts_engine_req_receive_duration_seconds
histogram
method, proto, service, status, result, instance, job, region
Duration of request receiving(second)
Duration of reading the complete response
pts_engine_req_block_duration_seconds
histogram
method, proto, service, status, result, instance, job, region
Duration of request blocked(second)
Duration of being blocked before initiating a request
pts_engine_req_connect_duration_seconds
histogram
method, proto, service, status, result, instance, job, region
Duration of request connecting(second)
Duration of establishing a connection with the remote host
pts_engine_req_tls_handshake_duration_seconds
histogram
method, proto, service, status, result, instance, job, region
Duration of request tls handshaking(second)
Duration of handshake with the remote host
pts_engine_req_dns_lookup_duration_seconds
histogram
method, proto, service, status, result, instance, job, region
Duration of request dns lookup(second)
DNS addressing duration
pts_engine_send_bytes_total
counter
method, proto, service, status, result, instance, job, region
Total number of bytes sent
Sent Bytes
pts_engine_receive_bytes_total
counter
method, proto, service, status, result, instance, job, region
Total number of bytes received
Received Bytes
pts_engine_checks_total
counter
check, result, instance, job, region
Total number of checks in requests
Total checkpoint execution count
container_cpu_usage_seconds_total
counter
instance, job, region
Cumulative cpu time consumed
Cumulative CPU Utilization Time
container_memory_usage_bytes
gauge
instance, job, region
Current memory usage, including all memory regardless of when it was accessed
Current Memory Usage
container_network_receive_bytes_total
counter
instance, job, region
Cumulative count of bytes received
Cumulative Received Bytes
container_network_transmit_bytes_total
counter
instance, job, region
Cumulative count of bytes transmitted
Cumulative Sent Bytes
kube_pod_resource_cpu_limits
gauge
instance, job, region
CPU limit in cores
CPU core capacity limit
kube_pod_resource_mem_limits
gauge
instance, job, region
Memory limit in bytes
Memory capacity limit
Note:
The buckets of the histogram metric are {0.001, 0.002, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2, 5, 10, 25, 50}.

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon