From 032f5eb025d9a590df316057702535a697aaf80b Mon Sep 17 00:00:00 2001 From: Ruihang Xia Date: Mon, 15 Apr 2024 19:09:19 +0800 Subject: [PATCH] docs: update prometheus remote write document (#834) Signed-off-by: Ruihang Xia Co-authored-by: Yiran --- .../en/user-guide/operations/configuration.md | 74 +++++----- .../en/user-guide/write-data/prometheus.md | 31 ++++- .../zh/user-guide/operations/configuration.md | 131 +++++++++--------- .../zh/user-guide/write-data/prometheus.md | 30 +++- 4 files changed, 151 insertions(+), 115 deletions(-) diff --git a/docs/v0.7/en/user-guide/operations/configuration.md b/docs/v0.7/en/user-guide/operations/configuration.md index c3d7ca8f7..9f4caff2c 100644 --- a/docs/v0.7/en/user-guide/operations/configuration.md +++ b/docs/v0.7/en/user-guide/operations/configuration.md @@ -182,35 +182,37 @@ enable = true [prom_store] enable = true +with_metric_engine = true ``` The following table describes the options in detail: -| Option | Key | Type | Description | -| ---------- | ------------ | ------- | ------------------------------------------------------------------------------- | -| http | | | HTTP server options | -| | addr | String | Server address, "127.0.0.1:4000" by default | -| | timeout | String | HTTP request timeout, "30s" by default | -| | body_limit | String | HTTP max body size, "64MB" by default | -| grpc | | | gRPC server options | -| | addr | String | Server address, "127.0.0.1:4001" by default | -| | runtime_size | Integer | The number of server worker threads, 8 by default | -| mysql | | | MySQL server options | -| | enable | Boolean | Whether to enable MySQL protocol, true by default | -| | add | String | Server address, "127.0.0.1:4002" by default | -| | runtime_size | Integer | The number of server worker threads, 2 by default | -| influxdb | | | InfluxDB Protocol options | -| | enable | Boolean | Whether to enable InfluxDB protocol in HTTP API, true by default | -| opentsdb | | | OpenTSDB Protocol options | -| | enable | Boolean | Whether to enable OpenTSDB protocol, true by default | -| | addr | String | OpenTSDB telnet API server address, "127.0.0.1:4242" by default | -| | runtime_size | Integer | The number of server worker threads, 2 by default | -| prom_store | | | Prometheus remote storage options | -| | enable | Boolean | Whether to enable Prometheus remote write and read in HTTP API, true by default | -| postgres | | | PostgresSQL server options | -| | enable | Boolean | Whether to enable PostgresSQL protocol, true by default | -| | addr | String | Server address, "127.0.0.1:4003" by default | -| | runtime_size | Integer | The number of server worker threads, 2 by default | +| Option | Key | Type | Description | +| ---------- | ------------------ | ------- | ------------------------------------------------------------------------------- | +| http | | | HTTP server options | +| | addr | String | Server address, "127.0.0.1:4000" by default | +| | timeout | String | HTTP request timeout, "30s" by default | +| | body_limit | String | HTTP max body size, "64MB" by default | +| grpc | | | gRPC server options | +| | addr | String | Server address, "127.0.0.1:4001" by default | +| | runtime_size | Integer | The number of server worker threads, 8 by default | +| mysql | | | MySQL server options | +| | enable | Boolean | Whether to enable MySQL protocol, true by default | +| | add | String | Server address, "127.0.0.1:4002" by default | +| | runtime_size | Integer | The number of server worker threads, 2 by default | +| influxdb | | | InfluxDB Protocol options | +| | enable | Boolean | Whether to enable InfluxDB protocol in HTTP API, true by default | +| opentsdb | | | OpenTSDB Protocol options | +| | enable | Boolean | Whether to enable OpenTSDB protocol, true by default | +| | addr | String | OpenTSDB telnet API server address, "127.0.0.1:4242" by default | +| | runtime_size | Integer | The number of server worker threads, 2 by default | +| prom_store | | | Prometheus remote storage options | +| | enable | Boolean | Whether to enable Prometheus Remote Write and read in HTTP API, true by default | +| | with_metric_engine | Boolean | Whether to use the metric engine on Prometheus Remote Write, true by default | +| postgres | | | PostgresSQL server options | +| | enable | Boolean | Whether to enable PostgresSQL protocol, true by default | +| | addr | String | Server address, "127.0.0.1:4003" by default | +| | runtime_size | Integer | The number of server worker threads, 2 by default | ### Storage options @@ -221,7 +223,7 @@ GreptimeDB supports storing data in local file system, AWS S3 and compatible ser | Option | Key | Type | Description | | ------- | ----------------- | ------ | ------------------------------------------------------------- | | storage | | | Storage options | -| | type | String | Storage type, supports "File", "S3" and "Oss" etc. | +| | type | String | Storage type, supports "File", "S3" and "Oss" etc. | | File | | | Local file storage options, valid when type="File" | | | data_home | String | Database storage root directory, "/tmp/greptimedb" by default | | S3 | | | AWS S3 storage options, valid when type="S3" | @@ -484,11 +486,11 @@ use_memory_store = false | Key | Type | Description | | ---------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| data_home | String | The working home of Metasrv, `"/tmp/metasrv/"` by default | -| bind_addr | String | The bind address of Metasrv, `"127.0.0.1:3002"` by default. | -| server_addr | String | The communication server address for frontend and datanode to connect to Metasrv, `"127.0.0.1:3002"` by default for localhost | +| data_home | String | The working home of Metasrv, `"/tmp/metasrv/"` by default | +| bind_addr | String | The bind address of Metasrv, `"127.0.0.1:3002"` by default. | +| server_addr | String | The communication server address for frontend and datanode to connect to Metasrv, `"127.0.0.1:3002"` by default for localhost | | store_addr | String | etcd server addresses, `"127.0.0.1:2379"` by default, server address separated by commas, in the format of `"ip1:port1,ip2:port2,..."`. | -| selector | String | Load balance strategy to choose datanode when creating new tables, see [Selector](/contributor-guide/metasrv/selector.md) | +| selector | String | Load balance strategy to choose datanode when creating new tables, see [Selector](/contributor-guide/metasrv/selector.md) | | use_memory_store | Boolean | Only used for testing when you don't have an etcd cluster, store data in memory, `false` by default. | ### Datanode-only configuration @@ -500,12 +502,12 @@ rpc_addr = "127.0.0.1:3001" rpc_runtime_size = 8 ``` -| Key | Type | Description | -| ---------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| node_id | Integer | The datanode identifier, should be unique. | -| rpc_hostname | String | Hostname of this node. | -| rpc_addr | String | gRPC server address, `"127.0.0.1:3001"` by default. | -| rpc_runtime_size | Integer | The number of gRPC server worker threads, 8 by default. | +| Key | Type | Description | +| ---------------- | ------- | ------------------------------------------------------- | +| node_id | Integer | The datanode identifier, should be unique. | +| rpc_hostname | String | Hostname of this node. | +| rpc_addr | String | gRPC server address, `"127.0.0.1:3001"` by default. | +| rpc_runtime_size | Integer | The number of gRPC server worker threads, 8 by default. | ## Environment variable diff --git a/docs/v0.7/en/user-guide/write-data/prometheus.md b/docs/v0.7/en/user-guide/write-data/prometheus.md index 0d824d909..59422742e 100644 --- a/docs/v0.7/en/user-guide/write-data/prometheus.md +++ b/docs/v0.7/en/user-guide/write-data/prometheus.md @@ -6,7 +6,7 @@ To configure Prometheus, use the following settings in the [Prometheus configura ```yaml remote_write: -- url: http://localhost:4000/v1/prometheus/write?db=public +- url: http://localhost:4000/v1/prometheus/write?db=public&physical_table=greptime_physical_table # basic_auth: # username: greptime_user # password: greptime_pwd @@ -22,11 +22,28 @@ remote_read: Be sure to uncomment `basic_auth` section and replace `greptime_user(username)`, `greptime_pwd(password)` with your own username and password when you enable database authentication. Please refer to client [authentication](../clients/authentication.md). ::: -The `db` parameter in the url represents the database that we want to write data. +The `db` parameter in the URL represents the database that we want to write data. It's optional. By default, the database is `public`. If you want to write to another database, you can [create a new database](../table-management.md#create-database) and replace `public` with the new database name. +GreptimeDB automatically groups multiple Prometheus metrics (../clients/prometheus#data-model) into the corresponding logical tables, so you do not need to specify the logical table in the URL of `remote_write`. + +The optional `physical_table` parameter in the URL represents the [physical table](/contributor-guide/datanode/metric-engine#physical-table), +which reduces storage overhead for small tables and improves columnar compression efficiency. +If unspecified, the `greptime_physical_table` is used by default; +if the specified physical table does not exist, it will be automatically created. + +The `physical_table` parameter only works when the [`with_metric_engine`](/user-guide/operations/configuration.md#protocol-options) is enabled in the configuration file. +It is enabled by default. + +Here is a table of URL parameters: + +| Param | Required | Default Value | +| -------------- | -------- | ----------------------- | +| db | optional | public | +| physical_table | optional | greptime_physical_table | + Show tables when writing successfully: ```sql @@ -54,12 +71,12 @@ show tables; When the metrics are written into GreptimeDB by remote write endpoint, they will be transformed as follows: -| Sample Metrics | In GreptimeDB | GreptimeDB Data Types | -|:---------------|:-----------------------------|:----------------------| -| Name | Table (Auto-created) Name | String | +| Sample Metrics | In GreptimeDB | GreptimeDB Data Types | +| :------------- | :-------------------------- | :-------------------- | +| Name | Table (Auto-created) Name | String | | Value | Column (greptime_value) | Double | | Timestamp | Column (greptime_timestamp) | Timestamp | -| Label | Column | String | +| Label | Column | String | A primary key with all label columns will be created automatically. When a new label is added, it will be added into primary key automatically too. @@ -74,7 +91,7 @@ remote_name="648f0c", url="http://localhost:4000/v1/prometheus/write"} 500 This example will be transformed as a row in the table `prometheus_remote_storage_samples_total`: | Column | Value | Column Data Type | -|:-------------------|:--------------------------------------------|:-------------------| +| :----------------- | :------------------------------------------ | :----------------- | | instance | localhost:9090 | String | | job | prometheus | String | | remote_name | 648f0c | String | diff --git a/docs/v0.7/zh/user-guide/operations/configuration.md b/docs/v0.7/zh/user-guide/operations/configuration.md index e35183796..d16375b21 100644 --- a/docs/v0.7/zh/user-guide/operations/configuration.md +++ b/docs/v0.7/zh/user-guide/operations/configuration.md @@ -184,31 +184,32 @@ enable = true 下表描述了每个选项的详细信息: -| 选项 | 键 | 类型 | 描述 | -| ---------- | ------------ | ------ | ------------------------------------------------------- | -| http | | | HTTP 服务器选项 | -| | addr | 字符串 | 服务器地址,默认为 "127.0.0.1:4000" | -| | timeout | 字符串 | HTTP 请求超时时间,默认为 "30s" | -| | body_limit | 字符串 | HTTP 最大体积大小,默认为 "64MB" | -| grpc | | | gRPC 服务器选项 | -| | addr | 字符串 | 服务器地址,默认为 "127.0.0.1:4001" | -| | runtime_size | 整数 | 服务器工作线程数量,默认为 8 | -| mysql | | | MySQL 服务器选项 | -| | enable | 布尔值 | 是否启用 MySQL 协议,默认为 true | -| | add | 字符串 | 服务器地址,默认为 "127.0.0.1:4002" | -| | runtime_size | 整数 | 服务器工作线程数量,默认为 2 | -| influxdb | | | InfluxDB 协议选项 | -| | enable | 布尔值 | 是否在 HTTP API 中启用 InfluxDB 协议,默认为 true | -| opentsdb | | | OpenTSDB 协议选项 | -| | enable | 布尔值 | 是否启用 OpenTSDB 协议,默认为 true | -| | addr | 字符串 | OpenTSDB telnet API 服务器地址,默认为 "127.0.0.1:4242" | -| | runtime_size | 整数 | 服务器工作线程数量,默认为 2 | -| prom_store | | | Prometheus 远程存储选项 | -| | enable | 布尔值 | 是否在 HTTP API 中启用 Prometheus 远程读写,默认为 true | -| postgres | | | PostgresSQL 服务器选项 | -| | enable | 布尔值 | 是否启用 PostgresSQL 协议,默认为 true | -| | addr | 字符串 | 服务器地址,默认为 "127.0.0.1:4003" | -| | runtime_size | 整数 | 服务器工作线程数量,默认为 2 | +| 选项 | 键 | 类型 | 描述 | +| ---------- | ------------------ | ------ | ----------------------------------------------------------- | +| http | | | HTTP 服务器选项 | +| | addr | 字符串 | 服务器地址,默认为 "127.0.0.1:4000" | +| | timeout | 字符串 | HTTP 请求超时时间,默认为 "30s" | +| | body_limit | 字符串 | HTTP 最大体积大小,默认为 "64MB" | +| grpc | | | gRPC 服务器选项 | +| | addr | 字符串 | 服务器地址,默认为 "127.0.0.1:4001" | +| | runtime_size | 整数 | 服务器工作线程数量,默认为 8 | +| mysql | | | MySQL 服务器选项 | +| | enable | 布尔值 | 是否启用 MySQL 协议,默认为 true | +| | add | 字符串 | 服务器地址,默认为 "127.0.0.1:4002" | +| | runtime_size | 整数 | 服务器工作线程数量,默认为 2 | +| influxdb | | | InfluxDB 协议选项 | +| | enable | 布尔值 | 是否在 HTTP API 中启用 InfluxDB 协议,默认为 true | +| opentsdb | | | OpenTSDB 协议选项 | +| | enable | 布尔值 | 是否启用 OpenTSDB 协议,默认为 true | +| | addr | 字符串 | OpenTSDB telnet API 服务器地址,默认为 "127.0.0.1:4242" | +| | runtime_size | 整数 | 服务器工作线程数量,默认为 2 | +| prom_store | | | Prometheus 远程存储选项 | +| | enable | 布尔值 | 是否在 HTTP API 中启用 Prometheus 远程读写,默认为 true | +| | with_metric_engine | 布尔值 | 是否在 Prometheus 远程写入中使用 Metric Engine,默认为 true | +| postgres | | | PostgresSQL 服务器选项 | +| | enable | 布尔值 | 是否启用 PostgresSQL 协议,默认为 true | +| | addr | 字符串 | 服务器地址,默认为 "127.0.0.1:4003" | +| | runtime_size | 整数 | 服务器工作线程数量,默认为 2 | ### 存储选项 @@ -216,38 +217,38 @@ enable = true GreptimeDB 支持将数据保存在本地文件系统, AWS S3 以及其兼容服务(比如 MinIO、digitalocean space、腾讯 COS、百度对象存储(BOS)等),Azure Blob Storage 和阿里云 OSS。 -| 选项 | 键 | 类型 | 描述 | -| ------- | ----------------- | ------ | ------------------------------------------------------------- | -| storage | | | 存储选项 | -| | type | 字符串 | 存储类型,支持 "File","S3" 和 "Oss" 等. | -| File | | | 本地文件存储选项,当 type="File" 时有效 | -| | data_home | 字符串 | 数据库存储根目录,默认为 "/tmp/greptimedb" | -| S3 | | | AWS S3 存储选项,当 type="S3" 时有效 | -| | bucket | 字符串 | S3 桶名称 | -| | root | 字符串 | S3 桶中的根路径 | -| | endpoint | 字符串 | S3 的 API 端点 | -| | region | 字符串 | S3 区域 | -| | access_key_id | 字符串 | S3 访问密钥 id | -| | secret_access_key | 字符串 | S3 秘密访问密钥 | -| Oss | | | 阿里云 OSS 存储选项,当 type="Oss" 时有效 | -| | bucket | 字符串 | OSS 桶名称 | -| | root | 字符串 | OSS 桶中的根路径 | -| | endpoint | 字符串 | OSS 的 API 端点 | -| | access_key_id | 字符串 | OSS 访问密钥 id | -| | secret_access_key | 字符串 | OSS 秘密访问密钥 | -| Azblob | | | Azure Blob 存储选项,当 type="Azblob" 时有效 | +| 选项 | 键 | 类型 | 描述 | +| ------- | ----------------- | ------ | --------------------------------------------------- | +| storage | | | 存储选项 | +| | type | 字符串 | 存储类型,支持 "File","S3" 和 "Oss" 等. | +| File | | | 本地文件存储选项,当 type="File" 时有效 | +| | data_home | 字符串 | 数据库存储根目录,默认为 "/tmp/greptimedb" | +| S3 | | | AWS S3 存储选项,当 type="S3" 时有效 | +| | bucket | 字符串 | S3 桶名称 | +| | root | 字符串 | S3 桶中的根路径 | +| | endpoint | 字符串 | S3 的 API 端点 | +| | region | 字符串 | S3 区域 | +| | access_key_id | 字符串 | S3 访问密钥 id | +| | secret_access_key | 字符串 | S3 秘密访问密钥 | +| Oss | | | 阿里云 OSS 存储选项,当 type="Oss" 时有效 | +| | bucket | 字符串 | OSS 桶名称 | +| | root | 字符串 | OSS 桶中的根路径 | +| | endpoint | 字符串 | OSS 的 API 端点 | +| | access_key_id | 字符串 | OSS 访问密钥 id | +| | secret_access_key | 字符串 | OSS 秘密访问密钥 | +| Azblob | | | Azure Blob 存储选项,当 type="Azblob" 时有效 | | | container | 字符串 | 容器名称 | -| | root | 字符串 | 容器中的根路径 | -| | endpoint | 字符串 | Azure Blob 存储的 API 端点 | -| | account_name | 字符串 | Azure Blob 存储的账户名 | -| | account_key | 字符串 | 访问密钥 | -| | sas_token | 字符串 | 共享访问签名 | -| Gsc | | | Google Cloud Storage 存储选项,当 type="Gsc" 时有效 | +| | root | 字符串 | 容器中的根路径 | +| | endpoint | 字符串 | Azure Blob 存储的 API 端点 | +| | account_name | 字符串 | Azure Blob 存储的账户名 | +| | account_key | 字符串 | 访问密钥 | +| | sas_token | 字符串 | 共享访问签名 | +| Gsc | | | Google Cloud Storage 存储选项,当 type="Gsc" 时有效 | | | root | 字符串 | Gsc 桶中的根路径 | -| | bucket | 字符串 | Gsc 桶名称 | -| | scope | 字符串 | Gsc 权限 | -| | credential_path | 字符串 | Gsc 访问证书 | -| | endpoint | 字符串 | GSC 的 API 端点 | +| | bucket | 字符串 | Gsc 桶名称 | +| | scope | 字符串 | Gsc 权限 | +| | credential_path | 字符串 | Gsc 访问证书 | +| | endpoint | 字符串 | GSC 的 API 端点 | 文件存储配置范例: @@ -483,11 +484,11 @@ use_memory_store = false | 键 | 类型 | 描述 | | ---------------- | ------ | ------------------------------------------------------------------------------------------------------ | -| data_home | 字符串 | Metasrv 的工作目录,默认为 `"/tmp/metasrv/"` | -| bind_addr | 字符串 | Metasrv 的绑定地址,默认为 `"127.0.0.1:3002"`。 | -| server_addr | 字符串 | 前端和数据节点连接到 Metasrv 的通信服务器地址,默认为 `"127.0.0.1:3002"`(适用于本地主机) | +| data_home | 字符串 | Metasrv 的工作目录,默认为 `"/tmp/metasrv/"` | +| bind_addr | 字符串 | Metasrv 的绑定地址,默认为 `"127.0.0.1:3002"`。 | +| server_addr | 字符串 | 前端和数据节点连接到 Metasrv 的通信服务器地址,默认为 `"127.0.0.1:3002"`(适用于本地主机) | | store_addr | 字符串 | etcd 服务器地址,默认为 `"127.0.0.1:2379"`,服务器地址由逗号分隔,格式为 `"ip1:port1,ip2:port2,..."`。 | -| selector | 字符串 | 创建新表时选择数据节点的负载均衡策略,参见 [选择器](/contributor-guide/metasrv/selector.md) | +| selector | 字符串 | 创建新表时选择数据节点的负载均衡策略,参见 [选择器](/contributor-guide/metasrv/selector.md) | | use_memory_store | 布尔值 | 仅在测试时使用,当你没有 etcd 集群时,将数据存储在内存中,默认为 `false` | @@ -500,12 +501,12 @@ rpc_addr = "127.0.0.1:3001" rpc_runtime_size = 8 ``` -| Key | Type | Description | -| ---------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| node_id | Integer | 该 `datanode` 的唯一标识符。 | -| rpc_hostname | String | 该 `datanode` 的 Hostname。 | -| rpc_addr | String | gRPC 服务端地址,默认为`"127.0.0.1:3001"`。 | -| rpc_runtime_size | Integer | gRPC 服务器工作线程数,默认为 8。 | +| Key | Type | Description | +| ---------------- | ------- | ------------------------------------------- | +| node_id | Integer | 该 `datanode` 的唯一标识符。 | +| rpc_hostname | String | 该 `datanode` 的 Hostname。 | +| rpc_addr | String | gRPC 服务端地址,默认为`"127.0.0.1:3001"`。 | +| rpc_runtime_size | Integer | gRPC 服务器工作线程数,默认为 8。 | ## 环境变量配置 diff --git a/docs/v0.7/zh/user-guide/write-data/prometheus.md b/docs/v0.7/zh/user-guide/write-data/prometheus.md index a1beac782..04e340596 100644 --- a/docs/v0.7/zh/user-guide/write-data/prometheus.md +++ b/docs/v0.7/zh/user-guide/write-data/prometheus.md @@ -6,7 +6,7 @@ GreptimeDB 可以作为 Prometheus 的长期存储。使用 GreptimeDB 作为 Pr ```yaml remote_write: -- url: http://localhost:4000/v1/prometheus/write?db=public +- url: http://localhost:4000/v1/prometheus/write?db=public&physical_table=greptime_physical_table # basic_auth: # username: greptime_user # password: greptime_pwd @@ -22,9 +22,25 @@ remote_read: 请将 `greptime_user(username)`, `greptime_pwd(password)` 替换为用户自己的用户名和密码,详情请参考客户端[鉴权认证](../clients/authentication.md)。 ::: -url 中的 `db` 参数表示我们要写入的数据库,默认为 `public`。 +URL 中的 `db` 参数表示我们要写入的数据库,是可选的,默认为 `public`。 如果你想要写入到其他数据库,可以[创建新数据库](../table-management.md#create-database)并将 `public` 替换为新的数据库名称。 +GreptimeDB 将多个 Prometheus 指标[自动组合](../clients/prometheus#数据模型)到相应的逻辑表中,因此你无需在 `remote_write` 的 URL 中指定逻辑表。 + +URL 中的 `physical_table` 参数可选,表示数据被写入的[物理表](/contributor-guide/datanode/metric-engine#物理表), +它可以减少小表的存储开销,提高列压缩效率。 +在不指定该参数的情况下默认使用 `greptime_physical_table` 表。如果指定的物理表不存在,该表会被自动创建。 + +在配置文件中启用 [`with_metric_engine`](/user-guide/operations/configuration.md#协议选项) 时,`physical_table` 参数才会生效。 +该配置默认启用。 + +下面是 URL 参数的表格: + +| 参数 | 是否必须 | 默认值 | +| -------------- | -------- | ----------------------- | +| db | 可选 | public | +| physical_table | 可选 | greptime_physical_table | + 写入数据成功后,使用下面的命令展示数据库中的表: ```sql @@ -51,12 +67,12 @@ show tables; 当指标被远程写入 GreptimeDB 时,它们将被转换为下面这样: -| Sample Metrics | In GreptimeDB | GreptimeDB Data Types | -|:---------------|:-----------------------------|:----------------------| -| Name | Table (Auto-created) Name | String | +| Sample Metrics | In GreptimeDB | GreptimeDB Data Types | +| :------------- | :-------------------------- | :-------------------- | +| Name | Table (Auto-created) Name | String | | Value | Column (greptime_value) | Double | | Timestamp | Column (greptime_timestamp) | Timestamp | -| Label | Column | String | +| Label | Column | String | 所有标签列将会被自动创建为主键。当添加新的标签时,它也会自动添加到主键中。 @@ -70,7 +86,7 @@ remote_name="648f0c", url="http://localhost:4000/v1/prometheus/write"} 500 上面这个例子将被转化为表 `prometheus_remote_storage_samples_total` 中的一行: | Column | Value | Column Data Type | -|:-------------------|:--------------------------------------------|:-------------------| +| :----------------- | :------------------------------------------ | :----------------- | | instance | localhost:9090 | String | | job | prometheus | String | | remote_name | 648f0c | String |