下载Telegraf,启动命令行切换到对应目录,然后输入以下命令生成conf配置文件: C:\Users\meng.chai>cd C:\Install\telegraf C:\Install\telegraf>telegraf -sample-config -input-filter cpu:mem -output-filter influxdb > telegraf1.conf 这里生成的配置文件名是 telegraf1.conf,是为了和原有的 telegraf.conf 区分...
InfluxDB 采用Go语言开发是一个开源时间序列平台, 是一个可编程且高性能的时间序列数据库,具有跨 OSS、云和企业产品的通用 API。简单描述: Influxdb是由Golang 构建的时序数据库,由于由Go语言构建使得其跨平台部署相对方便。 Q: InfluxDB 有何用? 描述: InfluxDB 主要用于存储和查询数据、度量、事件和实时分析...
下载Telegraf,启动命令行切换到对应目录,然后输入以下命令生成conf配置文件: C:\Users\meng.chai>cd C:\Install\telegraf C:\Install\telegraf>telegraf -sample-config -input-filter cpu:mem -output-filter influxdb > telegraf1.conf 这里生成的配置文件名是 telegraf1.conf,是为了和原有的 telegraf.conf 区分...
Trying to pull repository docker.io/library/influxdb...latest:Pulling from docker.io/library/influxdbcd8eada9c7bb:Pull completec2677faec825:Pull completefcce419a96b1:Pull complete 7eb470cb34c6:Pull complete 5d32b89f3e91:Pull completec06b59b518ce:Pull complete 59c5fc9b8822:Pull completea6b36...
##TCP端口:8086 为客户端和InfluxDB通信时的HTTP API 1.3:启动influxDB systemctl start influxdb 1.4:验证 1.4.1:输入influx,检测influxDB是否正常运行 [root@MyCentos7 influxdb]# influx Connected to http://localhost:8086 version 1.2.0 InfluxDB shell version: 1.2.0 ...
使用HTTP的API请求创建数据库 首先查看InfluxDB当前有哪些数据库了。 [root@server81 ~]# docker exec -it influxdb bash root@d2918dc47850:/# root@d2918dc47850:/# influx Connected to http://localhost:8086 version 1.7.2 InfluxDB shell version: 1.7.2 ...
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes...
@Service@AllArgsConstructor@Slf4jpublic class Monitor { private InfluxDB influxDB; @Scheduled(fixedRate = 5000) public void writeQPS() { // 模拟要上报的统计数据 int count = (int) (Math.random() * 100); Point point = Point.measurement("ApiQPS") // ApiQPS表 .ta...
8.http API [http]enabled=true # 是否启用该模块,默认值 :true bind-address=":8086"# 绑定地址,默认值:":8086"auth-enabled=false # 是否开启认证,默认值:false realm="InfluxDB"# 配置JWT realm,默认值:"InfluxDB"log-enabled=true # 是否开启日志,默认值:true ...
influxdb-data-01ports:- 8186:8086restart: unless-stoppednetworks:- influxdb-clusterinfluxdb-data-02:image: chengshiwen/influxdb:1.8.10-c1.1.1-datacontainer_name: influxdb-data-02hostname: influxdb-data-02ports:- 8286:8086restart: unless-stoppednetworks:- influxdb-clusternetworks:influxdb-cluste...