fix NaN too null conversion and restore duration

This commit is contained in:
Lou Knauer
2022-01-31 16:34:42 +01:00
parent 371afe5ab5
commit 407e650745
4 changed files with 11 additions and 6 deletions

View File

@@ -129,7 +129,7 @@ JWT="eyJ0eXAiOiJKV1QiLCJhbGciOiJFZERTQSJ9.eyJ1c2VyIjoiYWRtaW4iLCJyb2xlcyI6WyJST0
# If the collector and store and nats-server have been running for at least 60 seconds on the same host, you may run:
curl -H "Authorization: Bearer $JWT" -D - "http://localhost:8080/api/query" -d "{ \"cluster\": \"testcluster\", \"from\": $(expr $(date +%s) - 60), \"to\": $(date +%s), \"queries\": [{
\"metric\": \"load_one\",
\"hostname\": \"$(hostname)\"
\"host\": \"$(hostname)\"
}] }"
# ...