GitXplorerGitXplorer
g

heroku-buildpack-lightstep-satellite

public
5 stars
2 forks
0 issues

Commits

List of commits on branch main.
Verified
c0117cad2d982873342b391432dd4e0f8b135baa

fix: Typo

aarielvalentin committed 3 years ago
Verified
8fc824ddb3bc65f8b5fd7a61f7b8fb216c9d5de3

Merge pull request #5 from github/upgrade-collector-2021-11-29_19-40-05Z

aarielvalentin committed 3 years ago
Verified
d3b24dccc28b1868d048adf94ed7af4034ea9f0a

Upgrade Collector 2021-11-29_19-40-05Z

aarielvalentin committed 3 years ago
Verified
946d14d0bda1471e19f7329b794dcd96551710e4

Merge pull request #4 from github/arielvalentin/upgrade-microsats

aarielvalentin committed 3 years ago
Verified
49af7914af02a8137cd2a91b50e479377a93c5ee

feat: Upgrade microsatellite version

aarielvalentin committed 3 years ago
Verified
6d0652d957a063d83575b37ea8c2518c38a2b63c

Merge pull request #3 from github/arielvalentin/upgrade-classic

aarielvalentin committed 3 years ago

README

The README file for this repository.

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! :hooray:

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:

  • [x] 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.