Closed zking2000 closed 1 month ago
# 请求总数
curl -X POST http://localhost:8080/actuator/prometheus/counter -H "Content-Type: text/plain" -d 'requests_total 1'
# 错误总数
curl -X POST http://localhost:8080/actuator/prometheus/counter -H "Content-Type: text/plain" -d 'errors_total 1'
# 重试总数
curl -X POST http://localhost:8080/actuator/prometheus/counter -H "Content-Type: text/plain" -d 'retries_total 1'
# 跟踪调用总数
curl -X POST http://localhost:8080/actuator/prometheus/counter -H "Content-Type: text/plain" -d 'traces_spanmetrics_calls_total 1'
# 服务图请求总数
curl -X POST http://localhost:8080/actuator/prometheus/counter -H "Content-Type: text/plain" -d 'traces_service_graph_request_total 1'
# 服务图请求失败总数
curl -X POST http://localhost:8080/actuator/prometheus/counter -H "Content-Type: text/plain" -d 'traces_service_graph_request_failed_total 1'
# 服务图未配对跨度总数
curl -X POST http://localhost:8080/actuator/prometheus/counter -H "Content-Type: text/plain" -d 'traces_service_graph_unpaired_spans_total 1'
# 服务图丢弃跨度总数
curl -X POST http://localhost:8080/actuator/prometheus/counter -H "Content-Type: text/plain" -d 'traces_service_graph_dropped_spans_total 1'
curl -X POST 'http://localhost:8080/actuator/dynamicmetrics/my_counter?type=counter'