Skip to content

Commit 2ddbe16

Browse files
committed
Troubleshooting: Start reworking the main page, and general guidance
1 parent 154a8f8 commit 2ddbe16

File tree

4 files changed

+78
-21
lines changed

4 files changed

+78
-21
lines changed

docs/admin/troubleshooting/docker-jcmd.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _jcmd-docker:
22

33
===============================================
4-
Troubleshooting CrateDB on Docker with ``jcmd``
4+
Troubleshooting CrateDB with ``jcmd`` on Docker
55
===============================================
66

77
You can find a lot of troubleshooting guides for Java applications out there on

docs/admin/troubleshooting/index.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
(troubleshooting)=
2+
3+
# Troubleshooting
4+
5+
A collection of guides and tools for troubleshooting CrateDB.
6+
7+
You will learn how to apply self-service measurements supporting you when
8+
observing problems with your CrateDB database cluster.
9+
If you need help from others, feel free to reach out to our community or
10+
commercial [support channels][support] any time.
11+
12+
:::{tip}
13+
Relevant suggestions will support you to optimally gather and convey
14+
information about your database cluster, which helps others to get a
15+
rough orientation about its size, and other technical characteristics.
16+
Before [contacting support][support], you optimally have this information
17+
ready.
18+
:::
19+
20+
:::{note}
21+
The guidelines may not exclusively be applicable for users of CrateDB Cloud,
22+
or when running CrateDB on a commercial contract, where additional
23+
communication channels apply.
24+
25+
Independently from support channels and status, significant parts
26+
of the instructions outlined here will help our support engineers to discover
27+
any sort of problem with your CrateDB cluster much faster than asking
28+
individual questions, so we generally recommend to use
29+
this guideline as a checklist in all situations.
30+
:::
31+
32+
33+
## Introduction
34+
35+
Many details about the status of your cluster is included within CrateDB's
36+
[system tables]. The `sys` schema includes synthetic read-only tables which
37+
can be queried to get statistical real-time information about the cluster's
38+
metadata, like information about nodes and shards. The [](#systables) section
39+
illustrates how to use them.
40+
41+
The sections below include instructions about how to use the [crate-node]
42+
and [jcmd] utility and diagnosis programs, and information about
43+
using the [Java Flight Recorder] for [monitoring Java applications].
44+
45+
46+
## Instructions
47+
48+
:::{todo}
49+
- 🚧 A concise step-by-step checklist could be provided here, with
50+
optional tool support.
51+
- 🧹 The "table of contents" section below may be removed.
52+
:::
53+
54+
55+
:::{rubric} Table of contents
56+
:::
57+
58+
:::{toctree}
59+
:maxdepth: 2
60+
61+
using system tables <system-tables>
62+
using crate-node <crate-node>
63+
using jcmd on Docker <docker-jcmd>
64+
:::
65+
66+
67+
68+
69+
[crate-node]: inv:crate-reference#cli-crate-node
70+
[Java Flight Recorder]: https://en.wikipedia.org/wiki/JDK_Flight_Recorder
71+
[jcmd]: https://www.baeldung.com/running-jvm-diagnose
72+
[monitoring Java applications]: https://www.baeldung.com/java-flight-recorder-monitoring
73+
[support]: https://cratedb.com/support
74+
[system tables]: inv:crate-reference#system-information

docs/admin/troubleshooting/index.rst

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs/admin/troubleshooting/systables.rst renamed to docs/admin/troubleshooting/system-tables.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.. highlight:: psql
22
.. _systables:
33

4-
===============================
5-
Troubleshooting with sys-tables
6-
===============================
4+
==================================
5+
Troubleshooting with system tables
6+
==================================
77

88
CrateDB maintains a set of diagnostic tables in the **sys** schema. It
99
currently consists of ten tables that provide an overview of the cluster state.

0 commit comments

Comments
 (0)