You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2026-06-03 18:35:08 +02:00
docs: minor update to docstring (#4833)
Signed-off-by: Alex Boten <aboten@lightstep.com>
This commit is contained in:
+1
-1
@@ -427,7 +427,7 @@ func (l *Set) MarshalJSON() ([]byte, error) {
|
|||||||
return json.Marshal(l.equivalent.iface)
|
return json.Marshal(l.equivalent.iface)
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarshalLog is the marshaling function used by the logging system to represent this exporter.
|
// MarshalLog is the marshaling function used by the logging system to represent this Set.
|
||||||
func (l Set) MarshalLog() interface{} {
|
func (l Set) MarshalLog() interface{} {
|
||||||
kvs := make(map[string]string)
|
kvs := make(map[string]string)
|
||||||
for _, kv := range l.ToSlice() {
|
for _, kv := range l.ToSlice() {
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ func NewUnstarted(client Client) *Exporter {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarshalLog is the marshaling function used by the logging system to represent this exporter.
|
// MarshalLog is the marshaling function used by the logging system to represent this Exporter.
|
||||||
func (e *Exporter) MarshalLog() interface{} {
|
func (e *Exporter) MarshalLog() interface{} {
|
||||||
return struct {
|
return struct {
|
||||||
Type string
|
Type string
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ func (e *Exporter) Shutdown(ctx context.Context) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarshalLog is the marshaling function used by the logging system to represent this exporter.
|
// MarshalLog is the marshaling function used by the logging system to represent this Exporter.
|
||||||
func (e *Exporter) MarshalLog() interface{} {
|
func (e *Exporter) MarshalLog() interface{} {
|
||||||
return struct {
|
return struct {
|
||||||
Type string
|
Type string
|
||||||
|
|||||||
@@ -190,7 +190,7 @@ func (e *Exporter) errf(format string, args ...interface{}) error {
|
|||||||
return fmt.Errorf(format, args...)
|
return fmt.Errorf(format, args...)
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarshalLog is the marshaling function used by the logging system to represent this exporter.
|
// MarshalLog is the marshaling function used by the logging system to represent this Exporter.
|
||||||
func (e *Exporter) MarshalLog() interface{} {
|
func (e *Exporter) MarshalLog() interface{} {
|
||||||
return struct {
|
return struct {
|
||||||
Type string
|
Type string
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ func (r *Resource) String() string {
|
|||||||
return r.attrs.Encoded(attribute.DefaultEncoder())
|
return r.attrs.Encoded(attribute.DefaultEncoder())
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarshalLog is the marshaling function used by the logging system to represent this exporter.
|
// MarshalLog is the marshaling function used by the logging system to represent this Resource.
|
||||||
func (r *Resource) MarshalLog() interface{} {
|
func (r *Resource) MarshalLog() interface{} {
|
||||||
return struct {
|
return struct {
|
||||||
Attributes attribute.Set
|
Attributes attribute.Set
|
||||||
|
|||||||
@@ -406,7 +406,7 @@ func (bsp *batchSpanProcessor) enqueueDrop(ctx context.Context, sd ReadOnlySpan)
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarshalLog is the marshaling function used by the logging system to represent this exporter.
|
// MarshalLog is the marshaling function used by the logging system to represent this Span Processor.
|
||||||
func (bsp *batchSpanProcessor) MarshalLog() interface{} {
|
func (bsp *batchSpanProcessor) MarshalLog() interface{} {
|
||||||
return struct {
|
return struct {
|
||||||
Type string
|
Type string
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ type tracerProviderConfig struct {
|
|||||||
resource *resource.Resource
|
resource *resource.Resource
|
||||||
}
|
}
|
||||||
|
|
||||||
// MarshalLog is the marshaling function used by the logging system to represent this exporter.
|
// MarshalLog is the marshaling function used by the logging system to represent this Provider.
|
||||||
func (cfg tracerProviderConfig) MarshalLog() interface{} {
|
func (cfg tracerProviderConfig) MarshalLog() interface{} {
|
||||||
return struct {
|
return struct {
|
||||||
SpanProcessors []SpanProcessor
|
SpanProcessors []SpanProcessor
|
||||||
|
|||||||
Reference in New Issue
Block a user