Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- cloudTraceService :: Service
- cloudPlatformScope :: OAuthScope
- data Empty
- empty :: Empty
- data TraceSpanLabels
- traceSpanLabels :: HashMap Text Text -> TraceSpanLabels
- tslAddtional :: Lens' TraceSpanLabels (HashMap Text Text)
- data Traces
- traces :: Traces
- tTraces :: Lens' Traces [Trace]
- data TraceSpan
- traceSpan :: TraceSpan
- tsStartTime :: Lens' TraceSpan (Maybe Text)
- tsKind :: Lens' TraceSpan (Maybe Text)
- tsName :: Lens' TraceSpan (Maybe Text)
- tsEndTime :: Lens' TraceSpan (Maybe Text)
- tsLabels :: Lens' TraceSpan (Maybe TraceSpanLabels)
- tsParentSpanId :: Lens' TraceSpan (Maybe Word64)
- tsSpanId :: Lens' TraceSpan (Maybe Word64)
- data ListTracesResponse
- listTracesResponse :: ListTracesResponse
- ltrNextPageToken :: Lens' ListTracesResponse (Maybe Text)
- ltrTraces :: Lens' ListTracesResponse [Trace]
- data Trace
- trace :: Trace
- tTraceId :: Lens' Trace (Maybe Text)
- tSpans :: Lens' Trace [TraceSpan]
- tProjectId :: Lens' Trace (Maybe Text)
Service Configuration
cloudTraceService :: Service Source
Default request referring to version v1
of the Google Cloud Trace API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
cloudPlatformScope :: OAuthScope Source
View and manage your data across Google Cloud Platform services
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
See: empty
smart constructor.
TraceSpanLabels
data TraceSpanLabels Source
Annotations via labels.
See: traceSpanLabels
smart constructor.
Creates a value of TraceSpanLabels
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Traces
A list of traces for the PatchTraces method.
See: traces
smart constructor.
TraceSpan
A span is the data recorded with a single span.
See: traceSpan
smart constructor.
Creates a value of TraceSpan
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tsStartTime :: Lens' TraceSpan (Maybe Text) Source
The start time of the span in nanoseconds from the UNIX epoch.
tsKind :: Lens' TraceSpan (Maybe Text) Source
SpanKind distinguishes spans generated in a particular context. For example, two spans with the same name, one with the kind RPC_CLIENT, and the other with RPC_SERVER can indicate the queueing latency associated with the span.
tsName :: Lens' TraceSpan (Maybe Text) Source
The name of the trace. This is sanitized and displayed on the UI. This may be a method name or some other per-callsite name. For the same binary and the same call point, it is a good practice to choose a consistent name in order to correlate cross-trace spans.
tsEndTime :: Lens' TraceSpan (Maybe Text) Source
The end time of the span in nanoseconds from the UNIX epoch.
tsParentSpanId :: Lens' TraceSpan (Maybe Word64) Source
Identifies the parent of the current span. May be missing. Serialized bytes representation of SpanId.
tsSpanId :: Lens' TraceSpan (Maybe Word64) Source
Identifier of the span within the trace. Each span should have an identifier that is unique per trace.
ListTracesResponse
data ListTracesResponse Source
The response message for the ListTraces method.
See: listTracesResponse
smart constructor.
listTracesResponse :: ListTracesResponse Source
Creates a value of ListTracesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ltrNextPageToken :: Lens' ListTracesResponse (Maybe Text) Source
If defined, indicates that there are more topics that match the request, and this value should be passed to the next ListTopicsRequest to continue.
ltrTraces :: Lens' ListTracesResponse [Trace] Source
The list of trace records returned.
Trace
A Trace is a collection of spans describing the execution timings of a single operation.
See: trace
smart constructor.
Creates a value of Trace
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tTraceId :: Lens' Trace (Maybe Text) Source
A 128-bit numeric value, formatted as a 32-byte hex string, that represents a trace. Each trace should have an identifier that is globally unique.