To run this demo and send traces to Aspecto:
- clone this repo
git clone https://github.com/aspecto-io/opentelemetry-demo.git
-
# to create a free account in aspecto
-
Copy your aspecto token and paste it in
./src/otelcollector/otelcol-config-extras.yml
instead of<your_aspecto_token>
exporters:
otlp/aspecto:
endpoint: otelcol.aspecto.io:4317
headers:
Authorization: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
service:
pipelines:
traces:
exporters: [logging, otlp, otlp/aspecto]
- Run the demo
- Browse to Trace Search to search and view the traces from the demo run