This is an automated email from the ASF dual-hosted git repository.
tianxiaoliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/servicecomb-service-center.git
The following commit(s) were added to refs/heads/master by this push:
new 177f544 SCB-2094 Add metrics list (#740)
177f544 is described below
commit 177f5441819fc48b100ada375fa88e9549211793
Author: little-cui <[email protected]>
AuthorDate: Fri Nov 13 21:13:52 2020 +0800
SCB-2094 Add metrics list (#740)
---
README.md | 2 +-
docs/user-guides/metrics.md | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 39 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index d62813a..65a1b1d 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ It provides out of box support for metrics and tracing. It
has a web portal to m
- **[`Portal`](/frontend)**: Awesome web portal
- **Fault tolerance**: Multiple fault tolerance mechanism and design in the
architecture
- **Performance**: Performance/Caching design
- -
**[`Metrics`](https://service-center.readthedocs.io/en/latest/user-guides/integration-grafana.html)**:
Able to expose Prometheus metric API automatically
+ -
**[`Metrics`](https://service-center.readthedocs.io/en/latest/user-guides/integration-grafana.html)**:
Able to expose Prometheus metric API automatically,
[see](/docs/user-guides/metrics.md)
-
**[`Tracing`](https://service-center.readthedocs.io/en/latest/plugins-tracing/tracing.html)**:
Able to report tracing data to Zipkin server
-
**[`Pluginable`](https://service-center.readthedocs.io/en/latest/design-guides/plugin.html)**:
Able to load custom authentication, tls and other dynamic libraries
-
**[`CLI`](https://service-center.readthedocs.io/en/latest/intro/scctl.html)**:
Easy to control service center
diff --git a/docs/user-guides/metrics.md b/docs/user-guides/metrics.md
new file mode 100644
index 0000000..e3ead16
--- /dev/null
+++ b/docs/user-guides/metrics.md
@@ -0,0 +1,38 @@
+# All Metrics
+
+**FamilyName**: service_center
+
+### Server
+1. http_request_total
+1. http_success_total
+1. http_request_durations_microseconds
+1. http_query_per_seconds
+
+### Pub/Sub
+1. notify_publish_total
+1. notify_publish_durations_microseconds
+1. notify_subscriber_total
+
+### Meta
+1. db_heartbeat_total
+1. db_heartbeat_durations_microseconds
+1. db_service_total
+1. db_domain_total
+1. db_instance_total
+1. db_schema_total
+1. db_framework_total
+
+### Backend
+1. db_backend_event_total
+1. db_backend_event_durations_microseconds
+1. db_backend_operation_total
+1. db_backend_operation_durations_microseconds
+1. db_backend_total
+
+### System
+1. db_sc_total
+1. process_resident_memory_bytes
+1. process_cpu_seconds_total
+1. process_cpu_usage
+1. go_threads
+1. go_goroutines
\ No newline at end of file