forked from toolshed/abra
chore: deps and vendor
This commit is contained in:
go.modgo.sumclientconn.gocodec.godialoptions.gomodules.txt
vendor
github.com
charmbracelet
cpuguy83
cyphar
filepath-securejoin
docker
cli
cli-plugins
cli
command
compose
interpolation
loader
schema
template
types
config
credentials
context
error.gorequired.gotrust
opts
pkg
kvfile
templates
docker
grpc-ecosystem
grpc-gateway
v2
runtime
prometheus
go.opentelemetry.io
auto
sdk
contrib
instrumentation
net
http
otelhttp
otel
.golangci.ymlCHANGELOG.mdMakefileVERSIONING.md
baggage
codes
exporters
otlp
otlpmetric
otlpmetricgrpc
otlptrace
internal
sdk
trace
version.goversions.yamlproto
otlp
metrics
golang.org
x
crypto
ssh
exp
net
sys
unix
zerrors_linux.gozerrors_linux_386.gozerrors_linux_amd64.gozerrors_linux_arm.gozerrors_linux_arm64.gozerrors_linux_loong64.gozerrors_linux_mips.gozerrors_linux_mips64.gozerrors_linux_mips64le.gozerrors_linux_mipsle.gozerrors_linux_ppc.gozerrors_linux_ppc64.gozerrors_linux_ppc64le.gozerrors_linux_riscv64.gozerrors_linux_s390x.gozerrors_linux_sparc64.goztypes_darwin_amd64.goztypes_darwin_arm64.goztypes_linux.go
windows
google.golang.org
genproto
googleapis
grpc
balancer
balancer_wrapper.gobinarylog
grpc_binarylog_v1
experimental
grpclog
internal
health
grpc_health_v1
internal
mem
preloader.goresolver
rpc_util.goserver.goservice_config.gostats
stream.goversion.goprotobuf
internal
editiondefaults
errors
filedesc
genid
impl
api_export_opaque.gobitmap.gobitmap_race.gocheckinit.gocodec_field_opaque.gocodec_message.gocodec_message_opaque.godecode.goencode.golazy.gomerge.gomessage.gomessage_opaque.gomessage_opaque_gen.gomessage_reflect.gomessage_reflect_field.gomessage_reflect_field_gen.gopointer_unsafe.gopointer_unsafe_opaque.gopresence.govalidate.go
protolazy
version
proto
reflect
protoreflect
runtime
types
known
anypb
durationpb
fieldmaskpb
structpb
timestamppb
wrapperspb
4
vendor/github.com/prometheus/common/expfmt/openmetrics_create.go
generated
vendored
4
vendor/github.com/prometheus/common/expfmt/openmetrics_create.go
generated
vendored
@ -152,8 +152,8 @@ func MetricFamilyToOpenMetrics(out io.Writer, in *dto.MetricFamily, options ...E
|
||||
if metricType == dto.MetricType_COUNTER && strings.HasSuffix(compliantName, "_total") {
|
||||
compliantName = name[:len(name)-6]
|
||||
}
|
||||
if toOM.withUnit && in.Unit != nil && !strings.HasSuffix(compliantName, fmt.Sprintf("_%s", *in.Unit)) {
|
||||
compliantName = compliantName + fmt.Sprintf("_%s", *in.Unit)
|
||||
if toOM.withUnit && in.Unit != nil && !strings.HasSuffix(compliantName, "_"+*in.Unit) {
|
||||
compliantName = compliantName + "_" + *in.Unit
|
||||
}
|
||||
|
||||
// Comments, first HELP, then TYPE.
|
||||
|
Reference in New Issue
Block a user