This is POC that will evaluate all the traces from a given Stream to find ones that are missing spans. Certain values are currently hardcoded but would later be parameterized. The span analysis is written to a JSON file in the current directory and the traces with missing spans are written to stdout
You will need to set the following environment variables (you can do this with a .env file in the root):
| Variable Name | Description |
|---|---|
| LS_ORGANIZATION | The Lightstep organization you will be executing the API calls against |
| LS_API_KEY | Your Lightstep API key |