PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616)
* Format md,mdx files with prettier on lint-staged * Manually run prettier on docs/sources
This commit is contained in:
@@ -7,7 +7,7 @@ weight = 120
|
||||
|
||||
# Configure Grafana Live
|
||||
|
||||
Grafana Live is enabled by default. In Grafana v8.0, it has a strict default for a maximum number of connections per Grafana server instance.
|
||||
Grafana Live is enabled by default. In Grafana v8.0, it has a strict default for a maximum number of connections per Grafana server instance.
|
||||
|
||||
## Max number of connections
|
||||
|
||||
@@ -50,7 +50,6 @@ cat /proc/<PROCESS_PID>/limits
|
||||
```
|
||||
|
||||
The open files limit shows approximately how many user connections your server can currently handle.
|
||||
|
||||
|
||||
To increase this limit, refer to [these instructions](https://docs.riak.com/riak/kv/2.2.3/using/performance/open-files-limit.1.html)for popular operating systems.
|
||||
|
||||
@@ -83,11 +82,11 @@ http {
|
||||
default upgrade;
|
||||
'' close;
|
||||
}
|
||||
|
||||
|
||||
upstream grafana {
|
||||
server 127.0.0.1:3000;
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
listen 8000;
|
||||
|
||||
|
||||
@@ -37,7 +37,8 @@ After running:
|
||||
|
||||
At the moment we only support single Redis node.
|
||||
|
||||
> **Note:** It's possible to use Redis Sentinel and Haproxy to achieve a highly available Redis setup. Redis nodes should be managed by [Redis Sentinel](https://redis.io/topics/sentinel) to achieve automatic failover. Haproxy configuration example:
|
||||
> **Note:** It's possible to use Redis Sentinel and Haproxy to achieve a highly available Redis setup. Redis nodes should be managed by [Redis Sentinel](https://redis.io/topics/sentinel) to achieve automatic failover. Haproxy configuration example:
|
||||
>
|
||||
> ```
|
||||
> listen redis
|
||||
> server redis-01 127.0.0.1:6380 check port 6380 check inter 2s weight 1 inter 2s downinter 5s rise 10 fall 2 on-marked-down shutdown-sessions on-marked-up shutdown-backup-sessions
|
||||
@@ -55,4 +56,5 @@ At the moment we only support single Redis node.
|
||||
> tcp-check expect string +OK
|
||||
> balance roundrobin
|
||||
> ```
|
||||
>
|
||||
> Next, point Grafana Live to Haproxy address:port.
|
||||
|
||||
Reference in New Issue
Block a user