Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
docs: update the metrics as a table
Browse files Browse the repository at this point in the history
Signed-off-by: SataQiu <[email protected]>
  • Loading branch information
SataQiu committed Sep 25, 2019
1 parent 1f72149 commit 37807e6
Showing 1 changed file with 31 additions and 25 deletions.
56 changes: 31 additions & 25 deletions docs/user_guide/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,40 @@ This doc contains all the metrics that Dragonfly components currently support. N

## Supernode

- dragonfly_supernode_build_info{version, revision, goversion, arch, os} - build and version information of supernode.
- dragonfly_supernode_http_requests_total{code, handler, method} - total number of http requests.
- dragonfly_supernode_http_request_duration_seconds{code, handler, method} - http request latency in seconds.
- dragonfly_supernode_http_request_size_bytes{code, handler, method} - http request size in bytes.
- dragonfly_supernode_http_response_size_bytes{code, handler, method} - http response size in bytes.
- dragonfly_supernode_peers{peer} - dragonfly peers, the label peer consists of the hostname and ip address of one peer.
- dragonfly_supernode_tasks{cdnstatus} - dragonfly tasks.
- dragonfly_supernode_tasks_registered_total{} - total times of registering new tasks. counter type.
- dragonfly_supernode_dfgettasks{callsystem, status} - dragonfly dfget tasks.
- dragonfly_supernode_dfgettasks_registered_total{callsystem} - total times of registering new dfgettasks. counter type.
- dragonfly_supernode_dfgettasks_failed_total{callsystem} - total times of failed dfgettasks. counter type.
- dragonfly_supernode_schedule_duration_milliseconds{peer} - duration for task scheduling in milliseconds.
- dragonfly_supernode_cdn_trigger_total{} - total times of triggering cdn. counter type.
- dragonfly_supernode_cdn_trigger_failed_total{} - total failed times of triggering cdn. counter type.
- dragonfly_supernode_cdn_cache_hit_total{} - total times of hitting cdn cache. counter type.
- dragonfly_supernode_cdn_download_total{} - total times of cdn downloading. counter type.
- dragonfly_supernode_cdn_download_failed_total{} - total failure times of cdn downloading. counter type.
- dragonfly_supernode_pieces_downloaded_size_bytes_total{} - total size of pieces downloaded from supernode in bytes. counter type.
- dragonfly_supernode_gc_peers_total{} - total number of peers that have been garbage collected. counter type.
- dragonfly_supernode_gc_tasks_total{} - total number of tasks that have been garbage collected. counter type.
Name | Description
------------------------------------------------------------------------ | -----------
dragonfly_supernode_build_info{version, revision, goversion, arch, os} | build and version information of supernode.
dragonfly_supernode_http_requests_total{code, handler, method} | total number of http requests.
dragonfly_supernode_http_request_duration_seconds{code, handler, method} | http request latency in seconds.
dragonfly_supernode_http_request_size_bytes{code, handler, method} | http request size in bytes.
dragonfly_supernode_http_response_size_bytes{code, handler, method} | http response size in bytes.
dragonfly_supernode_peers{peer} | dragonfly peers, the label peer consists of the hostname and ip address of one peer.
dragonfly_supernode_tasks{cdnstatus} | dragonfly tasks.
dragonfly_supernode_tasks_registered_total{} | total times of registering new tasks. counter type.
dragonfly_supernode_dfgettasks{callsystem, status} | dragonfly dfget tasks.
dragonfly_supernode_dfgettasks_registered_total{callsystem} | total times of registering new dfgettasks. counter type.
dragonfly_supernode_dfgettasks_failed_total{callsystem} | total times of failed dfgettasks. counter type.
dragonfly_supernode_schedule_duration_milliseconds{peer} | duration for task scheduling in milliseconds.
dragonfly_supernode_cdn_trigger_total{} | total times of triggering cdn. counter type.
dragonfly_supernode_cdn_trigger_failed_total{} | total failed times of triggering cdn. counter type.
dragonfly_supernode_cdn_cache_hit_total{} | total times of hitting cdn cache. counter type.
dragonfly_supernode_cdn_download_total{} | total times of cdn downloading. counter type.
dragonfly_supernode_cdn_download_failed_total{} | total failure times of cdn downloading. counter type.
dragonfly_supernode_pieces_downloaded_size_bytes_total{} | total size of pieces downloaded from supernode in bytes. counter type.
dragonfly_supernode_gc_peers_total{} | total number of peers that have been garbage collected. counter type.
dragonfly_supernode_gc_tasks_total{} | total number of tasks that have been garbage collected. counter type.

## Dfdaemon

- dragonfly_dfdaemon_build_info{version, revision, goversion, arch, os} - build and version information of dfdaemon.
Name | Description
--------------------------------------------------------------------- | -----------
dragonfly_dfdaemon_build_info{version, revision, goversion, arch, os} | build and version information of dfdaemon.

## Dfget

- dragonfly_dfget_download_duration_seconds{callsystem, peer} - dfget download duration in seconds.
- dragonfly_dfget_download_size_bytes_total{callsystem, peer} - total size of files downloaded by dfget in bytes. counter type.
- dragonfly_dfget_download_total{callsystem, peer} - total times of dfget downloading. counter type.
- dragonfly_dfget_download_failed_total{callsystem, peer, reason} - total times of failed dfget downloading. counter type.
Name | Description
--------------------------------------------------------------- | -----------
dragonfly_dfget_download_duration_seconds{callsystem, peer} | dfget download duration in seconds.
dragonfly_dfget_download_size_bytes_total{callsystem, peer} | total size of files downloaded by dfget in bytes. counter type.
dragonfly_dfget_download_total{callsystem, peer} | total times of dfget downloading. counter type.
dragonfly_dfget_download_failed_total{callsystem, peer, reason} | total times of failed dfget downloading. counter type.

0 comments on commit 37807e6

Please sign in to comment.