Skip to content

Commit dbc3d7f

Browse files
youngbuparkAaronCrawfisyaron2tcnghia
authoredDec 12, 2020
Clean up unused metrics list (dapr#2556)
* clean up unused metrics list * Update links and references * Update sidecar capitalization Co-authored-by: Aaron Crawfis <[email protected]> Co-authored-by: Yaron Schneider <[email protected]> Co-authored-by: Nghia Tran <[email protected]>
1 parent e999635 commit dbc3d7f

File tree

5 files changed

+17
-16
lines changed

5 files changed

+17
-16
lines changed
 

‎docs/development/dapr-metrics.md

+6-12
Original file line numberDiff line numberDiff line change
@@ -91,22 +91,16 @@ Dapr leverages opencensus ocgrpc plugin to generate gRPC server and client metri
9191

9292
#### gRPC Server metrics
9393

94-
* dapr_grpc_io_server_received_bytes_per_rpc: Distribution of received bytes per RPC, by method.
95-
* dapr_grpc_io_server_sent_bytes_per_rpc: Distribution of total sent bytes per RPC, by method.
96-
* dapr_grpc_io_server_server_latency: Distribution of server latency in milliseconds, by method.
94+
* dapr_grpc_io_server_received_bytes_per_rpc_*: Distribution of received bytes per RPC, by method.
95+
* dapr_grpc_io_server_sent_bytes_per_rpc_*: Distribution of total sent bytes per RPC, by method.
96+
* dapr_grpc_io_server_server_latency_*: Distribution of server latency in milliseconds, by method.
9797
* dapr_grpc_io_server_completed_rpcs: Count of RPCs by method and status.
98-
* dapr_grpc_io_server_received_messages_per_rpc: Distribution of messages received count per RPC, by method.
99-
* dapr_grpc_io_server_sent_messages_per_rpc: Distribution of messages sent count per RPC, by method.
10098

10199
#### gRPC Client metrics
102100

103101
* dapr_grpc_io_client_sent_bytes_per_rpc: Distribution of bytes sent per RPC, by method.
104-
* dapr_grpc_io_client_received_bytes_per_rpc: Distribution of bytes received per RPC, by method.
105-
* dapr_grpc_io_client_roundtrip_latency: Distribution of round-trip latency, by method.
106-
* dapr_grpc_io_client_completed_rpcs: Count of RPCs by method and status.
107-
* dapr_grpc_io_client_sent_messages_per_rpc: Distribution of sent messages count per RPC, by method.
108-
* dapr_grpc_io_client_received_messages_per_rpc: Distribution of received messages count per RPC, by method.
109-
* dapr_grpc_io_client_server_latency: Distribution of server latency as viewed by client, by method.
102+
* dapr_grpc_io_client_received_bytes_per_rpc_*: Distribution of bytes received per RPC, by method.
103+
* dapr_grpc_io_client_completed_rpcs_*: Count of RPCs by method and status.
110104

111105
### HTTP monitoring metrics
112106

@@ -126,4 +120,4 @@ We support only server side metrics.
126120
* dapr_http/client/sent_bytes: Total bytes sent in request body (not including headers)
127121
* dapr_http/client/received_bytes: Total bytes received in response bodies (not including headers but including error responses with bodies)
128122
* dapr_http/client/roundtrip_latency: End-to-end latency
129-
* dapr_http/client/completed_count: Count of completed requests
123+
* dapr_http/client/completed_count: Count of completed requests

‎grafana/README.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,20 @@ This includes dashboard templates to monitor Dapr system services and sidecars.
44

55
## Grafana
66

7-
You can set up [Prometheus and Grafana](https://docs.dapr.io/operations/monitoring/prometheus/) and import the templates to your Grafana dashboard to monitor Dapr.
7+
You can set up [Prometheus](https://docs.dapr.io/operations/monitoring/prometheus/) and [Grafana](https://docs.dapr.io/operations/monitoring/grafana/) and import the templates to your Grafana dashboard to monitor Dapr.
88

99
1. [Dapr System Service Dashboard](./grafana-system-services-dashboard.json)
10-
- [Shows Dapr system component status](/img/system-service-dashboard.png) - dapr-operator, dapr-sidecar-injector, dapr-sentry, and dapr-placement
10+
- Shows Dapr system service status - dapr-operator, dapr-sidecar-injector, dapr-sentry, and dapr-placement
1111

1212
2. [Dapr Sidecar Dashboard](./grafana-sidecar-dashboard.json)
13-
- [Shows Dapr Sidecar status](/img/sidecar-dashboard.png) - sidecar health/resources, throughput/latency of HTTP and gRPC, Actor, mTLS, etc.
13+
- Shows Dapr sidecar status - sidecar health/resources, throughput/latency of HTTP and gRPC, Actor, mTLS, etc.
1414

1515
3. [Dapr Actor Dashboard](./grafana-actor-dashboard.json)
16-
- [Shows Dapr Sidecar status](/img/actor-dashboard.png) - actor invocation throughput/latency, timer/reminder triggers, and turn-based concurrnecy.
16+
- Shows Dapr sidecar status - actor invocation throughput/latency, timer/reminder triggers, and turn-based concurrnecy.
17+
18+
## Reference
19+
20+
* [Supported Dapr metrics](../docs/development/dapr-metrics.md)
21+
* [Dapr Observability](https://docs.dapr.io/concepts/observability-concept)
22+
* [Setup Prometheus](https://docs.dapr.io/operations/monitoring/prometheus/)
23+
* [Setup Grafana](https://docs.dapr.io/operations/monitoring/grafana/)

‎img/actor-dashboard.png

-529 KB
Binary file not shown.

‎img/sidecar-dashboard.png

-605 KB
Binary file not shown.

‎img/system-service-dashboard.png

-523 KB
Binary file not shown.

0 commit comments

Comments
 (0)