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

配置查询结果时间间隔 #1

Open
zheplusplus opened this issue Jun 9, 2015 · 2 comments
Open

配置查询结果时间间隔 #1

zheplusplus opened this issue Jun 9, 2015 · 2 comments

Comments

@zheplusplus
Copy link

存数据时 step 设为 30; 查 6 小时内数据, 默认 timestamp 间隔是 30s, 12 小时内数据, timestamp 间隔变为了 150s, 跨度略大. 请问此参数有办法配置么?

@UlricQin
Copy link

UlricQin commented Jun 9, 2015

没有办法配置。这是graph的归档策略决定的。我们使用rrdtool做存储,只有最近的数据存放了原始数据,老数据按照不同策略做了归档,你之所以看到150s,就是归档过的数据

hitripod added a commit to hitripod/query that referenced this issue Jan 25, 2016
[OWL-143] refactor Zabbix API using Beego ORM
hitripod pushed a commit to hitripod/query that referenced this issue Jun 21, 2016
[OWL-633] Make query API to support duration
@qlyzpqz
Copy link

qlyzpqz commented Sep 8, 2016

用rrdtool测试时,是有个参数-r可以指定精度的,做一些二次开发的话,应该是可以让query指定查询的精度的吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants