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
No data displayed... because of timezone mismatch between grafana and cAdvisor #29
Comments
can you volume the host timezone to cAdvisor and try again? |
sorry, I don't get what I have to do :( |
docker run -it alpine:3.4 sh https://wiki.alpinelinux.org/wiki/Setting_the_timezone use run cAdvisor -v /host/alpine-timezone:/cadvisor-container-timezone |
I have modified the alpine image as suggested. And the docker-compose down and up again. It now works as expected :) But is there a way to automate this ? It is not very satisfying this way... |
@ebreton this is the only way to change container timezone. Or you can make you own Dockerfile:
I think you can close this issue. |
yep. good advice for the Dockerfile. Cheers ! |
Hi guys,
I have encountered the same symptom as a few earlier: no data displayed in my grafana dashboard.
When looking closer, I found out that grafana was using the timezone of my Mac (UTC) whereas cAdvisor was pushing its metrics with a 9:30 hours shift...
Therefore, data appears on Grafana... but in the past.. :)
Do you know any way to fix this ?
I have post a question on cAdvisor (google/cadvisor#1562) but may be you know faster ^^
Cheers
Manu
The text was updated successfully, but these errors were encountered: