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 (
	

	
)
Float64UpDownCounter is a metric instrument that sums floating point values.
Int64UpDownCounter is a metric instrument that sums integer values.
BoundFloat64UpDownCounter is a bound instrument for Float64UpDownCounter. It inherits the Unbind function from syncBoundInstrument.
BoundInt64UpDownCounter is a boundInstrument for Int64UpDownCounter. It inherits the Unbind function from syncBoundInstrument.
Bind creates a bound instrument for this counter. The labels are associated with values recorded via subsequent calls to Record.
Bind creates a bound instrument for this counter. The labels are associated with values recorded via subsequent calls to Record.
func ( Int64UpDownCounter) ( ...label.KeyValue) ( BoundInt64UpDownCounter) {
	.syncBoundInstrument = .bind()
	return
}
Measurement creates a Measurement object to use with batch recording.
Measurement creates a Measurement object to use with batch recording.
func ( Int64UpDownCounter) ( int64) Measurement {
	return .int64Measurement()
}
Add adds the value to the counter's sum. The labels should contain the keys and values to be associated with this value.
func ( Float64UpDownCounter) ( context.Context,  float64,  ...label.KeyValue) {
	.directRecord(, NewFloat64Number(), )
}
Add adds the value to the counter's sum. The labels should contain the keys and values to be associated with this value.
func ( Int64UpDownCounter) ( context.Context,  int64,  ...label.KeyValue) {
	.directRecord(, NewInt64Number(), )
}
Add adds the value to the counter's sum using the labels previously bound to this counter via Bind()
Add adds the value to the counter's sum using the labels previously bound to this counter via Bind()