Add /db_metrics metrics endpoint for database metrics
With multiple Praefect instances running, each one will hit the database
for metrics. This causes unnecessary load on the database and in some
cases, fatally so. To fix this, we will add a new /db_metrics
endpoint so that
we can control how often they get scraped separately from /metrics
.
This is essentially a separate exporter, since it's now possible to configure scraping
separate from /metrics
. This has the immediate effect of relieving the database from
being hit by the RepositoryStoreCollector
queries.
Closes #3286 (closed)
testing:
curl 127.0.0.1:10101/metrics
# HELP gitaly_commands_running Total number of processes currently being executed
# TYPE gitaly_commands_running gauge
gitaly_commands_running 0
# HELP gitaly_list_commits_by_oid_request_size Number of commits requested in a ListCommitsByOid request
# TYPE gitaly_list_commits_by_oid_request_size histogram
gitaly_list_commits_by_oid_request_size_bucket{le="0.001"} 0
gitaly_list_commits_by_oid_request_size_bucket{le="1"} 0
gitaly_list_commits_by_oid_request_size_bucket{le="5"} 0
gitaly_list_commits_by_oid_request_size_bucket{le="10"} 0
gitaly_list_commits_by_oid_request_size_bucket{le="20"} 0
gitaly_list_commits_by_oid_request_size_bucket{le="+Inf"} 0
gitaly_list_commits_by_oid_request_size_sum 0
gitaly_list_commits_by_oid_request_size_count 0
# HELP gitaly_repository_optimizerepository_empty_dir_removal_total Total number of empty directories removed by OptimizeRepository RPC
# TYPE gitaly_repository_optimizerepository_empty_dir_removal_total counter
gitaly_repository_optimizerepository_empty_dir_removal_total 0
# HELP gitaly_spawn_timeouts_total Number of process spawn timeouts
# TYPE gitaly_spawn_timeouts_total counter
gitaly_spawn_timeouts_total 0
# HELP gitlab_build_info Current build info for this GitLab Service
# TYPE gitlab_build_info gauge
gitlab_build_info{built="20211116.213541",version="14.4.0-rc43-275-g041187c33"} 1
# HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles.
# TYPE go_gc_duration_seconds summary
go_gc_duration_seconds{quantile="0"} 5.0722e-05
go_gc_duration_seconds{quantile="0.25"} 0.000160594
go_gc_duration_seconds{quantile="0.5"} 0.000199846
go_gc_duration_seconds{quantile="0.75"} 0.000212996
go_gc_duration_seconds{quantile="1"} 0.0002464
go_gc_duration_seconds_sum 0.003570843
go_gc_duration_seconds_count 20
# HELP go_goroutines Number of goroutines that currently exist.
# TYPE go_goroutines gauge
go_goroutines 67
# HELP go_info Information about the Go environment.
# TYPE go_info gauge
go_info{version="go1.17.2"} 1
# HELP go_memstats_alloc_bytes Number of bytes allocated and still in use.
# TYPE go_memstats_alloc_bytes gauge
go_memstats_alloc_bytes 3.8534704e+07
# HELP go_memstats_alloc_bytes_total Total number of bytes allocated, even if freed.
# TYPE go_memstats_alloc_bytes_total counter
go_memstats_alloc_bytes_total 1.19996248e+08
# HELP go_memstats_buck_hash_sys_bytes Number of bytes used by the profiling bucket hash table.
# TYPE go_memstats_buck_hash_sys_bytes gauge
go_memstats_buck_hash_sys_bytes 1.478009e+06
# HELP go_memstats_frees_total Total number of frees.
# TYPE go_memstats_frees_total counter
go_memstats_frees_total 1.429858e+06
# HELP go_memstats_gc_cpu_fraction The fraction of this program's available CPU time used by the GC since the program started.
# TYPE go_memstats_gc_cpu_fraction gauge
go_memstats_gc_cpu_fraction 2.9838860704500352e-05
# HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata.
# TYPE go_memstats_gc_sys_bytes gauge
go_memstats_gc_sys_bytes 5.9362e+06
# HELP go_memstats_heap_alloc_bytes Number of heap bytes allocated and still in use.
# TYPE go_memstats_heap_alloc_bytes gauge
go_memstats_heap_alloc_bytes 3.8534704e+07
# HELP go_memstats_heap_idle_bytes Number of heap bytes waiting to be used.
# TYPE go_memstats_heap_idle_bytes gauge
go_memstats_heap_idle_bytes 2.4158208e+07
# HELP go_memstats_heap_inuse_bytes Number of heap bytes that are in use.
# TYPE go_memstats_heap_inuse_bytes gauge
go_memstats_heap_inuse_bytes 4.141056e+07
# HELP go_memstats_heap_objects Number of allocated objects.
# TYPE go_memstats_heap_objects gauge
go_memstats_heap_objects 411650
# HELP go_memstats_heap_released_bytes Number of heap bytes released to OS.
# TYPE go_memstats_heap_released_bytes gauge
go_memstats_heap_released_bytes 2.011136e+07
# HELP go_memstats_heap_sys_bytes Number of heap bytes obtained from system.
# TYPE go_memstats_heap_sys_bytes gauge
go_memstats_heap_sys_bytes 6.5568768e+07
# HELP go_memstats_last_gc_time_seconds Number of seconds since 1970 of last garbage collection.
# TYPE go_memstats_last_gc_time_seconds gauge
go_memstats_last_gc_time_seconds 1.6371170344944599e+09
# HELP go_memstats_lookups_total Total number of pointer lookups.
# TYPE go_memstats_lookups_total counter
go_memstats_lookups_total 0
# HELP go_memstats_mallocs_total Total number of mallocs.
# TYPE go_memstats_mallocs_total counter
go_memstats_mallocs_total 1.841508e+06
# HELP go_memstats_mcache_inuse_bytes Number of bytes in use by mcache structures.
# TYPE go_memstats_mcache_inuse_bytes gauge
go_memstats_mcache_inuse_bytes 14400
# HELP go_memstats_mcache_sys_bytes Number of bytes used for mcache structures obtained from system.
# TYPE go_memstats_mcache_sys_bytes gauge
go_memstats_mcache_sys_bytes 16384
# HELP go_memstats_mspan_inuse_bytes Number of bytes in use by mspan structures.
# TYPE go_memstats_mspan_inuse_bytes gauge
go_memstats_mspan_inuse_bytes 650216
# HELP go_memstats_mspan_sys_bytes Number of bytes used for mspan structures obtained from system.
# TYPE go_memstats_mspan_sys_bytes gauge
go_memstats_mspan_sys_bytes 786432
# HELP go_memstats_next_gc_bytes Number of heap bytes when next garbage collection will take place.
# TYPE go_memstats_next_gc_bytes gauge
go_memstats_next_gc_bytes 6.923688e+07
# HELP go_memstats_other_sys_bytes Number of bytes used for other system allocations.
# TYPE go_memstats_other_sys_bytes gauge
go_memstats_other_sys_bytes 2.613831e+06
# HELP go_memstats_stack_inuse_bytes Number of bytes in use by the stack allocator.
# TYPE go_memstats_stack_inuse_bytes gauge
go_memstats_stack_inuse_bytes 1.540096e+06
# HELP go_memstats_stack_sys_bytes Number of bytes obtained from system for stack allocator.
# TYPE go_memstats_stack_sys_bytes gauge
go_memstats_stack_sys_bytes 1.540096e+06
# HELP go_memstats_sys_bytes Number of bytes obtained from system.
# TYPE go_memstats_sys_bytes gauge
go_memstats_sys_bytes 7.793972e+07
# HELP go_threads Number of OS threads created.
# TYPE go_threads gauge
go_threads 18
# HELP grpc_client_handled_total Total number of RPCs completed by the client, regardless of success or failure.
# TYPE grpc_client_handled_total counter
grpc_client_handled_total{grpc_code="OK",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 1772
grpc_client_handled_total{grpc_code="Unavailable",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 13
# HELP grpc_client_handling_seconds Histogram of response latency (seconds) of the gRPC until it is finished by the application.
# TYPE grpc_client_handling_seconds histogram
grpc_client_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="0.001"} 1295
grpc_client_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="0.005"} 1770
grpc_client_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="0.025"} 1785
grpc_client_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="0.1"} 1785
grpc_client_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="0.5"} 1785
grpc_client_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="1"} 1785
grpc_client_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="10"} 1785
grpc_client_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="30"} 1785
grpc_client_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="60"} 1785
grpc_client_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="300"} 1785
grpc_client_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="1500"} 1785
grpc_client_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="+Inf"} 1785
grpc_client_handling_seconds_sum{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 1.7141517299999984
grpc_client_handling_seconds_count{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 1785
# HELP grpc_client_msg_received_total Total number of RPC stream messages received by the client.
# TYPE grpc_client_msg_received_total counter
grpc_client_msg_received_total{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 13
# HELP grpc_client_msg_sent_total Total number of gRPC stream messages sent by the client.
# TYPE grpc_client_msg_sent_total counter
grpc_client_msg_sent_total{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 1785
# HELP grpc_client_started_total Total number of RPCs started on the client.
# TYPE grpc_client_started_total counter
grpc_client_started_total{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 1785
# HELP grpc_server_handled_total Total number of RPCs completed on the server, regardless of success or failure.
# TYPE grpc_server_handled_total counter
grpc_server_handled_total{grpc_code="Aborted",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Aborted",grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Aborted",grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Aborted",grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Aborted",grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Aborted",grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Aborted",grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Aborted",grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Aborted",grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Aborted",grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="AlreadyExists",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="AlreadyExists",grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="AlreadyExists",grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="AlreadyExists",grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="AlreadyExists",grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="AlreadyExists",grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="AlreadyExists",grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="AlreadyExists",grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="AlreadyExists",grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="AlreadyExists",grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="Canceled",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Canceled",grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Canceled",grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Canceled",grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Canceled",grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Canceled",grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Canceled",grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Canceled",grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Canceled",grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Canceled",grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="DataLoss",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="DataLoss",grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="DataLoss",grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="DataLoss",grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="DataLoss",grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="DataLoss",grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="DataLoss",grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="DataLoss",grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="DataLoss",grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="DataLoss",grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="DeadlineExceeded",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="DeadlineExceeded",grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="DeadlineExceeded",grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="DeadlineExceeded",grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="DeadlineExceeded",grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="DeadlineExceeded",grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="DeadlineExceeded",grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="DeadlineExceeded",grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="DeadlineExceeded",grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="DeadlineExceeded",grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="FailedPrecondition",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="FailedPrecondition",grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="FailedPrecondition",grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="FailedPrecondition",grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="FailedPrecondition",grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="FailedPrecondition",grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="FailedPrecondition",grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="FailedPrecondition",grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="FailedPrecondition",grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="FailedPrecondition",grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="Internal",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Internal",grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Internal",grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Internal",grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Internal",grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Internal",grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Internal",grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Internal",grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Internal",grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Internal",grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="InvalidArgument",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="InvalidArgument",grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="InvalidArgument",grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="InvalidArgument",grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="InvalidArgument",grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="InvalidArgument",grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="InvalidArgument",grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="InvalidArgument",grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="InvalidArgument",grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="InvalidArgument",grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="NotFound",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="NotFound",grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="NotFound",grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="NotFound",grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="NotFound",grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="NotFound",grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="NotFound",grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="NotFound",grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="NotFound",grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="NotFound",grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="OK",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="OK",grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="OK",grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="OK",grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="OK",grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="OK",grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="OK",grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="OK",grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="OK",grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="OK",grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="OutOfRange",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="OutOfRange",grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="OutOfRange",grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="OutOfRange",grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="OutOfRange",grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="OutOfRange",grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="OutOfRange",grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="OutOfRange",grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="OutOfRange",grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="OutOfRange",grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="PermissionDenied",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="PermissionDenied",grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="PermissionDenied",grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="PermissionDenied",grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="PermissionDenied",grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="PermissionDenied",grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="PermissionDenied",grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="PermissionDenied",grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="PermissionDenied",grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="PermissionDenied",grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="ResourceExhausted",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="ResourceExhausted",grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="ResourceExhausted",grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="ResourceExhausted",grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="ResourceExhausted",grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="ResourceExhausted",grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="ResourceExhausted",grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="ResourceExhausted",grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="ResourceExhausted",grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="ResourceExhausted",grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="Unauthenticated",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unauthenticated",grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unauthenticated",grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unauthenticated",grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unauthenticated",grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unauthenticated",grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unauthenticated",grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unauthenticated",grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unauthenticated",grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unauthenticated",grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="Unavailable",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unavailable",grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unavailable",grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unavailable",grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unavailable",grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unavailable",grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unavailable",grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unavailable",grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unavailable",grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unavailable",grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="Unimplemented",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unimplemented",grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unimplemented",grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unimplemented",grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unimplemented",grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unimplemented",grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unimplemented",grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unimplemented",grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unimplemented",grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unimplemented",grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
grpc_server_handled_total{grpc_code="Unknown",grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unknown",grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unknown",grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unknown",grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unknown",grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unknown",grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unknown",grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unknown",grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unknown",grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handled_total{grpc_code="Unknown",grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
# HELP grpc_server_handling_seconds Histogram of response latency (seconds) of gRPC that had been application-level handled by the server.
# TYPE grpc_server_handling_seconds histogram
grpc_server_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="0.001"} 0
grpc_server_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="0.005"} 0
grpc_server_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="0.025"} 0
grpc_server_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="0.1"} 0
grpc_server_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="0.5"} 0
grpc_server_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="1"} 0
grpc_server_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="10"} 0
grpc_server_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="30"} 0
grpc_server_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="60"} 0
grpc_server_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="300"} 0
grpc_server_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="1500"} 0
grpc_server_handling_seconds_bucket{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary",le="+Inf"} 0
grpc_server_handling_seconds_sum{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handling_seconds_count{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_handling_seconds_bucket{grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.001"} 0
grpc_server_handling_seconds_bucket{grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.005"} 0
grpc_server_handling_seconds_bucket{grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.025"} 0
grpc_server_handling_seconds_bucket{grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.1"} 0
grpc_server_handling_seconds_bucket{grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.5"} 0
grpc_server_handling_seconds_bucket{grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="1"} 0
grpc_server_handling_seconds_bucket{grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="10"} 0
grpc_server_handling_seconds_bucket{grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="30"} 0
grpc_server_handling_seconds_bucket{grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="60"} 0
grpc_server_handling_seconds_bucket{grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="300"} 0
grpc_server_handling_seconds_bucket{grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="1500"} 0
grpc_server_handling_seconds_bucket{grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="+Inf"} 0
grpc_server_handling_seconds_sum{grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handling_seconds_count{grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handling_seconds_bucket{grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary",le="0.001"} 0
grpc_server_handling_seconds_bucket{grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary",le="0.005"} 0
grpc_server_handling_seconds_bucket{grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary",le="0.025"} 0
grpc_server_handling_seconds_bucket{grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary",le="0.1"} 0
grpc_server_handling_seconds_bucket{grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary",le="0.5"} 0
grpc_server_handling_seconds_bucket{grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary",le="1"} 0
grpc_server_handling_seconds_bucket{grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary",le="10"} 0
grpc_server_handling_seconds_bucket{grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary",le="30"} 0
grpc_server_handling_seconds_bucket{grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary",le="60"} 0
grpc_server_handling_seconds_bucket{grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary",le="300"} 0
grpc_server_handling_seconds_bucket{grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary",le="1500"} 0
grpc_server_handling_seconds_bucket{grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary",le="+Inf"} 0
grpc_server_handling_seconds_sum{grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handling_seconds_count{grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handling_seconds_bucket{grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.001"} 0
grpc_server_handling_seconds_bucket{grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.005"} 0
grpc_server_handling_seconds_bucket{grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.025"} 0
grpc_server_handling_seconds_bucket{grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.1"} 0
grpc_server_handling_seconds_bucket{grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.5"} 0
grpc_server_handling_seconds_bucket{grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="1"} 0
grpc_server_handling_seconds_bucket{grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="10"} 0
grpc_server_handling_seconds_bucket{grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="30"} 0
grpc_server_handling_seconds_bucket{grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="60"} 0
grpc_server_handling_seconds_bucket{grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="300"} 0
grpc_server_handling_seconds_bucket{grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="1500"} 0
grpc_server_handling_seconds_bucket{grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="+Inf"} 0
grpc_server_handling_seconds_sum{grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handling_seconds_count{grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handling_seconds_bucket{grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary",le="0.001"} 0
grpc_server_handling_seconds_bucket{grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary",le="0.005"} 0
grpc_server_handling_seconds_bucket{grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary",le="0.025"} 0
grpc_server_handling_seconds_bucket{grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary",le="0.1"} 0
grpc_server_handling_seconds_bucket{grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary",le="0.5"} 0
grpc_server_handling_seconds_bucket{grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary",le="1"} 0
grpc_server_handling_seconds_bucket{grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary",le="10"} 0
grpc_server_handling_seconds_bucket{grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary",le="30"} 0
grpc_server_handling_seconds_bucket{grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary",le="60"} 0
grpc_server_handling_seconds_bucket{grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary",le="300"} 0
grpc_server_handling_seconds_bucket{grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary",le="1500"} 0
grpc_server_handling_seconds_bucket{grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary",le="+Inf"} 0
grpc_server_handling_seconds_sum{grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handling_seconds_count{grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.001"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.005"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.025"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.1"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.5"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="1"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="10"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="30"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="60"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="300"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="1500"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="+Inf"} 0
grpc_server_handling_seconds_sum{grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handling_seconds_count{grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.001"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.005"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.025"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.1"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="0.5"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="1"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="10"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="30"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="60"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="300"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="1500"} 0
grpc_server_handling_seconds_bucket{grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary",le="+Inf"} 0
grpc_server_handling_seconds_sum{grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handling_seconds_count{grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_handling_seconds_bucket{grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="0.001"} 0
grpc_server_handling_seconds_bucket{grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="0.005"} 0
grpc_server_handling_seconds_bucket{grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="0.025"} 0
grpc_server_handling_seconds_bucket{grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="0.1"} 0
grpc_server_handling_seconds_bucket{grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="0.5"} 0
grpc_server_handling_seconds_bucket{grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="1"} 0
grpc_server_handling_seconds_bucket{grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="10"} 0
grpc_server_handling_seconds_bucket{grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="30"} 0
grpc_server_handling_seconds_bucket{grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="60"} 0
grpc_server_handling_seconds_bucket{grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="300"} 0
grpc_server_handling_seconds_bucket{grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="1500"} 0
grpc_server_handling_seconds_bucket{grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="+Inf"} 0
grpc_server_handling_seconds_sum{grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handling_seconds_count{grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handling_seconds_bucket{grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="0.001"} 0
grpc_server_handling_seconds_bucket{grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="0.005"} 0
grpc_server_handling_seconds_bucket{grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="0.025"} 0
grpc_server_handling_seconds_bucket{grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="0.1"} 0
grpc_server_handling_seconds_bucket{grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="0.5"} 0
grpc_server_handling_seconds_bucket{grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="1"} 0
grpc_server_handling_seconds_bucket{grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="10"} 0
grpc_server_handling_seconds_bucket{grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="30"} 0
grpc_server_handling_seconds_bucket{grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="60"} 0
grpc_server_handling_seconds_bucket{grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="300"} 0
grpc_server_handling_seconds_bucket{grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="1500"} 0
grpc_server_handling_seconds_bucket{grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary",le="+Inf"} 0
grpc_server_handling_seconds_sum{grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handling_seconds_count{grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_handling_seconds_bucket{grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream",le="0.001"} 0
grpc_server_handling_seconds_bucket{grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream",le="0.005"} 0
grpc_server_handling_seconds_bucket{grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream",le="0.025"} 0
grpc_server_handling_seconds_bucket{grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream",le="0.1"} 0
grpc_server_handling_seconds_bucket{grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream",le="0.5"} 0
grpc_server_handling_seconds_bucket{grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream",le="1"} 0
grpc_server_handling_seconds_bucket{grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream",le="10"} 0
grpc_server_handling_seconds_bucket{grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream",le="30"} 0
grpc_server_handling_seconds_bucket{grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream",le="60"} 0
grpc_server_handling_seconds_bucket{grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream",le="300"} 0
grpc_server_handling_seconds_bucket{grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream",le="1500"} 0
grpc_server_handling_seconds_bucket{grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream",le="+Inf"} 0
grpc_server_handling_seconds_sum{grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
grpc_server_handling_seconds_count{grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
# HELP grpc_server_msg_received_total Total number of RPC stream messages received on the server.
# TYPE grpc_server_msg_received_total counter
grpc_server_msg_received_total{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_msg_received_total{grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_msg_received_total{grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_msg_received_total{grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_msg_received_total{grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_msg_received_total{grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_msg_received_total{grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_msg_received_total{grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_msg_received_total{grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_msg_received_total{grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
# HELP grpc_server_msg_sent_total Total number of gRPC stream messages sent by the server.
# TYPE grpc_server_msg_sent_total counter
grpc_server_msg_sent_total{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_msg_sent_total{grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_msg_sent_total{grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_msg_sent_total{grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_msg_sent_total{grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_msg_sent_total{grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_msg_sent_total{grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_msg_sent_total{grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_msg_sent_total{grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_msg_sent_total{grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
# HELP grpc_server_started_total Total number of RPCs started on the server.
# TYPE grpc_server_started_total counter
grpc_server_started_total{grpc_method="Check",grpc_service="grpc.health.v1.Health",grpc_type="unary"} 0
grpc_server_started_total{grpc_method="DatalossCheck",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_started_total{grpc_method="DiskStatistics",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_started_total{grpc_method="RepositoryReplicas",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_started_total{grpc_method="ServerInfo",grpc_service="gitaly.ServerService",grpc_type="unary"} 0
grpc_server_started_total{grpc_method="SetAuthoritativeStorage",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_started_total{grpc_method="SetReplicationFactor",grpc_service="gitaly.PraefectInfoService",grpc_type="unary"} 0
grpc_server_started_total{grpc_method="StopTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_started_total{grpc_method="VoteTransaction",grpc_service="gitaly.RefTransaction",grpc_type="unary"} 0
grpc_server_started_total{grpc_method="Watch",grpc_service="grpc.health.v1.Health",grpc_type="server_stream"} 0
# HELP promhttp_metric_handler_requests_in_flight Current number of scrapes being served.
# TYPE promhttp_metric_handler_requests_in_flight gauge
promhttp_metric_handler_requests_in_flight 1
# HELP promhttp_metric_handler_requests_total Total number of scrapes by HTTP status code.
# TYPE promhttp_metric_handler_requests_total counter
promhttp_metric_handler_requests_total{code="200"} 1
promhttp_metric_handler_requests_total{code="500"} 0
promhttp_metric_handler_requests_total{code="503"} 0
curl 127.0.0.1:10101/db_metrics
# HELP gitaly_praefect_read_only_repositories Number of repositories in read-only mode within a virtual storage.
# TYPE gitaly_praefect_read_only_repositories gauge
gitaly_praefect_read_only_repositories{virtual_storage="default"} 1
# HELP gitaly_praefect_unavailable_repositories Number of repositories that have no healthy, up to date replicas.
# TYPE gitaly_praefect_unavailable_repositories gauge
gitaly_praefect_unavailable_repositories{virtual_storage="default"} 1
Edited by Toon Claes