Browse Source

docs: move metrics files to sub-directory

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 7 years ago
parent
commit
f457aafaf1
5 changed files with 114 additions and 9 deletions
  1. 0 0
      docs/metrics/latest
  2. 0 0
      docs/metrics/v3.1.18
  3. 0 0
      docs/metrics/v3.2.23
  4. 103 4
      docs/metrics/v3.3.9
  5. 11 5
      docs/operate.rst

+ 0 - 0
docs/metrics-latest → docs/metrics/latest


+ 0 - 0
docs/metrics-v3.1 → docs/metrics/v3.1.18


+ 0 - 0
docs/metrics-v3.2 → docs/metrics/v3.2.23


+ 103 - 4
docs/metrics-v3.3 → docs/metrics/v3.3.9

@@ -1,4 +1,4 @@
-# server version: etcd_server_version{server_version="3.3.8"}
+# server version: etcd_server_version{server_version="3.3.9"}
 
 # name: "etcd_debugging_mvcc_db_compaction_keys_total"
 # description: "Total number of db keys compacted."
@@ -47,7 +47,7 @@ etcd_debugging_mvcc_db_compaction_total_duration_milliseconds_sum
 etcd_debugging_mvcc_db_compaction_total_duration_milliseconds_count
 
 # name: "etcd_debugging_mvcc_db_total_size_in_bytes"
-# description: "Total size of the underlying database in bytes."
+# description: "Total size of the underlying database physically allocated in bytes. Use etcd_mvcc_db_total_size_in_bytes"
 # type: "gauge"
 etcd_debugging_mvcc_db_total_size_in_bytes
 
@@ -214,6 +214,26 @@ etcd_disk_backend_commit_duration_seconds_bucket{le="+Inf"}
 etcd_disk_backend_commit_duration_seconds_sum
 etcd_disk_backend_commit_duration_seconds_count
 
+# name: "etcd_disk_backend_defrag_duration_seconds"
+# description: "The latency distribution of backend defragmentation."
+# type: "histogram"
+etcd_disk_backend_defrag_duration_seconds_bucket{le="0.1"}
+etcd_disk_backend_defrag_duration_seconds_bucket{le="0.2"}
+etcd_disk_backend_defrag_duration_seconds_bucket{le="0.4"}
+etcd_disk_backend_defrag_duration_seconds_bucket{le="0.8"}
+etcd_disk_backend_defrag_duration_seconds_bucket{le="1.6"}
+etcd_disk_backend_defrag_duration_seconds_bucket{le="3.2"}
+etcd_disk_backend_defrag_duration_seconds_bucket{le="6.4"}
+etcd_disk_backend_defrag_duration_seconds_bucket{le="12.8"}
+etcd_disk_backend_defrag_duration_seconds_bucket{le="25.6"}
+etcd_disk_backend_defrag_duration_seconds_bucket{le="51.2"}
+etcd_disk_backend_defrag_duration_seconds_bucket{le="102.4"}
+etcd_disk_backend_defrag_duration_seconds_bucket{le="204.8"}
+etcd_disk_backend_defrag_duration_seconds_bucket{le="409.6"}
+etcd_disk_backend_defrag_duration_seconds_bucket{le="+Inf"}
+etcd_disk_backend_defrag_duration_seconds_sum
+etcd_disk_backend_defrag_duration_seconds_count
+
 # name: "etcd_disk_backend_snapshot_duration_seconds"
 # description: "The latency distribution of backend snapshots."
 # type: "histogram"
@@ -284,6 +304,60 @@ etcd_grpc_proxy_events_coalescing_total
 # type: "gauge"
 etcd_grpc_proxy_watchers_coalescing_total
 
