traces

Get span billing details.

Get the billing information of the span.

get/v1/tracing/traces/{traceId}/spans/{spanId}/billingInfo

Request

  • Base URL
    https://api.au.sumologic.com/api
  • URL
    https://api.au.sumologic.com/api/v1/tracing/traces/{traceId}/spans/{spanId}/billingInfo
  • Auth
    HTTP basic

Path parameters

traceIdstring required

Identifier of the trace the span belongs to.

spanIdstring required

Identifier of the span to get the billing info.

Response

Billing information of the span with the given identifier.

billedBytesinteger required

Number of bytes that were charged for the span.

billedFormatstring required

Billing format of the span. Number of bytes of this representation of the span is equal to billedBytes.

Example response

{
  "billedBytes": 529,
  "billedFormat": "traceId=2ff9c457b1aa00f4;spanId=97872e33215c4275;parentSpanId=98bcdfc5da874c40;operation=spanId-97872e33215c4275;startTimestamp=1603283111874000000;endTimestamp=1603283112268000000;service=ServiceA;status.code=ERROR;status.message=ERROR;kind=SERVER;custom-tag-2=value2;_sourcehost=127.0.0.1;url.full=https://example.com/api/operation-x;message=Some error message;_sourcecategory=Http Input;custom-tag-1=value1;error=true;_sourcename=Http Input;error.kind=InvalidInput;_collector=trace-generator-collector;http.request.method=GET;"
}

Changes

No recorded changes to this operation across all 15 revisions of this API.