-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
How to set storage_driver_buffer_duration shorter than 1 minute? #1074
Comments
AFAIK, you can set that flag to a shorter duration. Is that not working for On Thu, Jan 21, 2016 at 9:41 PM, Daria Mehra [email protected]
|
Correct, when I set |
Do the logs give any clues? On Fri, Jan 22, 2016, 6:47 PM Daria Mehra [email protected] wrote:
|
When I tried running again with |
I'm running cadvisor-canary:latest build, sending data to InfluxDB, and trying to set -storage_driver_buffer_duration to a lower value than the default 1 minute, so I'd be able to chart current data from influx rather than having a delay. I thought that was working when I ran a release build in Nov-Dec with influx v0.8, setting
-storage_driver_buffer_duration=2s
.The reason I'm now running canary is to have influx v0.9 support, since that's what I need. When I tried setting the duration to 2s, the actual delay I saw was 2 minutes. That seems to match the setting to
60*time.Second
in this code unless I'm misreading it. Trying a fractional value-storage_driver_buffer_duration=0.1
resulted in not seeing data in influxdb for several minutes (then i stopped waiting).I'm now running with
-storage_driver_buffer_duration=1m
but would like a shorter delay.This is the exact command line in my docker-compose file:
The text was updated successfully, but these errors were encountered: