Preferably using a virtual environment, install the packages you need to run this simulation:
pip install -r requirements.txt
Export the following environment variables to configure your OTLP exporter:
export OTEL_EXPORTER_OTLP_ENDPOINT=https://otlp.nr-data.net:4317
export OTEL_EXPORTER_OTLP_HEADERS="api-key=<YOUR-LICENSE-KEY>"
Note: This endpoint is for accounts based in the US. If you have an EU account, use https://otlp.eu01.nr-data.net:4317 instead. Also, don't forget to replace
<YOUR-LICENSE-KEY>
with your real license key.
Now that you've configured your environment, run the simulation:
python sim.py