# Class Span (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

    Span(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A span is a unit of work or a single operation during the
request processing.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Output only. The name of the span. |
| `start_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The start time of the span. |
| `end_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The end time of the span. |
| `duration` | `google.protobuf.duration_pb2.Duration` Output only. The duration of the span. |
| `attributes` | `google.protobuf.struct_pb2.Struct` Output only. Key-value attributes associated with the span. |
| `child_spans` | `MutableSequence[google.cloud.ces_v1.types.Span]` Output only. The child spans that are nested under this span. |