This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"syncgateway": { | |
"global": { | |
"resource_utilization": { | |
"admin_net_bytes_recv": 263245359, | |
"admin_net_bytes_sent": 129304950, | |
"error_count": 11, | |
"go_memstats_heapalloc": 150954168, | |
"go_memstats_heapidle": 82124800, | |
"go_memstats_heapinuse": 185458688, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"syncgateway": {"global": {"resource_utilization": {"admin_net_bytes_recv": 168328211, "admin_net_bytes_sent": 33911901, "error_count": 2, "go_memstats_heapalloc": 120812296, "go_memstats_heapidle": 102367232, "go_memstats_heapinuse": 165216256, "go_memstats_heapreleased": 7520256, "go_memstats_pausetotalns": 1012698600, "go_memstats_stackinuse": 851968, "go_memstats_stacksys": 851968, "go_memstats_sys": 284711160, "goroutines_high_watermark": 53, "num_goroutines": 41, "process_cpu_percent_utilization": 115.84441825223101, "process_memory_resident": 2.24718848e+08, "pub_net_bytes_recv": 168328211, "pub_net_bytes_sent": 33911901, "system_memory_total": 4.139413504e+09, "warn_count": 1437}}, "per_db": {"travel-sample": {"cache": {"chan_cache_active_revs": -450, "chan_cache_hits": 0, "chan_cache_max_entries": 50, "chan_cache_misses": 1, "chan_cache_num_channels": 1, "chan_cache_pending_queries": 0, "chan_cache_removal_revs": 0, "chan_cache_tombstone_revs": 0, "num_skipped_seqs": 0, "rev_cache_hits": 0, "rev_cac |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"adminInterface": ":4985", | |
"logging": { | |
"log_file_path": "/var/tmp/sglogs", | |
"console": { | |
"log_level": "debug", | |
"log_keys": ["*"] | |
}, | |
"error": { | |
"enabled": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"adminInterface": ":4985", | |
"logging": { | |
"log_file_path": "/var/tmp/sglogs", | |
"console": { | |
"log_level": "debug", | |
"log_keys": ["*"] | |
}, | |
"error": { | |
"enabled": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"interface":":4984", | |
"log": ["*"], | |
"logging": { | |
"log_file_path": "/var/tmp/sglogs", | |
"console": { | |
"log_level": "debug", | |
"log_keys": ["*"] | |
}, | |
"error": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HELP go_gc_duration_seconds A summary of the GC invocation durations. | |
# TYPE go_gc_duration_seconds summary | |
go_gc_duration_seconds{quantile="0"} 2.81e-05 | |
go_gc_duration_seconds{quantile="0.25"} 5.05e-05 | |
go_gc_duration_seconds{quantile="0.5"} 8.92e-05 | |
go_gc_duration_seconds{quantile="0.75"} 0.0001665 | |
go_gc_duration_seconds{quantile="1"} 0.0004524 | |
go_gc_duration_seconds_sum 0.0013899 | |
go_gc_duration_seconds_count 9 | |
# HELP go_goroutines Number of goroutines that currently exist. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: sync-gateway-exporter | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: sync-gateway-exporter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"syncgateway":{ | |
"global":{ | |
"resource_utilization":{ | |
"admin_net_bytes_recv":697856009, | |
"admin_net_bytes_sent":166156024, | |
"error_count":9, | |
"go_memstats_heapalloc":55281624, | |
"go_memstats_heapidle":116293632, | |
"go_memstats_heapinuse":84017152, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019-05-10T18:41:41.265Z [DBG] SyncMsg+: c:[35d219ee] #4: Type:rev Id:doc1 Rev:3-a7947267ceb469e999e9141062592e2f685a3bf0 Sequence:5 User:admin | |
2019-05-10T18:41:41.268Z [DBG] CRUD+: c:[35d219ee] Invoking sync on doc "doc1" rev 3-a7947267ceb469e999e9141062592e2f685a3bf0 | |
2019-05-10T18:41:41.269Z [DBG] CRUD+: Backed up revision body "doc1"/"2-6cc55e24e75c5f1d5a86ec6c833746a69725ec6c" (18 bytes, ttl:300) | |
2019-05-10T18:41:41.281Z [DBG] CRUD+: c:[35d219ee] Saving doc (seq: #38, id: doc1 rev: 3-a7947267ceb469e999e9141062592e2f685a3bf0) | |
2019-05-10T18:41:41.281Z [INF] CRUD: c:[35d219ee] Stored doc "doc1" / "3-a7947267ceb469e999e9141062592e2f685a3bf0" as #38 | |
2019-05-10T18:41:41.281Z [DBG] SyncMsg+: c:[35d219ee] #4: Type:rev --> OK Time:29.6462ms User:admin | |
2019-05-10T18:41:41.281Z [DBG] WS+: c:[35d219ee] Push RPY#4 | |
2019-05-10T18:41:41.281Z [DBG] WS+: c:[35d219ee] Sending frame: RPY#4 (flags= 1, size= 1) | |
2019-05-10T18:41:41.283Z [DBG] WS+: c:[35d219ee] Received frame: MSG#5 (flags= 0, length=93) | |
2019- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//package com.couchbase.HelloWorld-Java; | |
import com.couchbase.lite.*; | |
import com.couchbase.lite.auth.Authenticator; | |
import com.couchbase.lite.auth.AuthenticatorFactory; | |
import com.couchbase.lite.replicator.Replication; | |
import java.io.IOException; | |
import java.net.MalformedURLException; | |
import java.net.URL; |