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

heroku install from scratch using script causes I/O errors when posting to librato #124

Open
jakeyr opened this issue Dec 4, 2013 · 4 comments

Comments

@jakeyr
Copy link

jakeyr commented Dec 4, 2013

Hi-

I just installed a fresh heroku app running l2met using the tarball and setup script. After setting up the drain, I see l2met processing incoming requests in the logs, but no data in librato.

I am seeing these lines in the logs which makes me believe that the data posts to librato are failing:

2013-12-04T22:31:46.709885+00:00 app[web.1]: measure.librato.error [email protected] msg=Post https://metrics-api.librato.com/v1/metrics: read tcp 54.225.173.29:443: i/o timeout attempt=0

any ideas? i tested the credentials i supplied to the setup script by using command-line curl calls to the api and they worked fine, i was able to submit metrics and see them in librato.

thanks!

@ryandotsmith
Copy link
Owner

Hello, @jakeyr. Did you know that Librato now runs l2met as a service? They have a bullet proof setup and unless you are just wanting to hack, I would highly recommend you use their service.

https://devcenter.heroku.com/articles/librato#custom-log-based-metrics

@ryandotsmith
Copy link
Owner

As a side note, I think I am going to make a note of this in the README.

@jakeyr
Copy link
Author

jakeyr commented Dec 6, 2013

Awesome, thanks for the tip, I'll switch to that.

Meanwhile, just to satisfy curiosity... any idea what I did wrong here?

Thanks!

-jake

@ryandotsmith
Copy link
Owner

So the log line is reporting that the POST operation to librato's api timed out. You can increase the timeout on this operations via the outlet-ttl flag. (e.g. $ ./l2met -outlet-ttl=5s)

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

2 participants