Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] add influxdb metrics monitoring #1730

Merged
merged 5 commits into from
Apr 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 67 additions & 0 deletions home/docs/help/influxdb.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
id: influxdb
title: Monitoring: InfluxDB Database Monitoring
sidebar_label: InfluxDB Database
keywords: [open source monitoring system, open source database monitoring, InfluxDB database monitoring]
---

### Configuration Parameters

| Parameter Name | Parameter Description |
| -------------- | -------------------------------------------------------- |
| Monitor Host | The IPv4, IPv6, or domain name of the target being monitored. Note⚠️: Do not include the protocol header (e.g., https://, http://). |
| Task Name | A unique identifier for this monitoring task. |
| Port | The port on which the database is exposed. Default is 8086. |
| URL | The database connection URL, usually constructed from the host. No need to add it separately. |
| Collection Interval | The interval at which data is collected during monitoring, in seconds. The minimum interval that can be set is 30 seconds. |
| Probe Enabled | Whether to perform a probe check for monitoring availability before adding or modifying the monitoring task. |
| Description | Additional notes and remarks about this monitoring task. Users can provide information and descriptions here. |

### Collected Metrics

#### Metric Set: influxdb_info

| Metric Name | Metric Unit | Metric Description |
|------------| ----------- |--------|
| build_date | N/A | Creation date |
| os | N/A | Operating system |
| cpus | N/A | CPUs |
| version | N/A | Version number |

#### Metric Set: http_api_request_duration_seconds

| Metric Name | Metric Unit | Metric Description |
|---------------|------|---------|
| handler | N/A | Handler |
| path | N/A | Path |
| response_code | N/A | Response code |
| method | N/A | Request method |
| user_agent | N/A | User agent |
| status | N/A | Status |

#### Metric Set: storage_compactions_queued

| Metric Name | Metric Unit | Metric Description |
|---------------------------------|------|------------|
| bucket | N/A | Storage bucket |
| engine | N/A | Engine type |
| id | N/A | Identifier |
| level | N/A | Level |
| path | N/A | Data file path |


#### Metric Set: http_write_request_bytes

| Metric Name | Metric Unit | Metric Description |
| ----------- |------|--------|
| endpoint | N/A | Endpoint |
| org_id | N/A | Organization identifier |
| status | N/A | Status |

#### Metric Set: qc_requests_total

| Metric Name | Metric Unit | Metric Description |
| ----------- |------|--------|
| result | N/A | Result |
| org | N/A | Organization identifier |

Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
id: influxdb
title: Monitoring: InfluxDB Database Monitoring
sidebar_label: InfluxDB Database
keywords: [open source monitoring system, open source database monitoring, InfluxDB database monitoring]
---

### Configuration Parameters

| Parameter Name | Parameter Description |
| -------------- | -------------------------------------------------------- |
| Monitor Host | The IPv4, IPv6, or domain name of the target being monitored. Note⚠️: Do not include the protocol header (e.g., https://, http://). |
| Task Name | A unique identifier for this monitoring task. |
| Port | The port on which the database is exposed. Default is 8086. |
| URL | The database connection URL, usually constructed from the host. No need to add it separately. |
| Collection Interval | The interval at which data is collected during monitoring, in seconds. The minimum interval that can be set is 30 seconds. |
| Probe Enabled | Whether to perform a probe check for monitoring availability before adding or modifying the monitoring task. |
| Description | Additional notes and remarks about this monitoring task. Users can provide information and descriptions here. |

### Collected Metrics

#### Metric Set: influxdb_info

| Metric Name | Metric Unit | Metric Description |
|------------| ----------- |--------|
| build_date | N/A | Creation date |
| os | N/A | Operating system |
| cpus | N/A | CPUs |
| version | N/A | Version number |

#### Metric Set: http_api_request_duration_seconds

| Metric Name | Metric Unit | Metric Description |
|---------------|------|---------|
| handler | N/A | Handler |
| path | N/A | Path |
| response_code | N/A | Response code |
| method | N/A | Request method |
| user_agent | N/A | User agent |
| status | N/A | Status |

#### Metric Set: storage_compactions_queued

| Metric Name | Metric Unit | Metric Description |
|---------------------------------|------|------------|
| bucket | N/A | Storage bucket |
| engine | N/A | Engine type |
| id | N/A | Identifier |
| level | N/A | Level |
| path | N/A | Data file path |


#### Metric Set: http_write_request_bytes

| Metric Name | Metric Unit | Metric Description |
| ----------- |------|--------|
| endpoint | N/A | Endpoint |
| org_id | N/A | Organization identifier |
| status | N/A | Status |

#### Metric Set: qc_requests_total

| Metric Name | Metric Unit | Metric Description |
| ----------- |------|--------|
| result | N/A | Result |
| org | N/A | Organization identifier |

Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
id: influxdb
title: 监控:InfluxDB 数据库监控
sidebar_label: InfluxDB 数据库
keywords: [开源监控系统, 开源数据库监控, InfluxDB 数据库监控]
---


### 配置参数

| 参数名称 | 参数帮助描述 |
| ----------- |------------------------------------------------------|
| 监控Host | 被监控的对端IPV4,IPV6或域名。注意⚠️不带协议头(eg: https://, http://)。 |
| 任务名称 | 标识此监控的名称,名称需要保证唯一性。 |
| 端口 | 数据库对外提供的端口,默认为8086。 |
| URL | 数据库连接URL,一般是由host拼接,不需要添加 |
| 采集间隔 | 监控周期性采集数据间隔时间,单位秒,可设置的最小间隔为30秒 |
| 是否探测 | 新增监控前是否先探测检查监控可用性,探测成功才会继续新增修改操作 |
| 描述备注 | 更多标识和描述此监控的备注信息,用户可以在这里备注信息 |

### 采集指标

#### 指标集合:influxdb 基本信息

| 指标名称 | 指标单位 | 指标帮助描述 |
|------------| ----------- |--------|
| build_date | 无 | 创建日期 |
| os | 无 | 操作系统 |
| cpus | 无 | cpus |
| version | 无 | 版本号 |

#### 指标集合:http 响应时间

| 指标名称 | 指标单位 | 指标帮助描述 |
|---------------|------|---------|
| handler | 无 | handler |
| path | 无 | 路径 |
| response_code | 无 | 返回code |
| method | 无 | 请求方法 |
| user_agent | 无 | 用户代理 |
| status | 无 | 状态 |

#### 指标集合:正在排队的 TSM 数

| 指标名称 | 指标单位 | 指标帮助描述 |
|---------------------------------|------|------------|
| bucket | 无 | 存储桶 |
| engine | 无 | 引擎类型 |
| id | 无 | 标识符 |
| level | 无 | 级别 |
| path | 无 | 数据文件路径 |


#### 指标集合:HTTP写入请求的字节数量

| 指标名称 | 指标单位 | 指标帮助描述 |
| ----------- |------|--------|
| endpoint | 无 | 终点 |
| org_id | 无 | 组织标识符 |
| status | 无 | 状态 |

#### 指标集合:质量控制请求总数

| 指标名称 | 指标单位 | 指标帮助描述 |
| ----------- |------|--------|
| result | 无 | 结果 |
| org | 无 | 组织标识符 |

Loading
Loading