文件名称:pinba-influxdb:Pinba服务器到InfluxDB编写器
文件大小:9KB
文件格式:ZIP
更新时间:2024-06-01 07:04:12
Go
ba流 InfluxDB准备 创建数据库: CREATE DATABASE "pinba" 创建保留政策: CREATE RETENTION POLICY "realtime" ON "pinba" DURATION 2h REPLICATION 1 DEFAULT CREATE RETENTION POLICY "month" ON "pinba" DURATION 4w REPLICATION 1 CREATE RETENTION POLICY "year" ON "pinba" DURATION 52w REPLICATION 1 CREATE RETENTION POLICY "infinity" ON "pinba" DURATION INF REPLICATION 1 现在,有趣的部分-连续查询。 要将实时数据下采样到10s: CREATE CONTINUOUS Q
【文件预览】:
pinba-influxdb-master
----main.go(3KB)
----config.yml.example(534B)
----scripts()
--------usr()
--------etc()
----config_test.go(1KB)
----LICENSE(1KB)
----README.md(3KB)
----Makefile(1KB)
----config.yml.test(534B)
----.goreleaser.yml(1KB)
----.gitignore(392B)
----config.go(865B)