TraceServiceSummary

class oci.apm_traces.models.TraceServiceSummary(**kwargs)

Bases: object

Summary of the spans in a trace by service.

Methods:

__init__(**kwargs)

Initializes a new TraceServiceSummary object with values from keyword arguments.

Attributes:

error_spans

[Required] Gets the error_spans of this TraceServiceSummary.

span_service_name

[Required] Gets the span_service_name of this TraceServiceSummary.

total_spans

[Required] Gets the total_spans of this TraceServiceSummary.

__init__(**kwargs)

Initializes a new TraceServiceSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • span_service_name (str) – The value to assign to the span_service_name property of this TraceServiceSummary.

  • total_spans (int) – The value to assign to the total_spans property of this TraceServiceSummary.

  • error_spans (int) – The value to assign to the error_spans property of this TraceServiceSummary.

property error_spans

[Required] Gets the error_spans of this TraceServiceSummary. Number of spans with errors for serviceName in the trace.

Returns

The error_spans of this TraceServiceSummary.

Return type

int

property span_service_name

[Required] Gets the span_service_name of this TraceServiceSummary. Name associated with the service.

Returns

The span_service_name of this TraceServiceSummary.

Return type

str

property total_spans

[Required] Gets the total_spans of this TraceServiceSummary. Number of spans for serviceName in the trace.

Returns

The total_spans of this TraceServiceSummary.

Return type

int