Skip to content

Commit

Permalink
Troubleshooting: Start reworking the main page, and general guidance
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Jul 7, 2024
1 parent 154a8f8 commit 2ddbe16
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 21 deletions.
2 changes: 1 addition & 1 deletion docs/admin/troubleshooting/docker-jcmd.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _jcmd-docker:

===============================================
Troubleshooting CrateDB on Docker with ``jcmd``
Troubleshooting CrateDB with ``jcmd`` on Docker
===============================================

You can find a lot of troubleshooting guides for Java applications out there on
Expand Down
74 changes: 74 additions & 0 deletions docs/admin/troubleshooting/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
(troubleshooting)=

# Troubleshooting

A collection of guides and tools for troubleshooting CrateDB.

You will learn how to apply self-service measurements supporting you when
observing problems with your CrateDB database cluster.
If you need help from others, feel free to reach out to our community or
commercial [support channels][support] any time.

:::{tip}
Relevant suggestions will support you to optimally gather and convey
information about your database cluster, which helps others to get a
rough orientation about its size, and other technical characteristics.
Before [contacting support][support], you optimally have this information
ready.
:::

:::{note}
The guidelines may not exclusively be applicable for users of CrateDB Cloud,
or when running CrateDB on a commercial contract, where additional
communication channels apply.

Independently from support channels and status, significant parts
of the instructions outlined here will help our support engineers to discover
any sort of problem with your CrateDB cluster much faster than asking
individual questions, so we generally recommend to use
this guideline as a checklist in all situations.
:::


## Introduction

Many details about the status of your cluster is included within CrateDB's
[system tables]. The `sys` schema includes synthetic read-only tables which
can be queried to get statistical real-time information about the cluster's
metadata, like information about nodes and shards. The [](#systables) section
illustrates how to use them.

The sections below include instructions about how to use the [crate-node]
and [jcmd] utility and diagnosis programs, and information about
using the [Java Flight Recorder] for [monitoring Java applications].


## Instructions

:::{todo}
- 🚧 A concise step-by-step checklist could be provided here, with
optional tool support.
- 🧹 The "table of contents" section below may be removed.
:::


:::{rubric} Table of contents
:::

:::{toctree}
:maxdepth: 2

using system tables <system-tables>
using crate-node <crate-node>
using jcmd on Docker <docker-jcmd>
:::




[crate-node]: inv:crate-reference#cli-crate-node
[Java Flight Recorder]: https://en.wikipedia.org/wiki/JDK_Flight_Recorder
[jcmd]: https://www.baeldung.com/running-jvm-diagnose
[monitoring Java applications]: https://www.baeldung.com/java-flight-recorder-monitoring
[support]: https://cratedb.com/support
[system tables]: inv:crate-reference#system-information
17 changes: 0 additions & 17 deletions docs/admin/troubleshooting/index.rst

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.. highlight:: psql
.. _systables:

===============================
Troubleshooting with sys-tables
===============================
==================================
Troubleshooting with system tables
==================================

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

0 comments on commit 2ddbe16

Please sign in to comment.