From c3f186cab826213bd95c5bb511bbe990b29f2495 Mon Sep 17 00:00:00 2001 From: thenicetgp <13120413800@163.com> Date: Wed, 30 Nov 2022 11:21:58 +0800 Subject: [PATCH] add CHANGELOG and metrics doc Signed-off-by: thenicetgp <13120413800@163.com> --- CHANGELOG.md | 2 +- docs/prometheus_metrics.md | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b5e700fde..796a8a93c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ ## Unreleased ### New features - -- +- Support the protocol RocketMQ.([#328](https://github.com/KindlingProject/kindling/pull/328)) - Add a new tool: A debug tool for Trace Profiling is provided for developers to troubleshoot problems.([#363](https://github.com/CloudDectective-Harmonycloud/kindling/pull/363)) diff --git a/docs/prometheus_metrics.md b/docs/prometheus_metrics.md index 41da62771..83aa1d919 100644 --- a/docs/prometheus_metrics.md +++ b/docs/prometheus_metrics.md @@ -75,6 +75,13 @@ Service metrics are generated from the server-side events, which are used to sho | `request_content` | GET | The command of the Redis request. | | `response_content` | noerror | The value is either `error` or `noerror`. | +- When protocol is `rocketmq`: + +| **Label** | **Example** | **Notes** | +| --- |-------------|----------------------------------------------------------| +| `request_content` | TopicTest | Topic of RocketMQ request. | +| `response_content` | 0 | response code of RocketMQ. 0 means OK, others mean Error | + - For other cases, the `request_content` and `response_content` are both empty. **Note 3**: The histogram metric `kindling_entity_request_average_duration_nanoseconds_*` is disabled by default as it could be high-cardinality. If this metric is needed, please add a new line to the `exporters.otelexporter.metric_aggregation_map` section of the configuration file. @@ -140,6 +147,7 @@ These two terms are composed of two parts. - **mysql**: `Error Code` of the error response. - **dubbo**: `Error Code` of Dubbo request. - **redis**: `0` if there is no error; `1` otherwise. +- **rocketmq**: `Response Code` of RocketMQ response. - **others**: empty temporarily. **Note 3**: The histogram metric `kindling_topology_request_average_duration_nanoseconds_*` is disabled by default as it could be high-cardinality. If this metric is needed, please add a new line to the `exporters.otelexporter.metric_aggregation_map` section of the configuration file.