cleanup shortcodes, asset paths (#34826) (#34900)

(cherry picked from commit 327fa124a4)
This commit is contained in:
Robby Milo
2021-05-28 16:43:49 +02:00
committed by GitHub
parent e1eebdcf75
commit 5f4379a24d
133 changed files with 563 additions and 563 deletions
+5 -5
View File
@@ -22,7 +22,7 @@ Name | Description
`Database` | Name of your PostgreSQL database.
`User` | Database user's login/username
`Password` | Database user's password
`SSL Mode` | Determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the server. When SSL Mode is disabled, SSL Method and Auth Details would not be visible.
`SSL Mode` | Determines whether or with what priority a secure SSL TCP/IP connection will be negotiated with the server. When SSL Mode is disabled, SSL Method and Auth Details would not be visible.
`SSL Auth Details Method` | Determines whether the SSL Auth details will be configured as a file path or file content. Grafana v7.5+
`SSL Auth Details Value` | File path or file content of SSL root certificate, client certificate and client key
`Max open` | The maximum number of open connections to the database, default `unlimited` (Grafana v5.4+).
@@ -68,7 +68,7 @@ Make sure the user does not get any unwanted privileges from the public role.
## Query editor
{{< docs-imagebox img="/img/docs/v53/postgres_query_still.png" class="docs-image--no-shadow" animated-gif="/img/docs/v53/postgres_query.gif" >}}
{{< figure src="/static/img/docs/v53/postgres_query_still.png" class="docs-image--no-shadow" animated-gif="/static/img/docs/v53/postgres_query.gif" >}}
You find the PostgreSQL query editor in the metrics tab in Graph or Singlestat panel's edit mode. You enter edit mode by clicking the
panel title, then edit.
@@ -98,7 +98,7 @@ The available functions in the query editor depend on the PostgreSQL version you
If you use aggregate functions you need to group your resultset. The editor will automatically add a `GROUP BY time` if you add an aggregate function.
The editor tries to simplify and unify this part of the query. For example:<br>
![](/img/docs/v53/postgres_select_editor.png)<br>
![](/static/img/docs/v53/postgres_select_editor.png)<br>
The above will generate the following PostgreSQL `SELECT` clause:
@@ -160,7 +160,7 @@ If the `Format as` query option is set to `Table` then you can basically do any
Query editor with example query:
![](/img/docs/v46/postgres_table_query.png)
![](/static/img/docs/v46/postgres_table_query.png)
The query:
@@ -179,7 +179,7 @@ You can control the name of the Table panel columns by using regular `as ` SQL c
The resulting table panel:
![postgres table](/img/docs/v46/postgres_table.png)
![postgres table](/static/img/docs/v46/postgres_table.png)
## Time series queries