Skip to content

Commit

Permalink
update the metric description doc
Browse files Browse the repository at this point in the history
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
  • Loading branch information
Daxin Wang committed Jun 8, 2022
1 parent d49454b commit ca4b7aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/prometheus_metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Service metrics are generated from the server-side events, which are used to sho
| **Label** | **Example** | **Notes** |
| --- | --- | --- |
| `request_content` | select employee | SQL of MySQL. SQL has been truncated to avoid high-cardinality. The format is ['operation' 'space' 'table']. |
| `response_content` | 1064 | Error code of MySQL. Only applicable when the response is in error type. |
| `response_content` | 1064 | Error code of MySQL. Only applicable when the response is in error type. See [codes introduction](https://dev.mysql.com/doc/mysql-errors/5.7/en/error-reference-introduction.html).|

- When protocol is `kafka`:

Expand All @@ -66,7 +66,7 @@ Service metrics are generated from the server-side events, which are used to sho
| **Label** | **Example** | **Notes** |
| --- |-------------------------|--------------------------|
| `request_content` | io.kindling.dubbo.api.service.OrderService#order | Service Info. The format of service is `package.class#method` |
| `response_content` | 20 | "error_code" of Dubbo. 20 means OK, more details at `https://dubbo.apache.org/en/blog/2018/10/05/introduction-to-the-dubbo-protocol/#dubbo-protocol-details` |
| `response_content` | 20 | "error_code" of Dubbo. 20 means OK, more details at the [docs](https://dubbo.apache.org/en/blog/2018/10/05/introduction-to-the-dubbo-protocol/#dubbo-protocol-details). |

- For other cases, the `request_content` and `response_content` are both empty.

Expand Down

0 comments on commit ca4b7aa

Please sign in to comment.