cleanup shortcodes, asset paths (#34826)
This commit is contained in:
@@ -65,7 +65,7 @@ This step varies depending on the query language that you selected when you set
|
||||
|
||||
In the query editor, click **select measurement**.
|
||||
|
||||

|
||||

|
||||
|
||||
Grafana displays a list of possible series. Click one to select it, and Grafana graphs any available data. If there is no data to display, then try another selection or check your data source.
|
||||
|
||||
@@ -80,19 +80,19 @@ Create a simple Flux query.
|
||||
|
||||
This generic query returns a list of buckets.
|
||||
|
||||

|
||||

|
||||
|
||||
You can also create Flux queries in the InfluxDB Explore view.
|
||||
|
||||
1. In your browser, log in to the InfluxDB native UI (OSS is typically something like http://localhost:8086 or for InfluxDB Cloud use: https://cloud2.influxdata.com).
|
||||
1. Click **Explore** to open the Data Explorer.
|
||||
1. The InfluxDB Data Explorer provides two mechanisms for creating Flux queries: a graphical query editor and a script editor. Using the graphical query editor, [create a query](https://docs.influxdata.com/influxdb/cloud/query-data/execute-queries/data-explorer/). It will look something like this:
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
1. Click **Script Editor** to view the text of the query, and then copy all the lines of your Flux code, which will look something like this:
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
1. In Grafana, [add a panel](../panels/add-a-panel.md) and then paste your Flux code into the query editor.
|
||||
1. Click **Apply**. Your new panel should be visible with data from your Flux query.
|
||||
|
||||
@@ -61,4 +61,4 @@ Now that you have a curated list of queries, create [dashboards]({{< relref "../
|
||||
|
||||
The following image shows a dashboard with three panels showing some system metrics.
|
||||
|
||||
<img width="850px" src="/img/docs/getting-started/simple_grafana_prom_dashboard.png" caption="Prometheus dashboards" >
|
||||
<img width="850px" src="/static/img/docs/getting-started/simple_grafana_prom_dashboard.png" caption="Prometheus dashboards" >
|
||||
|
||||
@@ -30,18 +30,18 @@ To add MS SQL Server data source:
|
||||
1. Filter by `mssql` and select the **Microsoft SQL Server** option.
|
||||
1. Click **Add data source** in the top right header to open the configuration page.
|
||||
1. Enter the information specified in the table below, then click **Save & Test**.
|
||||
|
||||
|
||||
Name | Description
|
||||
------------ | -------------
|
||||
`Name` | The data source name. This is how you refer to the data source in panels and queries.
|
||||
`Host` | The IP address/hostname and optional port of your MS SQL instance. If port is omitted, the default 1433 will be used.
|
||||
`Database` | Name of your MS SQL database.
|
||||
`User` | Database user's login/username.
|
||||
`Password` | Database user's password.
|
||||
`Password` | Database user's password.
|
||||
|
||||
For installations from the [grafana/grafana](https://github.com/grafana/grafana/tree/main) repository, `gdev-mssql` data source is available. Once you add this data source, you can use the `Datasource tests - MSSQL` dashboard with three panels showing metrics generated from a test database.
|
||||
|
||||
<img src="/img/docs/getting-started/gdev-sql-dashboard.png" class="no-shadow" width="700px">
|
||||
<img src="/static/img/docs/getting-started/gdev-sql-dashboard.png" class="no-shadow" width="700px">
|
||||
|
||||
Optionally, play around this dashboard and customize it to:
|
||||
- Create different panels.
|
||||
@@ -55,5 +55,5 @@ Optionally, play around this dashboard and customize it to:
|
||||
Now that you have gained some idea of using the pre-packaged MS SQL data source and some test data, the next step is to setup your own instance of MS SQL Server database and data your development or sandbox area. In the previous steps, if you followed along the path of deploying your own instance of MS SQL Server, you are already on your way.
|
||||
|
||||
To fetch data from your own instance of MS SQL Server, add the data source using instructions in Step 4 of this topic. In Grafana [Explore]({{< relref "../explore/_index.md" >}}) build queries to experiment with the metrics you want to monitor.
|
||||
|
||||
|
||||
Once you have a curated list of queries, create [dashboards]({{< relref "../dashboards/_index.md" >}}) to render metrics from the SQL Server database. For troubleshooting, user permissions, known issues, and query examples, refer to [Using Microsoft SQL Server in Grafana]({{< relref "../datasources/mssql.md" >}}).
|
||||
|
||||
Reference in New Issue
Block a user