Skip to main content

Traces

To capture records of individual requests within an application as they flow through various components, providing insights into timing and dependencies between services.

  • To get the list of traces

    initz get traces --appid=<appID> --env=<test/stg/prod>
    Flags
    --appid
    --env
    • Environment of the traces.
    • Optional
    • Default value : test
    • Possible value : test/stg/prod
  • To get description of each trace

    initz describe traces --traceid=<traceID> --env=<test/stg/prod>
    Flags
    --traceid
    • ID of the specific trace.
    • required
    • You can obtain the trace ID by running the following command :
      initz get traces --appid=<appID> --env=<test/stg/prod>
    --env
    • Environment of the traces.
    • Optional
    • Default value : test
    • Possible value : test/stg/prod
  • To get service stack

    initz get service-stack --traceid=<traceID> --env=<test/stg/prod>
    Flags
    --traceid
    • ID of the specific trace.
    • required
    • You can obtain the trace ID by running the following command :
      initz get traces --appid=<appID> --env=<test/stg/prod>
    --env
    • Environment of the traces.
    • Optional
    • Default value : test
    • Possible value : test/stg/prod