Skip to content

Commit

Permalink
Clean up unused metrics list (dapr#2556)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
4 people authored Dec 12, 2020
1 parent e999635 commit dbc3d7f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 16 deletions.
18 changes: 6 additions & 12 deletions docs/development/dapr-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,22 +91,16 @@ Dapr leverages opencensus ocgrpc plugin to generate gRPC server and client metri

#### gRPC Server metrics

* dapr_grpc_io_server_received_bytes_per_rpc: Distribution of received bytes per RPC, by method.
* dapr_grpc_io_server_sent_bytes_per_rpc: Distribution of total sent bytes per RPC, by method.
* dapr_grpc_io_server_server_latency: Distribution of server latency in milliseconds, by method.
* dapr_grpc_io_server_received_bytes_per_rpc_*: Distribution of received bytes per RPC, by method.
* dapr_grpc_io_server_sent_bytes_per_rpc_*: Distribution of total sent bytes per RPC, by method.
* dapr_grpc_io_server_server_latency_*: Distribution of server latency in milliseconds, by method.
* dapr_grpc_io_server_completed_rpcs: Count of RPCs by method and status.
* dapr_grpc_io_server_received_messages_per_rpc: Distribution of messages received count per RPC, by method.
* dapr_grpc_io_server_sent_messages_per_rpc: Distribution of messages sent count per RPC, by method.

#### gRPC Client metrics

* dapr_grpc_io_client_sent_bytes_per_rpc: Distribution of bytes sent per RPC, by method.
* dapr_grpc_io_client_received_bytes_per_rpc: Distribution of bytes received per RPC, by method.
* dapr_grpc_io_client_roundtrip_latency: Distribution of round-trip latency, by method.
* dapr_grpc_io_client_completed_rpcs: Count of RPCs by method and status.
* dapr_grpc_io_client_sent_messages_per_rpc: Distribution of sent messages count per RPC, by method.
* dapr_grpc_io_client_received_messages_per_rpc: Distribution of received messages count per RPC, by method.
* dapr_grpc_io_client_server_latency: Distribution of server latency as viewed by client, by method.
* dapr_grpc_io_client_received_bytes_per_rpc_*: Distribution of bytes received per RPC, by method.
* dapr_grpc_io_client_completed_rpcs_*: Count of RPCs by method and status.

### HTTP monitoring metrics

Expand All @@ -126,4 +120,4 @@ We support only server side metrics.
* dapr_http/client/sent_bytes: Total bytes sent in request body (not including headers)
* dapr_http/client/received_bytes: Total bytes received in response bodies (not including headers but including error responses with bodies)
* dapr_http/client/roundtrip_latency: End-to-end latency
* dapr_http/client/completed_count: Count of completed requests
* dapr_http/client/completed_count: Count of completed requests
15 changes: 11 additions & 4 deletions grafana/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,20 @@ This includes dashboard templates to monitor Dapr system services and sidecars.

## Grafana

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.
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.

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

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

3. [Dapr Actor Dashboard](./grafana-actor-dashboard.json)
- [Shows Dapr Sidecar status](/img/actor-dashboard.png) - actor invocation throughput/latency, timer/reminder triggers, and turn-based concurrnecy.
- Shows Dapr sidecar status - actor invocation throughput/latency, timer/reminder triggers, and turn-based concurrnecy.

## Reference

* [Supported Dapr metrics](../docs/development/dapr-metrics.md)
* [Dapr Observability](https://docs.dapr.io/concepts/observability-concept)
* [Setup Prometheus](https://docs.dapr.io/operations/monitoring/prometheus/)
* [Setup Grafana](https://docs.dapr.io/operations/monitoring/grafana/)
Binary file removed img/actor-dashboard.png
Binary file not shown.
Binary file removed img/sidecar-dashboard.png
Binary file not shown.
Binary file removed img/system-service-dashboard.png
Binary file not shown.

0 comments on commit dbc3d7f

Please sign in to comment.