displayName property

TruncatableString? displayName
getter/setter pair

A description of the span's operation (up to 128 bytes).

Cloud Trace displays the description in the Cloud console. For example, the display name can be a qualified method name or a file name and a line number where the operation is called. A best practice is to use the same display name within an application and at the same call point. This makes it easier to correlate spans in different traces.

Required.

Implementation

TruncatableString? displayName;