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

Image uploads to S3 bucket with zero size. #56

Closed
SURAJTHEGREAT opened this issue May 19, 2017 · 2 comments
Closed

Image uploads to S3 bucket with zero size. #56

SURAJTHEGREAT opened this issue May 19, 2017 · 2 comments
Labels

Comments

@SURAJTHEGREAT
Copy link

Hi
I am successfully able to put .png file to S3 bucket , but size is zero bytes.

[Fri May 19 2017 05:21:52 GMT+0000 (UTC)] DEBUG Uploading file: 27032 bytes, content-type[image/png]
[Fri May 19 2017 05:21:52 GMT+0000 (UTC)] DEBUG filename
[Fri May 19 2017 05:21:52 GMT+0000 (UTC)] DEBUG graphs/59515bcabb9abb59c31ab44a0b3557635238aa10.png
[Fri May 19 2017 05:21:55 GMT+0000 (UTC)] DEBUG inside response

But _header: 'POST / /graphs/59515bcabb9abb59c31ab44a0b3557635238aa10.png upload in S3 is zero bytes,

Can anyone say where does it store the png file locally ?

@stephenyeargin
Copy link
Owner

So the file is loaded into memory after being retrieved from your Grafana instance rather than written to disk (the images are usually fairly small). One thing to check is to make sure that the PNG file is rendering correctly when you directly visit visit the "Direct link rendered image" link when clicking "Share" on a particular graph.

screen shot 2017-05-19 at 5 16 00 pm

@stephenyeargin
Copy link
Owner

Closing this off since it's a bit stale. Let me know if you are still having trouble with it.

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

No branches or pull requests

2 participants