{ "info": { "_postman_id": "41ee3885-25a7-459b-ab2e-00b267c095e7", "name": "Sync Gateway 3.0 Metrics API", "description": "This is a developer preview of the documentation for the Sync Gateway Metrics Rest API.\n", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" }, "item": [ { "name": "Debugging/monitoring at runtime", "request": { "auth": { "type": "basic", "basic": [ { "key": "username", "value": "{{clusteradmin}}", "type": "string" }, { "key": "password", "value": "password", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "{{metricsUrl}}/_expvar", "host": [ "{{metricsUrl}}" ], "path": [ "_expvar" ] }, "description": "The ```Expvars``` method returns Sync Gateways' numerous statistics, and other runtime variables, in JSON format.\nMaking them readily available for debugging or performance monitoring purposes.\n\n**See** : [Sync Gateway Statistics Schema](./../stats-monitoring.html) for more details on the metrics collected and reported by Sync Gateway.\n\n" }, "response": [ { "name": "OK - indicates success", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{metricsUrl}}/_expvar", "host": [ "{{metricsUrl}}" ], "path": [ "_expvar" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"cmdline\": {},\n \"memstats\": {},\n \"cb\": {},\n \"mc\": {},\n \"syncGateway_changeCache\": {\n \"maxPending\": {},\n \"lag-tap-0000ms\": {},\n \"lag-queue-0000ms\": {},\n \"lag-total-0000ms\": {},\n \"outOfOrder\": {},\n \"view_queries\": {}\n },\n \"syncGateway_db\": {\n \"channelChangesFeeds\": {},\n \"channelLogAdds\": {},\n \"channelLogAppends\": {},\n \"channelLogCacheHits\": {},\n \"channelLogRewrites\": {},\n \"channelLogRewriteCollisions\": {},\n \"document_gets\": {},\n \"revisionCache_adds\": {},\n \"revisionCache_hits\": {},\n \"revisionCache_misses\": {},\n \"revs_added\": {},\n \"sequence_gets\": {},\n \"sequence_reserves\": {}\n },\n \"syncgateway\": {\n \"global\": {\n \"resource_utilization\": {\n \"admin_net_bytes_recv\": 5669006,\n \"admin_net_bytes_sent\": 51059695,\n \"error_count\": -419626,\n \"go_memstats_heapalloc\": 76186951,\n \"go_memstats_heapidle\": -57870390,\n \"go_memstats_heapinuse\": -41888315,\n \"go_memstats_heapreleased\": 58812201,\n \"go_memstats_pausetotalns\": -90762235,\n \"go_memstats_stackinuse\": -49194587,\n \"go_memstats_stacksys\": 44673172,\n \"go_memstats_sys\": 50422318,\n \"goroutines_high_watermark\": -85435126,\n \"num_goroutines\": -5442029,\n \"process_cpu_percent_utilization\": 12179981,\n \"process_memory_resident\": -70780112,\n \"pub_net_bytes_recv\": -62166019,\n \"pub_net_bytes_sent\": 49943280,\n \"system_memory_total\": 20464858,\n \"warn_count\": 1513217\n }\n },\n \"per_db\": [\n {\n \"cache\": {},\n \"database\": {},\n \"security\": {}\n },\n {\n \"cache\": {},\n \"database\": {},\n \"security\": {}\n }\n ],\n \"per_replication\": [\n {\n \"$replication_id\": {\n \"sgr_active\": true,\n \"sgr_docs_checked_sent\": 60966279,\n \"sgr_num_attachments_transferred\": -12680724,\n \"sgr_num_attachment_bytes_transferred\": 60977299,\n \"sgr_num_docs_failed_to_push\": 37148037,\n \"sgr_num_docs_pushed\": -64876276\n }\n },\n {\n \"$replication_id\": {\n \"sgr_active\": true,\n \"sgr_docs_checked_sent\": -14762040,\n \"sgr_num_attachments_transferred\": -9347796,\n \"sgr_num_attachment_bytes_transferred\": -30841306,\n \"sgr_num_docs_failed_to_push\": 39403997,\n \"sgr_num_docs_pushed\": -21794495\n }\n }\n ]\n }\n}" } ] }, { "name": "Debugging/monitoring runtime stats in Prometheus format", "request": { "auth": { "type": "basic", "basic": [ { "key": "password", "value": "password", "type": "string" }, { "key": "username", "value": "{{clusteradmin}}", "type": "string" } ] }, "method": "GET", "header": [], "url": { "raw": "{{metricsUrl}}/_metrics", "host": [ "{{metricsUrl}}" ], "path": [ "_metrics" ] }, "description": "The ```_metrics``` method returns Sync Gateway's statistics and other runtime variables in **Prometheus** format.\nThis makes for a convenient feed for your debugging or performance monitoring purposes.\n\n- For more details on the metrics collected and reported by Sync Gateway -- see: [Sync Gateway Statistics Schema](./../stats-monitoring.html).\n- For more details on Monitoring Sync Gateway using the ```_metrics``` feed -- see: our blog on [Monitoring and Visualization of Couchbase Sync Gateway with Prometheus and Grafana](https://blog.couchbase.com/monitoring-and-visualization-of-couchbase-sync-gateway-with-prometheus-and-grafana/)\n\n" }, "response": [ { "name": "OK - indicates success", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{metricsUrl}}/_metrics", "host": [ "{{metricsUrl}}" ], "path": [ "_metrics" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "body": "{\n \"cmdline\": {},\n \"memstats\": {},\n \"cb\": {},\n \"mc\": {},\n \"syncGateway_changeCache\": {\n \"maxPending\": {},\n \"lag-tap-0000ms\": {},\n \"lag-queue-0000ms\": {},\n \"lag-total-0000ms\": {},\n \"outOfOrder\": {},\n \"view_queries\": {}\n },\n \"syncGateway_db\": {\n \"channelChangesFeeds\": {},\n \"channelLogAdds\": {},\n \"channelLogAppends\": {},\n \"channelLogCacheHits\": {},\n \"channelLogRewrites\": {},\n \"channelLogRewriteCollisions\": {},\n \"document_gets\": {},\n \"revisionCache_adds\": {},\n \"revisionCache_hits\": {},\n \"revisionCache_misses\": {},\n \"revs_added\": {},\n \"sequence_gets\": {},\n \"sequence_reserves\": {}\n },\n \"syncgateway\": {\n \"global\": {\n \"resource_utilization\": {\n \"admin_net_bytes_recv\": -57311046,\n \"admin_net_bytes_sent\": -5228289,\n \"error_count\": 44107022,\n \"go_memstats_heapalloc\": 91403591,\n \"go_memstats_heapidle\": -44357816,\n \"go_memstats_heapinuse\": -32866358,\n \"go_memstats_heapreleased\": -12494040,\n \"go_memstats_pausetotalns\": -49163664,\n \"go_memstats_stackinuse\": 59567577,\n \"go_memstats_stacksys\": 12893464,\n \"go_memstats_sys\": -24421981,\n \"goroutines_high_watermark\": 61595771,\n \"num_goroutines\": 5616588,\n \"process_cpu_percent_utilization\": -95103476,\n \"process_memory_resident\": 82145930,\n \"pub_net_bytes_recv\": 36535680,\n \"pub_net_bytes_sent\": -89928270,\n \"system_memory_total\": -75210282,\n \"warn_count\": 94429437\n }\n },\n \"per_db\": [\n {\n \"cache\": {},\n \"database\": {},\n \"security\": {}\n },\n {\n \"cache\": {},\n \"database\": {},\n \"security\": {}\n }\n ],\n \"per_replication\": [\n {\n \"$replication_id\": {\n \"sgr_active\": false,\n \"sgr_docs_checked_sent\": 98750922,\n \"sgr_num_attachments_transferred\": -16408056,\n \"sgr_num_attachment_bytes_transferred\": 66431901,\n \"sgr_num_docs_failed_to_push\": -15732903,\n \"sgr_num_docs_pushed\": -385332\n }\n },\n {\n \"$replication_id\": {\n \"sgr_active\": false,\n \"sgr_docs_checked_sent\": -89302600,\n \"sgr_num_attachments_transferred\": -64865268,\n \"sgr_num_attachment_bytes_transferred\": -57628620,\n \"sgr_num_docs_failed_to_push\": 39121396,\n \"sgr_num_docs_pushed\": -88218518\n }\n }\n ]\n }\n}" }, { "name": "Prometheus Stats-Success", "originalRequest": { "method": "GET", "header": [], "url": { "raw": "{{metricsUrl}}/_metrics", "host": [ "{{metricsUrl}}" ], "path": [ "_metrics" ] } }, "status": "OK", "code": 200, "_postman_previewlanguage": "plain", "header": [ { "key": "Content-Encoding", "value": "gzip" }, { "key": "Content-Type", "value": "text/plain; version=0.0.4; charset=utf-8" }, { "key": "Server", "value": "Couchbase Sync Gateway/3.0.0 EE" }, { "key": "Date", "value": "Mon, 22 Nov 2021 23:22:16 GMT" }, { "key": "Transfer-Encoding", "value": "chunked" } ], "cookie": [], "body": "# HELP go_gc_duration_seconds A summary of the pause duration of garbage collection cycles.\n# TYPE go_gc_duration_seconds summary\ngo_gc_duration_seconds{quantile=\"0\"} 0.0001155\ngo_gc_duration_seconds{quantile=\"0.25\"} 0.0001254\ngo_gc_duration_seconds{quantile=\"0.5\"} 0.0001597\ngo_gc_duration_seconds{quantile=\"0.75\"} 0.0001806\ngo_gc_duration_seconds{quantile=\"1\"} 0.0049731\ngo_gc_duration_seconds_sum 0.006334\ngo_gc_duration_seconds_count 9\n# HELP go_goroutines Number of goroutines that currently exist.\n# TYPE go_goroutines gauge\ngo_goroutines 205\n# HELP go_info Information about the Go environment.\n# TYPE go_info gauge\ngo_info{version=\"go1.16.6\"} 1\n# HELP go_memstats_alloc_bytes Number of bytes allocated and still in use.\n# TYPE go_memstats_alloc_bytes gauge\ngo_memstats_alloc_bytes 2.74725568e+08\n# HELP go_memstats_alloc_bytes_total Total number of bytes allocated, even if freed.\n# TYPE go_memstats_alloc_bytes_total counter\ngo_memstats_alloc_bytes_total 5.77613776e+08\n# HELP go_memstats_buck_hash_sys_bytes Number of bytes used by the profiling bucket hash table.\n# TYPE go_memstats_buck_hash_sys_bytes gauge\ngo_memstats_buck_hash_sys_bytes 1.485504e+06\n# HELP go_memstats_frees_total Total number of frees.\n# TYPE go_memstats_frees_total counter\ngo_memstats_frees_total 1.886974e+06\n# HELP go_memstats_gc_cpu_fraction The fraction of this program's available CPU time used by the GC since the program started.\n# TYPE go_memstats_gc_cpu_fraction gauge\ngo_memstats_gc_cpu_fraction 0.0005904367920689457\n# HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata.\n# TYPE go_memstats_gc_sys_bytes gauge\ngo_memstats_gc_sys_bytes 1.7448552e+07\n# HELP go_memstats_heap_alloc_bytes Number of heap bytes allocated and still in use.\n# TYPE go_memstats_heap_alloc_bytes gauge\ngo_memstats_heap_alloc_bytes 2.74725568e+08\n# HELP go_memstats_heap_idle_bytes Number of heap bytes waiting to be used.\n# TYPE go_memstats_heap_idle_bytes gauge\ngo_memstats_heap_idle_bytes 1.14655232e+08\n# HELP go_memstats_heap_inuse_bytes Number of heap bytes that are in use.\n# TYPE go_memstats_heap_inuse_bytes gauge\ngo_memstats_heap_inuse_bytes 2.86031872e+08\n# HELP go_memstats_heap_objects Number of allocated objects.\n# TYPE go_memstats_heap_objects gauge\ngo_memstats_heap_objects 163872\n# HELP go_memstats_heap_released_bytes Number of heap bytes released to OS.\n# TYPE go_memstats_heap_released_bytes gauge\ngo_memstats_heap_released_bytes 6.078464e+07\n# HELP go_memstats_heap_sys_bytes Number of heap bytes obtained from system.\n# TYPE go_memstats_heap_sys_bytes gauge\ngo_memstats_heap_sys_bytes 4.00687104e+08\n# HELP go_memstats_last_gc_time_seconds Number of seconds since 1970 of last garbage collection.\n# TYPE go_memstats_last_gc_time_seconds gauge\ngo_memstats_last_gc_time_seconds 1.6376233111257215e+09\n# HELP go_memstats_lookups_total Total number of pointer lookups.\n# TYPE go_memstats_lookups_total counter\ngo_memstats_lookups_total 0\n# HELP go_memstats_mallocs_total Total number of mallocs.\n# TYPE go_memstats_mallocs_total counter\ngo_memstats_mallocs_total 2.050846e+06\n# HELP go_memstats_mcache_inuse_bytes Number of bytes in use by mcache structures.\n# TYPE go_memstats_mcache_inuse_bytes gauge\ngo_memstats_mcache_inuse_bytes 7200\n# HELP go_memstats_mcache_sys_bytes Number of bytes used for mcache structures obtained from system.\n# TYPE go_memstats_mcache_sys_bytes gauge\ngo_memstats_mcache_sys_bytes 16384\n# HELP go_memstats_mspan_inuse_bytes Number of bytes in use by mspan structures.\n# TYPE go_memstats_mspan_inuse_bytes gauge\ngo_memstats_mspan_inuse_bytes 450568\n# HELP go_memstats_mspan_sys_bytes Number of bytes used for mspan structures obtained from system.\n# TYPE go_memstats_mspan_sys_bytes gauge\ngo_memstats_mspan_sys_bytes 1.130496e+06\n# HELP go_memstats_next_gc_bytes Number of heap bytes when next garbage collection will take place.\n# TYPE go_memstats_next_gc_bytes gauge\ngo_memstats_next_gc_bytes 2.86283328e+08\n# HELP go_memstats_other_sys_bytes Number of bytes used for other system allocations.\n# TYPE go_memstats_other_sys_bytes gauge\ngo_memstats_other_sys_bytes 890672\n# HELP go_memstats_stack_inuse_bytes Number of bytes in use by the stack allocator.\n# TYPE go_memstats_stack_inuse_bytes gauge\ngo_memstats_stack_inuse_bytes 1.96608e+06\n# HELP go_memstats_stack_sys_bytes Number of bytes obtained from system for stack allocator.\n# TYPE go_memstats_stack_sys_bytes gauge\ngo_memstats_stack_sys_bytes 1.96608e+06\n# HELP go_memstats_sys_bytes Number of bytes obtained from system.\n# TYPE go_memstats_sys_bytes gauge\ngo_memstats_sys_bytes 4.23624792e+08\n# HELP go_threads Number of OS threads created.\n# TYPE go_threads gauge\ngo_threads 14\n# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.\n# TYPE process_cpu_seconds_total counter\nprocess_cpu_seconds_total 5.05\n# HELP process_max_fds Maximum number of open file descriptors.\n# TYPE process_max_fds gauge\nprocess_max_fds 1.048576e+06\n# HELP process_open_fds Number of open file descriptors.\n# TYPE process_open_fds gauge\nprocess_open_fds 63\n# HELP process_resident_memory_bytes Resident memory size in bytes.\n# TYPE process_resident_memory_bytes gauge\nprocess_resident_memory_bytes 2.08596992e+08\n# HELP process_start_time_seconds Start time of the process since unix epoch in seconds.\n# TYPE process_start_time_seconds gauge\nprocess_start_time_seconds 1.6376232877e+09\n# HELP process_virtual_memory_bytes Virtual memory size in bytes.\n# TYPE process_virtual_memory_bytes gauge\nprocess_virtual_memory_bytes 1.537163264e+09\n# HELP process_virtual_memory_max_bytes Maximum amount of virtual memory available in bytes.\n# TYPE process_virtual_memory_max_bytes gauge\nprocess_virtual_memory_max_bytes -1\n# HELP promhttp_metric_handler_requests_in_flight Current number of scrapes being served.\n# TYPE promhttp_metric_handler_requests_in_flight gauge\npromhttp_metric_handler_requests_in_flight 1\n# HELP promhttp_metric_handler_requests_total Total number of scrapes by HTTP status code.\n# TYPE promhttp_metric_handler_requests_total counter\npromhttp_metric_handler_requests_total{code=\"200\"} 0\npromhttp_metric_handler_requests_total{code=\"500\"} 0\npromhttp_metric_handler_requests_total{code=\"503\"} 0\n# HELP sgw_cache_abandoned_seqs abandoned_seqs\n# TYPE sgw_cache_abandoned_seqs counter\nsgw_cache_abandoned_seqs{database=\"travel-sample\"} 0\n# HELP sgw_cache_chan_cache_active_revs chan_cache_active_revs\n# TYPE sgw_cache_chan_cache_active_revs gauge\nsgw_cache_chan_cache_active_revs{database=\"travel-sample\"} 0\n# HELP sgw_cache_chan_cache_bypass_count chan_cache_bypass_count\n# TYPE sgw_cache_chan_cache_bypass_count counter\nsgw_cache_chan_cache_bypass_count{database=\"travel-sample\"} 0\n# HELP sgw_cache_chan_cache_channels_added chan_cache_channels_added\n# TYPE sgw_cache_chan_cache_channels_added counter\nsgw_cache_chan_cache_channels_added{database=\"travel-sample\"} 0\n# HELP sgw_cache_chan_cache_channels_evicted_inactive chan_cache_channels_evicted_inactive\n# TYPE sgw_cache_chan_cache_channels_evicted_inactive counter\nsgw_cache_chan_cache_channels_evicted_inactive{database=\"travel-sample\"} 0\n# HELP sgw_cache_chan_cache_channels_evicted_nru chan_cache_channels_evicted_nru\n# TYPE sgw_cache_chan_cache_channels_evicted_nru counter\nsgw_cache_chan_cache_channels_evicted_nru{database=\"travel-sample\"} 0\n# HELP sgw_cache_chan_cache_compact_count chan_cache_compact_count\n# TYPE sgw_cache_chan_cache_compact_count counter\nsgw_cache_chan_cache_compact_count{database=\"travel-sample\"} 0\n# HELP sgw_cache_chan_cache_compact_time chan_cache_compact_time\n# TYPE sgw_cache_chan_cache_compact_time counter\nsgw_cache_chan_cache_compact_time{database=\"travel-sample\"} 0\n# HELP sgw_cache_chan_cache_hits chan_cache_hits\n# TYPE sgw_cache_chan_cache_hits counter\nsgw_cache_chan_cache_hits{database=\"travel-sample\"} 0\n# HELP sgw_cache_chan_cache_max_entries chan_cache_max_entries\n# TYPE sgw_cache_chan_cache_max_entries gauge\nsgw_cache_chan_cache_max_entries{database=\"travel-sample\"} 0\n# HELP sgw_cache_chan_cache_misses chan_cache_misses\n# TYPE sgw_cache_chan_cache_misses counter\nsgw_cache_chan_cache_misses{database=\"travel-sample\"} 0\n# HELP sgw_cache_chan_cache_num_channels chan_cache_num_channels\n# TYPE sgw_cache_chan_cache_num_channels gauge\nsgw_cache_chan_cache_num_channels{database=\"travel-sample\"} 0\n# HELP sgw_cache_chan_cache_pending_queries chan_cache_pending_queries\n# TYPE sgw_cache_chan_cache_pending_queries gauge\nsgw_cache_chan_cache_pending_queries{database=\"travel-sample\"} 0\n# HELP sgw_cache_chan_cache_removal_revs chan_cache_removal_revs\n# TYPE sgw_cache_chan_cache_removal_revs gauge\nsgw_cache_chan_cache_removal_revs{database=\"travel-sample\"} 0\n# HELP sgw_cache_chan_cache_tombstone_revs chan_cache_tombstone_revs\n# TYPE sgw_cache_chan_cache_tombstone_revs gauge\nsgw_cache_chan_cache_tombstone_revs{database=\"travel-sample\"} 0\n# HELP sgw_cache_high_seq_cached high_seq_cached\n# TYPE sgw_cache_high_seq_cached counter\nsgw_cache_high_seq_cached{database=\"travel-sample\"} 0\n# HELP sgw_cache_high_seq_stable high_seq_stable\n# TYPE sgw_cache_high_seq_stable counter\nsgw_cache_high_seq_stable{database=\"travel-sample\"} 0\n# HELP sgw_cache_non_mobile_ignored_count non_mobile_ignored_count\n# TYPE sgw_cache_non_mobile_ignored_count counter\nsgw_cache_non_mobile_ignored_count{database=\"travel-sample\"} 0\n# HELP sgw_cache_num_active_channels num_active_channels\n# TYPE sgw_cache_num_active_channels gauge\nsgw_cache_num_active_channels{database=\"travel-sample\"} 0\n# HELP sgw_cache_num_skipped_seqs num_skipped_seqs\n# TYPE sgw_cache_num_skipped_seqs counter\nsgw_cache_num_skipped_seqs{database=\"travel-sample\"} 0\n# HELP sgw_cache_pending_seq_len pending_seq_len\n# TYPE sgw_cache_pending_seq_len gauge\nsgw_cache_pending_seq_len{database=\"travel-sample\"} 0\n# HELP sgw_cache_rev_cache_bypass rev_cache_bypass\n# TYPE sgw_cache_rev_cache_bypass gauge\nsgw_cache_rev_cache_bypass{database=\"travel-sample\"} 0\n# HELP sgw_cache_rev_cache_hits rev_cache_hits\n# TYPE sgw_cache_rev_cache_hits counter\nsgw_cache_rev_cache_hits{database=\"travel-sample\"} 0\n# HELP sgw_cache_rev_cache_misses rev_cache_misses\n# TYPE sgw_cache_rev_cache_misses counter\nsgw_cache_rev_cache_misses{database=\"travel-sample\"} 0\n# HELP sgw_cache_skipped_seq_len skipped_seq_len\n# TYPE sgw_cache_skipped_seq_len gauge\nsgw_cache_skipped_seq_len{database=\"travel-sample\"} 0\n# HELP sgw_cache_view_queries view_queries\n# TYPE sgw_cache_view_queries counter\nsgw_cache_view_queries{database=\"travel-sample\"} 0\n# HELP sgw_database_conflict_write_count conflict_write_count\n# TYPE sgw_database_conflict_write_count counter\nsgw_database_conflict_write_count{database=\"travel-sample\"} 0\n# HELP sgw_database_crc32c_match_count crc32c_match_count\n# TYPE sgw_database_crc32c_match_count gauge\nsgw_database_crc32c_match_count{database=\"travel-sample\"} 0\n# HELP sgw_database_dcp_caching_count dcp_caching_count\n# TYPE sgw_database_dcp_caching_count gauge\nsgw_database_dcp_caching_count{database=\"travel-sample\"} 0\n# HELP sgw_database_dcp_caching_time dcp_caching_time\n# TYPE sgw_database_dcp_caching_time gauge\nsgw_database_dcp_caching_time{database=\"travel-sample\"} 0\n# HELP sgw_database_dcp_received_count dcp_received_count\n# TYPE sgw_database_dcp_received_count gauge\nsgw_database_dcp_received_count{database=\"travel-sample\"} 0\n# HELP sgw_database_dcp_received_time dcp_received_time\n# TYPE sgw_database_dcp_received_time gauge\nsgw_database_dcp_received_time{database=\"travel-sample\"} 0\n# HELP sgw_database_doc_reads_bytes_blip doc_reads_bytes_blip\n# TYPE sgw_database_doc_reads_bytes_blip counter\nsgw_database_doc_reads_bytes_blip{database=\"travel-sample\"} 0\n# HELP sgw_database_doc_writes_bytes doc_writes_bytes\n# TYPE sgw_database_doc_writes_bytes counter\nsgw_database_doc_writes_bytes{database=\"travel-sample\"} 0\n# HELP sgw_database_doc_writes_bytes_blip doc_writes_bytes_blip\n# TYPE sgw_database_doc_writes_bytes_blip counter\nsgw_database_doc_writes_bytes_blip{database=\"travel-sample\"} 0\n# HELP sgw_database_doc_writes_xattr_bytes doc_writes_xattr_bytes\n# TYPE sgw_database_doc_writes_xattr_bytes counter\nsgw_database_doc_writes_xattr_bytes{database=\"travel-sample\"} 0\n# HELP sgw_database_high_seq_feed high_seq_feed\n# TYPE sgw_database_high_seq_feed counter\nsgw_database_high_seq_feed{database=\"travel-sample\"} 0\n# HELP sgw_database_num_doc_reads_blip num_doc_reads_blip\n# TYPE sgw_database_num_doc_reads_blip counter\nsgw_database_num_doc_reads_blip{database=\"travel-sample\"} 0\n# HELP sgw_database_num_doc_reads_rest num_doc_reads_rest\n# TYPE sgw_database_num_doc_reads_rest counter\nsgw_database_num_doc_reads_rest{database=\"travel-sample\"} 0\n# HELP sgw_database_num_doc_writes num_doc_writes\n# TYPE sgw_database_num_doc_writes counter\nsgw_database_num_doc_writes{database=\"travel-sample\"} 0\n# HELP sgw_database_num_replications_active num_replications_active\n# TYPE sgw_database_num_replications_active gauge\nsgw_database_num_replications_active{database=\"travel-sample\"} 0\n# HELP sgw_database_num_replications_total num_replications_total\n# TYPE sgw_database_num_replications_total counter\nsgw_database_num_replications_total{database=\"travel-sample\"} 0\n# HELP sgw_database_num_tombstones_compacted num_tombstones_compacted\n# TYPE sgw_database_num_tombstones_compacted counter\nsgw_database_num_tombstones_compacted{database=\"travel-sample\"} 0\n# HELP sgw_database_sequence_assigned_count sequence_assigned_count\n# TYPE sgw_database_sequence_assigned_count counter\nsgw_database_sequence_assigned_count{database=\"travel-sample\"} 0\n# HELP sgw_database_sequence_get_count sequence_get_count\n# TYPE sgw_database_sequence_get_count counter\nsgw_database_sequence_get_count{database=\"travel-sample\"} 2\n# HELP sgw_database_sequence_incr_count sequence_incr_count\n# TYPE sgw_database_sequence_incr_count counter\nsgw_database_sequence_incr_count{database=\"travel-sample\"} 0\n# HELP sgw_database_sequence_released_count sequence_released_count\n# TYPE sgw_database_sequence_released_count counter\nsgw_database_sequence_released_count{database=\"travel-sample\"} 0\n# HELP sgw_database_sequence_reserved_count sequence_reserved_count\n# TYPE sgw_database_sequence_reserved_count counter\nsgw_database_sequence_reserved_count{database=\"travel-sample\"} 0\n# HELP sgw_database_warn_channel_name_size_count warn_channel_name_size_count\n# TYPE sgw_database_warn_channel_name_size_count counter\nsgw_database_warn_channel_name_size_count{database=\"travel-sample\"} 0\n# HELP sgw_database_warn_channels_per_doc_count warn_channels_per_doc_count\n# TYPE sgw_database_warn_channels_per_doc_count counter\nsgw_database_warn_channels_per_doc_count{database=\"travel-sample\"} 0\n# HELP sgw_database_warn_grants_per_doc_count warn_grants_per_doc_count\n# TYPE sgw_database_warn_grants_per_doc_count counter\nsgw_database_warn_grants_per_doc_count{database=\"travel-sample\"} 0\n# HELP sgw_database_warn_xattr_size_count warn_xattr_size_count\n# TYPE sgw_database_warn_xattr_size_count counter\nsgw_database_warn_xattr_size_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_access_count access_count\n# TYPE sgw_gsi_views_access_count counter\nsgw_gsi_views_access_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_access_error_count access_error_count\n# TYPE sgw_gsi_views_access_error_count counter\nsgw_gsi_views_access_error_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_access_time access_time\n# TYPE sgw_gsi_views_access_time counter\nsgw_gsi_views_access_time{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_allDocs_count allDocs_count\n# TYPE sgw_gsi_views_allDocs_count counter\nsgw_gsi_views_allDocs_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_allDocs_error_count allDocs_error_count\n# TYPE sgw_gsi_views_allDocs_error_count counter\nsgw_gsi_views_allDocs_error_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_allDocs_time allDocs_time\n# TYPE sgw_gsi_views_allDocs_time counter\nsgw_gsi_views_allDocs_time{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_channelsStar_count channelsStar_count\n# TYPE sgw_gsi_views_channelsStar_count counter\nsgw_gsi_views_channelsStar_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_channelsStar_error_count channelsStar_error_count\n# TYPE sgw_gsi_views_channelsStar_error_count counter\nsgw_gsi_views_channelsStar_error_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_channelsStar_time channelsStar_time\n# TYPE sgw_gsi_views_channelsStar_time counter\nsgw_gsi_views_channelsStar_time{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_channels_count channels_count\n# TYPE sgw_gsi_views_channels_count counter\nsgw_gsi_views_channels_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_channels_error_count channels_error_count\n# TYPE sgw_gsi_views_channels_error_count counter\nsgw_gsi_views_channels_error_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_channels_time channels_time\n# TYPE sgw_gsi_views_channels_time counter\nsgw_gsi_views_channels_time{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_principals_count principals_count\n# TYPE sgw_gsi_views_principals_count counter\nsgw_gsi_views_principals_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_principals_error_count principals_error_count\n# TYPE sgw_gsi_views_principals_error_count counter\nsgw_gsi_views_principals_error_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_principals_time principals_time\n# TYPE sgw_gsi_views_principals_time counter\nsgw_gsi_views_principals_time{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_resync_count resync_count\n# TYPE sgw_gsi_views_resync_count counter\nsgw_gsi_views_resync_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_resync_error_count resync_error_count\n# TYPE sgw_gsi_views_resync_error_count counter\nsgw_gsi_views_resync_error_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_resync_time resync_time\n# TYPE sgw_gsi_views_resync_time counter\nsgw_gsi_views_resync_time{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_roleAccess_count roleAccess_count\n# TYPE sgw_gsi_views_roleAccess_count counter\nsgw_gsi_views_roleAccess_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_roleAccess_error_count roleAccess_error_count\n# TYPE sgw_gsi_views_roleAccess_error_count counter\nsgw_gsi_views_roleAccess_error_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_roleAccess_time roleAccess_time\n# TYPE sgw_gsi_views_roleAccess_time counter\nsgw_gsi_views_roleAccess_time{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_sequences_count sequences_count\n# TYPE sgw_gsi_views_sequences_count counter\nsgw_gsi_views_sequences_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_sequences_error_count sequences_error_count\n# TYPE sgw_gsi_views_sequences_error_count counter\nsgw_gsi_views_sequences_error_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_sequences_time sequences_time\n# TYPE sgw_gsi_views_sequences_time counter\nsgw_gsi_views_sequences_time{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_sessions_count sessions_count\n# TYPE sgw_gsi_views_sessions_count counter\nsgw_gsi_views_sessions_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_sessions_error_count sessions_error_count\n# TYPE sgw_gsi_views_sessions_error_count counter\nsgw_gsi_views_sessions_error_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_sessions_time sessions_time\n# TYPE sgw_gsi_views_sessions_time counter\nsgw_gsi_views_sessions_time{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_tombstones_count tombstones_count\n# TYPE sgw_gsi_views_tombstones_count counter\nsgw_gsi_views_tombstones_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_tombstones_error_count tombstones_error_count\n# TYPE sgw_gsi_views_tombstones_error_count counter\nsgw_gsi_views_tombstones_error_count{database=\"travel-sample\"} 0\n# HELP sgw_gsi_views_tombstones_time tombstones_time\n# TYPE sgw_gsi_views_tombstones_time counter\nsgw_gsi_views_tombstones_time{database=\"travel-sample\"} 0\n# HELP sgw_replication_pull_attachment_pull_bytes attachment_pull_bytes\n# TYPE sgw_replication_pull_attachment_pull_bytes counter\nsgw_replication_pull_attachment_pull_bytes{database=\"travel-sample\"} 0\n# HELP sgw_replication_pull_attachment_pull_count attachment_pull_count\n# TYPE sgw_replication_pull_attachment_pull_count counter\nsgw_replication_pull_attachment_pull_count{database=\"travel-sample\"} 0\n# HELP sgw_replication_pull_max_pending max_pending\n# TYPE sgw_replication_pull_max_pending gauge\nsgw_replication_pull_max_pending{database=\"travel-sample\"} 0\n# HELP sgw_replication_pull_num_pull_repl_active_continuous num_pull_repl_active_continuous\n# TYPE sgw_replication_pull_num_pull_repl_active_continuous gauge\nsgw_replication_pull_num_pull_repl_active_continuous{database=\"travel-sample\"} 0\n# HELP sgw_replication_pull_num_pull_repl_active_one_shot num_pull_repl_active_one_shot\n# TYPE sgw_replication_pull_num_pull_repl_active_one_shot gauge\nsgw_replication_pull_num_pull_repl_active_one_shot{database=\"travel-sample\"} 0\n# HELP sgw_replication_pull_num_pull_repl_caught_up num_pull_repl_caught_up\n# TYPE sgw_replication_pull_num_pull_repl_caught_up gauge\nsgw_replication_pull_num_pull_repl_caught_up{database=\"travel-sample\"} 0\n# HELP sgw_replication_pull_num_pull_repl_since_zero num_pull_repl_since_zero\n# TYPE sgw_replication_pull_num_pull_repl_since_zero counter\nsgw_replication_pull_num_pull_repl_since_zero{database=\"travel-sample\"} 0\n# HELP sgw_replication_pull_num_pull_repl_total_caught_up num_pull_repl_total_caught_up\n# TYPE sgw_replication_pull_num_pull_repl_total_caught_up gauge\nsgw_replication_pull_num_pull_repl_total_caught_up{database=\"travel-sample\"} 0\n# HELP sgw_replication_pull_num_pull_repl_total_continuous num_pull_repl_total_continuous\n# TYPE sgw_replication_pull_num_pull_repl_total_continuous gauge\nsgw_replication_pull_num_pull_repl_total_continuous{database=\"travel-sample\"} 0\n# HELP sgw_replication_pull_num_pull_repl_total_one_shot num_pull_repl_total_one_shot\n# TYPE sgw_replication_pull_num_pull_repl_total_one_shot gauge\nsgw_replication_pull_num_pull_repl_total_one_shot{database=\"travel-sample\"} 0\n# HELP sgw_replication_pull_num_replications_active num_replications_active\n# TYPE sgw_replication_pull_num_replications_active gauge\nsgw_replication_pull_num_replications_active{database=\"travel-sample\"} 0\n# HELP sgw_replication_pull_request_changes_count request_changes_count\n# TYPE sgw_replication_pull_request_changes_count counter\nsgw_replication_pull_request_changes_count{database=\"travel-sample\"} 0\n# HELP sgw_replication_pull_request_changes_time request_changes_time\n# TYPE sgw_replication_pull_request_changes_time counter\nsgw_replication_pull_request_changes_time{database=\"travel-sample\"} 0\n# HELP sgw_replication_pull_rev_processing_time rev_processing_time\n# TYPE sgw_replication_pull_rev_processing_time gauge\nsgw_replication_pull_rev_processing_time{database=\"travel-sample\"} 0\n# HELP sgw_replication_pull_rev_send_count rev_send_count\n# TYPE sgw_replication_pull_rev_send_count counter\nsgw_replication_pull_rev_send_count{database=\"travel-sample\"} 0\n# HELP sgw_replication_pull_rev_send_latency rev_send_latency\n# TYPE sgw_replication_pull_rev_send_latency counter\nsgw_replication_pull_rev_send_latency{database=\"travel-sample\"} 0\n# HELP sgw_replication_push_attachment_push_bytes attachment_push_bytes\n# TYPE sgw_replication_push_attachment_push_bytes counter\nsgw_replication_push_attachment_push_bytes{database=\"travel-sample\"} 0\n# HELP sgw_replication_push_attachment_push_count attachment_push_count\n# TYPE sgw_replication_push_attachment_push_count counter\nsgw_replication_push_attachment_push_count{database=\"travel-sample\"} 0\n# HELP sgw_replication_push_doc_push_count doc_push_count\n# TYPE sgw_replication_push_doc_push_count gauge\nsgw_replication_push_doc_push_count{database=\"travel-sample\"} 0\n# HELP sgw_replication_push_propose_change_count propose_change_count\n# TYPE sgw_replication_push_propose_change_count counter\nsgw_replication_push_propose_change_count{database=\"travel-sample\"} 0\n# HELP sgw_replication_push_propose_change_time propose_change_time\n# TYPE sgw_replication_push_propose_change_time counter\nsgw_replication_push_propose_change_time{database=\"travel-sample\"} 0\n# HELP sgw_replication_push_sync_function_count sync_function_count\n# TYPE sgw_replication_push_sync_function_count counter\nsgw_replication_push_sync_function_count{database=\"travel-sample\"} 0\n# HELP sgw_replication_push_sync_function_time sync_function_time\n# TYPE sgw_replication_push_sync_function_time counter\nsgw_replication_push_sync_function_time{database=\"travel-sample\"} 0\n# HELP sgw_replication_push_write_processing_time write_processing_time\n# TYPE sgw_replication_push_write_processing_time gauge\nsgw_replication_push_write_processing_time{database=\"travel-sample\"} 0\n# HELP sgw_resource_utilization_admin_net_bytes_recv admin_net_bytes_recv\n# TYPE sgw_resource_utilization_admin_net_bytes_recv counter\nsgw_resource_utilization_admin_net_bytes_recv 0\n# HELP sgw_resource_utilization_admin_net_bytes_sent admin_net_bytes_sent\n# TYPE sgw_resource_utilization_admin_net_bytes_sent counter\nsgw_resource_utilization_admin_net_bytes_sent 0\n# HELP sgw_resource_utilization_error_count error_count\n# TYPE sgw_resource_utilization_error_count counter\nsgw_resource_utilization_error_count 0\n# HELP sgw_resource_utilization_go_memstats_heapalloc go_memstats_heapalloc\n# TYPE sgw_resource_utilization_go_memstats_heapalloc gauge\nsgw_resource_utilization_go_memstats_heapalloc 0\n# HELP sgw_resource_utilization_go_memstats_heapidle go_memstats_heapidle\n# TYPE sgw_resource_utilization_go_memstats_heapidle gauge\nsgw_resource_utilization_go_memstats_heapidle 0\n# HELP sgw_resource_utilization_go_memstats_heapinuse go_memstats_heapinuse\n# TYPE sgw_resource_utilization_go_memstats_heapinuse gauge\nsgw_resource_utilization_go_memstats_heapinuse 0\n# HELP sgw_resource_utilization_go_memstats_heapreleased go_memstats_heapreleased\n# TYPE sgw_resource_utilization_go_memstats_heapreleased gauge\nsgw_resource_utilization_go_memstats_heapreleased 0\n# HELP sgw_resource_utilization_go_memstats_pausetotalns go_memstats_pausetotalns\n# TYPE sgw_resource_utilization_go_memstats_pausetotalns gauge\nsgw_resource_utilization_go_memstats_pausetotalns 0\n# HELP sgw_resource_utilization_go_memstats_stackinuse go_memstats_stackinuse\n# TYPE sgw_resource_utilization_go_memstats_stackinuse gauge\nsgw_resource_utilization_go_memstats_stackinuse 0\n# HELP sgw_resource_utilization_go_memstats_stacksys go_memstats_stacksys\n# TYPE sgw_resource_utilization_go_memstats_stacksys gauge\nsgw_resource_utilization_go_memstats_stacksys 0\n# HELP sgw_resource_utilization_go_memstats_sys go_memstats_sys\n# TYPE sgw_resource_utilization_go_memstats_sys gauge\nsgw_resource_utilization_go_memstats_sys 0\n# HELP sgw_resource_utilization_goroutines_high_watermark goroutines_high_watermark\n# TYPE sgw_resource_utilization_goroutines_high_watermark gauge\nsgw_resource_utilization_goroutines_high_watermark 0\n# HELP sgw_resource_utilization_num_goroutines num_goroutines\n# TYPE sgw_resource_utilization_num_goroutines gauge\nsgw_resource_utilization_num_goroutines 0\n# HELP sgw_resource_utilization_process_cpu_percent_utilization process_cpu_percent_utilization\n# TYPE sgw_resource_utilization_process_cpu_percent_utilization gauge\nsgw_resource_utilization_process_cpu_percent_utilization 0\n# HELP sgw_resource_utilization_process_memory_resident process_memory_resident\n# TYPE sgw_resource_utilization_process_memory_resident gauge\nsgw_resource_utilization_process_memory_resident 0\n# HELP sgw_resource_utilization_pub_net_bytes_recv pub_net_bytes_recv\n# TYPE sgw_resource_utilization_pub_net_bytes_recv counter\nsgw_resource_utilization_pub_net_bytes_recv 0\n# HELP sgw_resource_utilization_pub_net_bytes_sent pub_net_bytes_sent\n# TYPE sgw_resource_utilization_pub_net_bytes_sent counter\nsgw_resource_utilization_pub_net_bytes_sent 0\n# HELP sgw_resource_utilization_system_memory_total system_memory_total\n# TYPE sgw_resource_utilization_system_memory_total gauge\nsgw_resource_utilization_system_memory_total 0\n# HELP sgw_resource_utilization_uptime uptime\n# TYPE sgw_resource_utilization_uptime counter\nsgw_resource_utilization_uptime 4.81563855e+10\n# HELP sgw_resource_utilization_warn_count warn_count\n# TYPE sgw_resource_utilization_warn_count counter\nsgw_resource_utilization_warn_count 1\n# HELP sgw_security_auth_failed_count auth_failed_count\n# TYPE sgw_security_auth_failed_count counter\nsgw_security_auth_failed_count{database=\"travel-sample\"} 0\n# HELP sgw_security_auth_success_count auth_success_count\n# TYPE sgw_security_auth_success_count counter\nsgw_security_auth_success_count{database=\"travel-sample\"} 0\n# HELP sgw_security_num_access_errors num_access_errors\n# TYPE sgw_security_num_access_errors counter\nsgw_security_num_access_errors{database=\"travel-sample\"} 0\n# HELP sgw_security_num_docs_rejected num_docs_rejected\n# TYPE sgw_security_num_docs_rejected counter\nsgw_security_num_docs_rejected{database=\"travel-sample\"} 0\n# HELP sgw_security_total_auth_time total_auth_time\n# TYPE sgw_security_total_auth_time gauge\nsgw_security_total_auth_time{database=\"travel-sample\"} 0\n# HELP sgw_shared_bucket_import_import_cancel_cas import_cancel_cas\n# TYPE sgw_shared_bucket_import_import_cancel_cas counter\nsgw_shared_bucket_import_import_cancel_cas{database=\"travel-sample\"} 0\n# HELP sgw_shared_bucket_import_import_count import_count\n# TYPE sgw_shared_bucket_import_import_count counter\nsgw_shared_bucket_import_import_count{database=\"travel-sample\"} 0\n# HELP sgw_shared_bucket_import_import_error_count import_error_count\n# TYPE sgw_shared_bucket_import_import_error_count counter\nsgw_shared_bucket_import_import_error_count{database=\"travel-sample\"} 0\n# HELP sgw_shared_bucket_import_import_high_seq import_high_seq\n# TYPE sgw_shared_bucket_import_import_high_seq counter\nsgw_shared_bucket_import_import_high_seq{database=\"travel-sample\"} 0\n# HELP sgw_shared_bucket_import_import_partitions import_partitions\n# TYPE sgw_shared_bucket_import_import_partitions gauge\nsgw_shared_bucket_import_import_partitions{database=\"travel-sample\"} 16\n# HELP sgw_shared_bucket_import_import_processing_time import_processing_time\n# TYPE sgw_shared_bucket_import_import_processing_time gauge\nsgw_shared_bucket_import_import_processing_time{database=\"travel-sample\"} 0\n# HELP sgw_up up\n# TYPE sgw_up gauge\nsgw_up 1\n" } ] } ], "variable": [ { "key": "metricsUrl", "value": "http://localhost:4986", "type": "string" } ] }