1
0
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:
Robert Pająk 2023-03-23 15:38:12 +01:00 committed by GitHub
parent 795ad97119
commit 68d66f2096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -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)
}

View File

@ -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)
}