Skip to content

Commit 8077a99

Browse files
committed
Added Grafana docs
1 parent 6fc206c commit 8077a99

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

docs/maintenance-operations/monitoring/accessing-grafana.md

+34-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,37 @@ title: "Accessing Grafana"
33
weight: 30000
44
---
55

6-
<placeholder>
6+
Simplyblock's control plane include a Prometheus and Grafana installation.
7+
8+
Grafana retrieves metric data from Prometheus, including capacity, io statistics, the cluster event log. Additionally,
9+
Grafana is used for alerting via Slack or email.
10+
11+
The standard retention period for metrics is 7 days. This, however, can be changed while creating a cluster.
12+
13+
## How to access Grafana
14+
15+
Grafana can be accessed through all management nodes via port 3000. It is recommended to set up a load balancer with
16+
session stickyness in front of the Grafana installation(s).
17+
18+
```plain title="Grafana URLs"
19+
http://<MGMT_NODE_IP>:3000
20+
```
21+
22+
To retrieve the endpoint address from the cluster itself, use the following command:
23+
24+
```bash title="Retrieving the Grafana endpoint"
25+
sbcli cluster get <CLUSTER_ID> | grep grafana_endpoint
26+
```
27+
28+
### Credentials
29+
30+
The Grafana installation uses the cluster secret as its password for the user _admin_. To retrieve the cluster secret,
31+
the following command should be used:
32+
33+
```bash title="Get the cluster secret"
34+
sbcli cluster get-secret <CLUSTER_ID>
35+
```
36+
37+
**Credentials**<br/>
38+
Username: **admin**<br/>
39+
Password: **<CLUSTER_SECRET>**

0 commit comments

Comments
 (0)