summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2023-10-08 10:10:13 +0200
committernicolargo <nicolas@nicolargo.com>2023-10-08 10:10:13 +0200
commit55d7c07543a52c82839ea177763d4840f228bab7 (patch)
tree775bc2b61857f9683facd08b62c55760209cc68b /docs
parentcb4a8b80b7e4b440132df8aed8fac4203d1dc6d9 (diff)
CouchDB migration from CouchDB to PyCouchDB library #2570
Diffstat (limited to 'docs')
-rw-r--r--docs/gw/couchdb.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/gw/couchdb.rst b/docs/gw/couchdb.rst
index b5bf2e0f..5916ba8f 100644
--- a/docs/gw/couchdb.rst
+++ b/docs/gw/couchdb.rst
@@ -11,10 +11,10 @@ following:
[couchdb]
host=localhost
- port=
+ port=5984
+ db=glances
user=root
password=example
- db=glances
and run Glances with:
@@ -26,7 +26,7 @@ Documents are stored in native ``JSON`` format. Glances adds ``"type"``
and ``"time"`` entries:
- ``type``: plugin name
-- ``time``: timestamp (format: "2016-09-24T16:39:08.524828Z")
+- ``time``: timestamp (format: "2016-09-24T16:39:08.524Z")
Example of Couch Document for the load stats:
@@ -36,7 +36,7 @@ Example of Couch Document for the load stats:
"_id": "36cbbad81453c53ef08804cb2612d5b6",
"_rev": "1-382400899bec5615cabb99aa34df49fb",
"min15": 0.33,
- "time": "2016-09-24T16:39:08.524828Z",
+ "time": "2016-09-24T16:39:08.524Z",
"min5": 0.4,
"cpucore": 4,
"load_warning": 1,