+# name: "etcd_mvcc_db_total_size_in_bytes"
+# description: "Total size of the underlying database physically allocated in bytes."
+# type: "gauge"
+etcd_mvcc_db_total_size_in_bytes
+
+# name: "etcd_mvcc_db_total_size_in_use_in_bytes"
+# description: "Total size of the underlying database logically in use in bytes."
+# type: "gauge"
+etcd_mvcc_db_total_size_in_use_in_bytes
+
+# name: "etcd_mvcc_hash_duration_seconds"
+# description: "The latency distribution of storage hash operation."
+# type: "histogram"
+etcd_mvcc_hash_duration_seconds_bucket{le="0.01"}
+etcd_mvcc_hash_duration_seconds_bucket{le="0.02"}
+etcd_mvcc_hash_duration_seconds_bucket{le="0.04"}
+etcd_mvcc_hash_duration_seconds_bucket{le="0.08"}
+etcd_mvcc_hash_duration_seconds_bucket{le="0.16"}
+etcd_mvcc_hash_duration_seconds_bucket{le="0.32"}
+etcd_mvcc_hash_duration_seconds_bucket{le="0.64"}
+etcd_mvcc_hash_duration_seconds_bucket{le="1.28"}
+etcd_mvcc_hash_duration_seconds_bucket{le="2.56"}
+etcd_mvcc_hash_duration_seconds_bucket{le="5.12"}
+etcd_mvcc_hash_duration_seconds_bucket{le="10.24"}
+etcd_mvcc_hash_duration_seconds_bucket{le="20.48"}
+etcd_mvcc_hash_duration_seconds_bucket{le="40.96"}
+etcd_mvcc_hash_duration_seconds_bucket{le="81.92"}
+etcd_mvcc_hash_duration_seconds_bucket{le="163.84"}
+etcd_mvcc_hash_duration_seconds_bucket{le="+Inf"}
+etcd_mvcc_hash_duration_seconds_sum
+etcd_mvcc_hash_duration_seconds_count
+
+# name: "etcd_mvcc_hash_rev_duration_seconds"
+# description: "The latency distribution of storage hash by revision operation."
+# type: "histogram"
+etcd_mvcc_hash_rev_duration_seconds_bucket{le="0.01"}
+etcd_mvcc_hash_rev_duration_seconds_bucket{le="0.02"}
+etcd_mvcc_hash_rev_duration_seconds_bucket{le="0.04"}
+etcd_mvcc_hash_rev_duration_seconds_bucket{le="0.08"}
+etcd_mvcc_hash_rev_duration_seconds_bucket{le="0.16"}
+etcd_mvcc_hash_rev_duration_seconds_bucket{le="0.32"}
+etcd_mvcc_hash_rev_duration_seconds_bucket{le="0.64"}
+etcd_mvcc_hash_rev_duration_seconds_bucket{le="1.28"}
+etcd_mvcc_hash_rev_duration_seconds_bucket{le="2.56"}
+etcd_mvcc_hash_rev_duration_seconds_bucket{le="5.12"}
+etcd_mvcc_hash_rev_duration_seconds_bucket{le="10.24"}
+etcd_mvcc_hash_rev_duration_seconds_bucket{le="20.48"}
+etcd_mvcc_hash_rev_duration_seconds_bucket{le="40.96"}
+etcd_mvcc_hash_rev_duration_seconds_bucket{le="81.92"}
+etcd_mvcc_hash_rev_duration_seconds_bucket{le="163.84"}
+etcd_mvcc_hash_rev_duration_seconds_bucket{le="+Inf"}
+etcd_mvcc_hash_rev_duration_seconds_sum
+etcd_mvcc_hash_rev_duration_seconds_count
+
 # name: "etcd_network_client_grpc_received_bytes_total"
 # description: "The total number of bytes received from grpc clients."
 # type: "counter"
@@ -325,11 +399,21 @@ etcd_network_peer_round_trip_time_seconds_sum{To="REMOTE_PEER_NODE_ID"}
 # type: "counter"
 etcd_network_peer_sent_bytes_total{To="REMOTE_PEER_NODE_ID"}
 
+# name: "etcd_server_go_version"
+# description: "Which Go version server is running with. 1 for 'server_go_version' label with current version."
+# type: "gauge"
+etcd_server_go_version{server_go_version="go1.10.3"}
+
 # name: "etcd_server_has_leader"
 # description: "Whether or not a leader exists. 1 is existence, 0 is not."
 # type: "gauge"
 etcd_server_has_leader
 
+# name: "etcd_server_heartbeat_send_failures_total"
+# description: "The total number of leader heartbeat send failures (likely overloaded from slow disk)."
+# type: "counter"
+etcd_server_heartbeat_send_failures_total
+
 # name: "etcd_server_is_leader"
 # description: "Whether or not this member is a leader. 1 if is, 0 otherwise."
 # type: "gauge"
@@ -360,10 +444,25 @@ etcd_server_proposals_failed_total
 # type: "gauge"
 etcd_server_proposals_pending
 
+# name: "etcd_server_quota_backend_bytes"
+# description: "Current backend storage quota size in bytes."
+# type: "gauge"
+etcd_server_quota_backend_bytes
+
+# name: "etcd_server_slow_apply_total"
+# description: "The total number of slow apply requests (likely overloaded from slow disk)."
+# type: "counter"
+etcd_server_slow_apply_total
+
+# name: "etcd_server_slow_read_indexes_total"
+# description: "The total number of pending read indexes not in sync with leader's or timed out read index requests."
+# type: "counter"
+etcd_server_slow_read_indexes_total
+
 # name: "etcd_server_version"
 # description: "Which version is running. 1 for 'server_version' label with current version."
 # type: "gauge"
-etcd_server_version{server_version="3.3.8"}
+etcd_server_version{server_version="3.3.9"}
 
 # name: "go_gc_duration_seconds"
 # description: "A summary of the GC invocation durations."
@@ -384,7 +483,7 @@ go_goroutines
 # name: "go_info"
 # description: "Information about the Go environment."
 # type: "gauge"
-go_info{version="go1.9.7"}
+go_info{version="go1.10.3"}
 
 # name: "go_memstats_alloc_bytes"
 # description: "Number of bytes allocated and still in use."

+ 11 - 5
docs/operate.rst

@@ -1,4 +1,4 @@
-.. _monitor:
+.. _operate:
 
 
 Monitor
@@ -13,23 +13,29 @@ List of metrics
 Latest
 ======
 
-.. literalinclude:: metrics-latest
+Download: :download:`latest <metrics/latest>`.
+
+.. literalinclude:: metrics/latest
   :language: BASH
 
 v3.3
 ====
 
-.. literalinclude:: metrics-v3.3
+.. literalinclude:: metrics/v3.3.9
   :language: BASH
 
 v3.2
 ====
 
-.. literalinclude:: metrics-v3.2
+Download: :download:`v3.2.23 <metrics/v3.2.23>`.
+
+.. literalinclude:: metrics/v3.2.23
   :language: BASH
 
 v3.1
 ====
 
-.. literalinclude:: metrics-v3.1
+Download: :download:`v3.1.18 <metrics/v3.1.18>`.
+
+.. literalinclude:: metrics/v3.1.18
   :language: BASH