public class CloudTrace.Projects.Traces.Spans extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudTrace.Projects.Traces.Spans.CreateSpan |
| Constructor and Description |
|---|
Spans() |
| Modifier and Type | Method and Description |
|---|---|
CloudTrace.Projects.Traces.Spans.CreateSpan |
createSpan(String name,
Span content)
Creates a new span.
|
public CloudTrace.Projects.Traces.Spans.CreateSpan createSpan(String name, Span content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. The resource name of the span in the following format:
projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/SPAN_ID is a unique identifier for a trace
within a project; it is a 32-character hexadecimal encoding of a 16-byte array. [SPAN_ID]
is a unique identifier for a span within a trace; it is a 16-character hexadecimal
encoding of an 8-byte array. It should not be zero.content - the SpanIOExceptionCopyright © 2011–2021 Google. All rights reserved.