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:
@@ -39,5 +39,3 @@ sudo yum install urw-fonts
|
||||
|
||||
Check out the [FAQ section](https://community.grafana.com/c/howto/faq) on the Grafana Community page for answers to frequently
|
||||
asked questions.
|
||||
|
||||
|
||||
|
||||
@@ -6,11 +6,11 @@ weight = 200
|
||||
# Enable diagnostics
|
||||
|
||||
You can set up the `grafana-server` process to enable certain diagnostics when it starts. This can be helpful
|
||||
when investigating certain performance problems. It's *not* recommended to have these enabled by default.
|
||||
when investigating certain performance problems. It's _not_ recommended to have these enabled by default.
|
||||
|
||||
## Turn on profiling
|
||||
|
||||
The `grafana-server` can be started with the arguments `-profile` to enable profiling and `-profile-port` to override
|
||||
The `grafana-server` can be started with the arguments `-profile` to enable profiling and `-profile-port` to override
|
||||
the default HTTP port (`6060`) where the `pprof` debugging endpoints are available, for example:
|
||||
|
||||
```bash
|
||||
@@ -52,4 +52,4 @@ go tool trace <trace file>
|
||||
2019/11/24 22:20:42 Opening browser. Trace viewer is listening on http://127.0.0.1:39735
|
||||
```
|
||||
|
||||
See [Go command trace](https://golang.org/cmd/trace/) for more information about how to analyze trace files.
|
||||
See [Go command trace](https://golang.org/cmd/trace/) for more information about how to analyze trace files.
|
||||
|
||||
@@ -32,6 +32,7 @@ Some applications publish data intermittently; for example, they only post a met
|
||||
default, Grafana graphs connect lines between the data points. This can be very deceiving.
|
||||
|
||||
In the picture below we have enabled:
|
||||
|
||||
- Points and 3-point radius to highlight where data points are actually present.
|
||||
- **Null value** is set to **connected**.
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ For more information, refer to [Inspect a panel]({{< relref "../panels/inspect-p
|
||||
## My query is slow
|
||||
|
||||
How many data points is your query returning? A query that returns lots of data points will be slow. Try this:
|
||||
|
||||
- In **Query options**, limit the **Max data points** returned.
|
||||
- In **Query options**, increase the **Min interval** time.
|
||||
- In your query, use a `group by` function.
|
||||
|
||||
Reference in New Issue
Block a user