mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-20 03:30:02 +02:00
Add missing doc comments for Observer interfaces (#3928)
This commit is contained in:
parent
795ad97119
commit
68d66f2096
@ -180,6 +180,7 @@ type Float64ObservableGaugeOption interface {
|
||||
//
|
||||
// Warning: methods may be added to this interface in minor releases.
|
||||
type Float64Observer interface {
|
||||
// Observe records the float64 value with attributes.
|
||||
Observe(value float64, attributes ...attribute.KeyValue)
|
||||
}
|
||||
|
||||
|
@ -179,6 +179,7 @@ type Int64ObservableGaugeOption interface {
|
||||
//
|
||||
// Warning: methods may be added to this interface in minor releases.
|
||||
type Int64Observer interface {
|
||||
// Observe records the int64 value with attributes.
|
||||
Observe(value int64, attributes ...attribute.KeyValue)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user