Fix opentsdb table format (#69281)

* fixed table formatting

* changed opentsdb to OpenTSDB

* cleaned up wording
This commit is contained in:
lwandz13 2023-05-30 15:38:52 -05:00 committed by GitHub
parent 3d91ce4c17
commit 4a84633773
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,14 +36,13 @@ To configure basic settings for the data source, complete the following steps:
1. Set the data source's basic configuration options: 1. Set the data source's basic configuration options:
| Name | Description | | Name | Description |
| ------------------- | ---------------------------------------------------------------------------------------- |
| ------------------- | --------------------------------------------------------------------------------------- |
| **Name** | The data source name. This is how you refer to the data source in panels and queries. | | **Name** | The data source name. This is how you refer to the data source in panels and queries. |
| **Default** | Default data source means that it will be pre-selected for new panels. | | **Default** | Default data source that will be be pre-selected for new panels. |
| **URL** | The HTTP protocol, IP, and port of your OpenTSDB server (default port is usually 4242) | | **URL** | The HTTP protocol, IP, and port of your OpenTSDB server (default port is usually 4242). |
| **Allowed cookies** | List the names of cookies to forward to the data source. | | **Allowed cookies** | Listing of cookies to forward to the data source. |
| **Version** | Version = opentsdb version, either <=2.1 or 2.2 | | **Version** | The OpenTSDB version. |
| **Resolution** | Metrics from opentsdb may have datapoints with either second or millisecond resolution. | | **Resolution** | Metrics from OpenTSDB may have data points with either second or millisecond resolution. |
| **Lookup limit** | Default is 1000. | | **Lookup limit** | Default is 1000. |
### Provision the data source ### Provision the data source
@ -57,7 +56,7 @@ For more information about provisioning, and for available configuration options
apiVersion: 1 apiVersion: 1
datasources: datasources:
- name: OpenTsdb - name: OpenTSDB
type: opentsdb type: opentsdb
access: proxy access: proxy
url: http://localhost:4242 url: http://localhost:4242
@ -70,7 +69,7 @@ datasources:
Open a graph in edit mode by click the title. Query editor will differ if the data source has version <=2.1 or = 2.2. Open a graph in edit mode by click the title. Query editor will differ if the data source has version <=2.1 or = 2.2.
In the former version, only tags can be used to query OpenTSDB. But in the latter version, filters as well as tags In the former version, only tags can be used to query OpenTSDB. But in the latter version, filters as well as tags
can be used to query opentsdb. Fill Policy is also introduced in OpenTSDB 2.2. can be used to query OpenTSDB. Fill Policy is also introduced in OpenTSDB 2.2.
![](/static/img/docs/v43/opentsdb_query_editor.png) ![](/static/img/docs/v43/opentsdb_query_editor.png)