From 78b599f1f11ead9037799dae9b21887caede9c8e Mon Sep 17 00:00:00 2001 From: Michael Baird Date: Wed, 18 Oct 2017 09:22:55 -0500 Subject: [PATCH] diagnostics docs --- docs/administration.md | 21 +++++++++++++++++++++ docs/configuration.md | 13 +++++++++++++ 2 files changed, 34 insertions(+) diff --git a/docs/administration.md b/docs/administration.md index ed4da61ee..861d7f6a1 100644 --- a/docs/administration.md +++ b/docs/administration.md @@ -112,6 +112,27 @@ Note: This will only work when the replication factor is >= 2 - Restart the cluster - Wait for the 1st sync (10 minutes) to validate Index connections +#### Diagnostics + +Each Pilosa cluster is configured by default to share anonymous usage details with Pilosa Corp. These metrics allow us to understand how Pilosa is used by the community and improve the technology to suit your needs. Diagnostics are sent to Pilosa every hour. Each of the metrics are detailed below as well as opt-out instructions. + +Version: Version string of the build. +Host: Host URI. +Cluster: List of nodes in the Cluster. +NumNodes: Number of nodes in the Cluster. +NumCPU: Number of Cores per Node +BSIEnabled: Bit Slice Index Frames in use. +TimeQuantumEnabled: Time Quantum Frames in use. +InverseEnabled: Inverse Frames in use. +NumIndexes: Number of Indexes in the Cluster. +NumFrames: Number of Frames in the Cluster. +NumSlices: Number of Slices in the Cluster. +NumViews: Number of Views in the Cluster. +OpenFiles: Open file handle count. +GoRoutines: Go routine count. + +You can opt-out of the Pilosa diagnostics reporting by setting the `diagnostics` configuration option under `metric` to `0m0s`. + #### Metrics Pilosa can be configured to emit metrics pertaining to its internal processes in one of two formats: Expvar or StatsD. Metric recording is disabled by default. diff --git a/docs/configuration.md b/docs/configuration.md index 6741bc74b..d786d0513 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -206,6 +206,19 @@ Any flag that has a value that is a comma separated list on the command line bec poll-interval = "0m15s" ``` +##### Metric Diagnostics Interval + +* Description: Diagnostic reporting interval. To disable diagnostics set to zero. +* Flag: `metric.diagnostics=ā€60m0sā€` +* Env: `PILOSA_METRIC_DIAGNOSTICS=60m0s` +* Config: + + ```toml + [metric] + diagnostics = "60m0s" + ``` + + ##### TLS Certificate * Description: Path to the TLS certificate to use for serving HTTPS. Usually has one of`.crt` or `.pem` extensions.