papertimeseries

一个纸插件,用于将服务器分析分享到PostgreSQL数据库,以便在Grafana或其他程序中查看。

资源图片
# Paper 时序数据 [查看 wiki](https://tricked.dev/wiki/papertimeseries/about/) 以获取仪表盘和其他信息 ## 设置 1. 使用 Docker Compose 等方式创建一个 TimescaleDB 数据库 ```yml version: '3' services: postgresql: image: timescale/timescaledb-ha:pg15-latest restart: always ports: - "5432:5432" environment: POSTGRES_PASSWORD: time POSTGRES_DB: paper POSTGRES_USER: paper TZ: UTC ``` 2. 安装并运行带有该插件的服务器 3. 应该会在 `plugins/PaperTimeSeries/config.yml` 中出现一个配置文件,其内容应类似于此 ```yml database: url: jdbc:postgresql://localhost:5432/paper user: postgres password: postgres ``` 4. 更改设置以反映您的数据库设置 5. 重新启动服务器 6. 检查控制台是否有关于 postgresql 的错误,如果没有,则表明设置正确 7. 检查数据库并查看是否创建了任何表等 ## 帮助 - 错误报告 - 功能请求 如果在运行插件时遇到任何问题,请随时在 GitHub 上创建一个 issue [https://github.com/Tricked-dev/PaperTimeseries](https://github.com/Tricked-dev/PaperTimeseries) ### 连接到 localhost:5432 被拒绝。 数据库未运行,请启动一个 TimescaleDB 数据库