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

为什么查询结果的timestamp和push data时给定的不一样 #40

Open
EliseCheng opened this issue Jul 7, 2017 · 0 comments
Open

Comments

@EliseCheng
Copy link

我在push data时,设定的timestamp比如是
tp=int(time.mktime(time.strptime('2017-07-08 00:10:00', '%Y-%m-%d %H:%M:%S')))
tp是1499443800,给定的value=93
我在调用/graph/history时候,设定"start": 1499150029, "end": 1499505624,返回的结果里面却没有这个时间戳,
[
{
"endpoint": "test-endpoint",
"counter": "test-metric/stats=cw",
"dstype": "GAUGE",
"step": 86400,
"Values": [
{
"timestamp": 1499212800,
"value": null
},
{
"timestamp": 1499299200,
"value": null
},
{
"timestamp": 1499385600,
"value": 93
},
{
"timestamp": 1499472000,
"value": null
}
]
}
]
值为93的时间戳显示的是1499385600,为什么会不一样呢?

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

1 participant