Sets the content-type to JSON when writing to Librato. #8

Merged
merged 1 commit into from Jul 6, 2012

2 participants

@jacobian

Without this, Librato assumes the content-type is form data, can't parse the POST, and thus doesn't record the metrics.

@jacobian jacobian Sets the content-type to JSON when writing to Librato.
Without this, Librato assumes the content-type is form data, can't parse the POST, and thus doesn't record the metrics.
d20174f
@cyberdelia cyberdelia merged commit c6e6d9c into cyberdelia:master Jul 6, 2012
@cyberdelia
Owner

Thank you!
Don't hesitate if you have other changes to make on the librato reporter, I've mostly builded it blindly from the docs, so any changes from the trenches is welcome.

@jacobian

Cool, thank you! I'll keep an eye on how it's working and report back if anything's wonky, but so far so good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment