mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-12 02:28:07 +02:00
e9db0473aa
* Bump github.com/jcchavezs/porto from 0.2.1 to 0.3.0 in /internal/tools Bumps [github.com/jcchavezs/porto](https://github.com/jcchavezs/porto) from 0.2.1 to 0.3.0. - [Release notes](https://github.com/jcchavezs/porto/releases) - [Commits](https://github.com/jcchavezs/porto/compare/v0.2.1...v0.3.0) --- updated-dependencies: - dependency-name: github.com/jcchavezs/porto dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Auto-fix go.sum changes in dependent modules * make precommit Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: MrAlias <MrAlias@users.noreply.github.com> Co-authored-by: Tyler Yahn <codingalias@gmail.com>
29 lines
1.0 KiB
Go
29 lines
1.0 KiB
Go
// Code generated by "stringer -type=InstrumentKind"; DO NOT EDIT.
|
|
|
|
package sdkapi
|
|
|
|
import "strconv"
|
|
|
|
func _() {
|
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
|
// Re-run the stringer command to generate them again.
|
|
var x [1]struct{}
|
|
_ = x[HistogramInstrumentKind-0]
|
|
_ = x[GaugeObserverInstrumentKind-1]
|
|
_ = x[CounterInstrumentKind-2]
|
|
_ = x[UpDownCounterInstrumentKind-3]
|
|
_ = x[CounterObserverInstrumentKind-4]
|
|
_ = x[UpDownCounterObserverInstrumentKind-5]
|
|
}
|
|
|
|
const _InstrumentKind_name = "HistogramInstrumentKindGaugeObserverInstrumentKindCounterInstrumentKindUpDownCounterInstrumentKindCounterObserverInstrumentKindUpDownCounterObserverInstrumentKind"
|
|
|
|
var _InstrumentKind_index = [...]uint8{0, 23, 50, 71, 98, 127, 162}
|
|
|
|
func (i InstrumentKind) String() string {
|
|
if i < 0 || i >= InstrumentKind(len(_InstrumentKind_index)-1) {
|
|
return "InstrumentKind(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _InstrumentKind_name[_InstrumentKind_index[i]:_InstrumentKind_index[i+1]]
|
|
}
|