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.

package metric

import (
	

	
)
Float64ValueRecorder is a metric that records float64 values.
Int64ValueRecorder is a metric that records int64 values.
BoundFloat64ValueRecorder is a bound instrument for Float64ValueRecorder. It inherits the Unbind function from syncBoundInstrument.
BoundInt64ValueRecorder is a bound instrument for Int64ValueRecorder. It inherits the Unbind function from syncBoundInstrument.
Bind creates a bound instrument for this ValueRecorder. The labels are associated with values recorded via subsequent calls to Record.
Bind creates a bound instrument for this ValueRecorder. The labels are associated with values recorded via subsequent calls to Record.
func ( Int64ValueRecorder) ( ...label.KeyValue) ( BoundInt64ValueRecorder) {
	.syncBoundInstrument = .bind()
	return
}
Measurement creates a Measurement object to use with batch recording.
Measurement creates a Measurement object to use with batch recording.
func ( Int64ValueRecorder) ( int64) Measurement {
	return .int64Measurement()
}
Record adds a new value to the list of ValueRecorder's records. The labels should contain the keys and values to be associated with this value.
func ( Float64ValueRecorder) ( context.Context,  float64,  ...label.KeyValue) {
	.directRecord(, NewFloat64Number(), )
}
Record adds a new value to the ValueRecorder's distribution. The labels should contain the keys and values to be associated with this value.
func ( Int64ValueRecorder) ( context.Context,  int64,  ...label.KeyValue) {
	.directRecord(, NewInt64Number(), )
}
Record adds a new value to the ValueRecorder's distribution using the labels previously bound to the ValueRecorder via Bind().
Record adds a new value to the ValueRecorder's distribution using the labels previously bound to the ValueRecorder via Bind().