lib/google/cloud/trace/label_key.rb in google-cloud-trace-0.27.2 vs lib/google/cloud/trace/label_key.rb in google-cloud-trace-0.28.0
- old
+ new
@@ -104,10 +104,10 @@
# are presented in the stack trace.
#
# @example
# require "google/cloud/trace"
#
- # trace_record = Google::Cloud::Trace::TraceRecord.new "my-project-id"
+ # trace_record = Google::Cloud::Trace::TraceRecord.new "my-project"
# span = trace_record.create_span "root_span"
# Google::Cloud::Trace::LabelKey.set_stack_trace span.labels
#
def self.set_stack_trace labels,
stack_frames: nil, skip_frames: 1,