mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-28 16:39:57 +00:00
TUN-8407: Upgrade go to version 1.22.2
This commit is contained in:
3
vendor/go.opentelemetry.io/otel/trace/noop/README.md
generated
vendored
Normal file
3
vendor/go.opentelemetry.io/otel/trace/noop/README.md
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# Trace Noop
|
||||
|
||||
[](https://pkg.go.dev/go.opentelemetry.io/otel/trace/noop)
|
16
vendor/go.opentelemetry.io/otel/trace/noop/noop.go
generated
vendored
16
vendor/go.opentelemetry.io/otel/trace/noop/noop.go
generated
vendored
@@ -1,16 +1,5 @@
|
||||
// Copyright The OpenTelemetry Authors
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Package noop provides an implementation of the OpenTelemetry trace API that
|
||||
// produces no telemetry and minimizes used computation resources.
|
||||
@@ -111,6 +100,9 @@ func (Span) RecordError(error, ...trace.EventOption) {}
|
||||
// AddEvent does nothing.
|
||||
func (Span) AddEvent(string, ...trace.EventOption) {}
|
||||
|
||||
// AddLink does nothing.
|
||||
func (Span) AddLink(trace.Link) {}
|
||||
|
||||
// SetName does nothing.
|
||||
func (Span) SetName(string) {}
|
||||
|
||||
|
Reference in New Issue
Block a user