Code Monkey home page Code Monkey logo

heroku-buildpack-lightstep-satellite's Introduction

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:

  • 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 [email protected] if the need arises.

heroku-buildpack-lightstep-satellite's People

Contributors

ahayworth avatar arielvalentin avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

knonenull12

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.