1
0
Форкнуть 0
Heroku buildpack to run the lightstep collector in each dyno
Перейти к файлу
Ariel Valentin c0117cad2d
fix: Typo
2021-12-08 10:15:01 -06:00
bin fix: Typo 2021-12-08 10:15:01 -06:00
extra Pull config from env 2021-01-28 13:42:42 -06:00
CODE_OF_CONDUCT.md Add code of conduct 2021-01-28 13:59:28 -06:00
CONTRIBUTING.md Update with more info and things needed to open-source 2021-01-28 14:27:16 -06:00
LICENSE Initial commit 2021-01-26 12:43:57 -06:00
README.md feat: Upgrade microsatellite version 2021-12-07 00:34:50 +00:00
SECURITY.md add security.md 2021-01-28 14:01:27 -06:00

README.md

heroku-buildpack-lightstep-satellite

A Heroku buildpack to run a LightStep satellite in each dyno.

Features:

  • It runs in the background of each dyno, so you can submit trace data without resorting to using the public satellites! 🎉

Limitations:

  • It'll eat up a lot of RAM if you're not careful.
  • It cannot bind to default ports, and the debug UI cannot be exposed.

Goals:

  • To enable submitting LightStep traces in Heroku without using the public collectors.
  • ???

Status: proof-of-concept. We're using it internally, but it's not well-tested.

Installation

For now, you'll need to add this repo as a buildpack to your application. We'll release it on Heroku Elements soon!

~Follow the instructions on the Heroku Elements page.~

Configuration

Configure this buildpack by setting configuration variables for your app. At minimum, you must set:

  • COLLECTOR_SATELLITE_KEY: the satellite requires this to function.
  • COLLECTOR_PLAIN_PORT: the satellite tries to bind to port 80 by default, which will not work with Heroku.
  • COLLECTOR_SATELLITE_TYPE_FLAVOR: Required Must be set to micro
  • COLLECTOR_SAMPLE_ONE_IN_N: Required Must be set to to a sampling value. Set to 1 to sample all traces.

Additional configuration variables can be found in LightStep's documentation.

Notes

We'd love contributions if you have any! We don't have any real roadmap for this buildpack, but we're open to any ideas you may have - file an issue and let us know what you think!

All discussion should happen on the repo in issues; however, we can also be contacted at opensource+heroku-buildpack-lightstep-satellite@github.com if the need arises.