Skip to content
This repository has been archived by the owner. It is now read-only.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Godeps
.gitignore
.travis.yml
CONTRIBUTING.md
LICENSE
Procfile
README.md
app.json
consistenthash.go
consistenthash_test.go
destination.go
drain.go
drain_test.go
dyno_msg.go
helpers_test.go
http.go
http_test.go
main.go
null_poster.go
points.go
poster.go
router_msg.go
target.go
target_test.go

README.md

DEPRECATED: See the blog post for more information.

Travis GoDoc

Lumbermill

This is a Go app which takes Heroku Log drains and parses the router and dyno information, and then pushes metrics to influxdb.

Setup

Setup Influx

Create a db, user and password, and write the details + hostname and port down.

Deploy to Heroku

Deploy to Heroku

Add the drain to an app

heroku drains:add https://<lumbermill_app>.herokuapp.com/drain --app <the-app-to-mill-for>

You'll then start getting metrics in your influxdb host!

Environment Variables

  • CRED_STORE: user1:pass1|user2:pass2|userN:passN -- Basic Auth credentials for HTTP endpoints.
  • DEBUG: Turn on debug mode
  • INFLUXDB_USER: User that has permissions to write to the database
  • INFLUXDB_PWD: Password for the user
  • INFLUXDB_NAME: Database name in InfluxDB
  • INFLUXDB_HOSTS: InfluxDB hosts in the hash ring.
  • INFLUXDB_SKIP_VERIFY: Skip TLK verification?
  • LIBRATO_TOKEN: Librato token for posting metrics to
  • LIBRATO_OWNER: User that owns said token
  • LIBRATO_SOURCE: Source for Librato metrics.
  • PORT:
You can’t perform that action at this time.