Download traces and view them later using offline traces.

You can export traces from Wavefront, save them locally as JSON files, and view them later using the Offline Traces.

Export Traces

Follow the steps to export traces via the traces browser or the Wavefront API:

  • Export the traces via the Traces Browser and save the JSON file.
  • Export traces via the API.
    • Use the Wavefront Swagger UI. See API Documentation (Wavefront Instance) for details on navigating to the Wavefront Swagger UI.
      Example: UI image showing where the API is on the Wavefront Swagger UI.
    • Use a curl command that has the /api/v2/chart/api URL.
      Example:
      curl -X GET --header "Accept: application/json" --header "Authorization: Bearer <Wavefront_Token>" "https://<Tenant_Name>.wavefront.com/api/v2/chart/api?q=limit(100%2C%20traces(spans(%22beachshirts.shopping.*%22)))&s=1601894248&g=d&view=METRIC&sorted=false&cached=true&useRawQK=false"
      

View Traces

Upload the JSON file or feed the JSON response from the API to offline traces, and view trace data. You can only upload one JSON file at a time.

  1. Click Applications > Offline Traces.
  2. Click Upload JSON, select the JSON file you saved that has the imported trace data, and click Open.

Now, you see the trace data you imported. Shows how the offline traces look once you upload the JSOn file that has the imported trace details.