Module: Google::Cloud::Trace::V2
- Defined in:
- lib/google/cloud/trace/v2.rb,
lib/google/cloud/trace/v2/credentials.rb,
lib/google/cloud/trace/v2/trace_service_client.rb
Defined Under Namespace
Classes: Credentials, TraceServiceClient
Class Method Summary collapse
-
.new(credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil) ⇒ Object
This file describes an API for collecting and viewing traces and spans within a trace.
Class Method Details
.new(credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil) ⇒ Object
This file describes an API for collecting and viewing traces and spans within a trace. A Trace is a collection of spans corresponding to a single operation or set of operations for an application. A span is an individual timed event which forms a node of the trace tree. A single trace may contain span(s) from multiple services.
94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 |
# File 'lib/google/cloud/trace/v2.rb', line 94 def self.new \ credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil kwargs = { credentials: credentials, scopes: scopes, client_config: client_config, timeout: timeout, lib_name: lib_name, lib_version: lib_version }.select { |_, v| v != nil } Google::Cloud::Trace::V2::TraceServiceClient.new(**kwargs) end |