mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 18:53:35 +00:00
rebase: bump github.com/hashicorp/vault/api from 1.2.0 to 1.3.0
Bumps [github.com/hashicorp/vault/api](https://github.com/hashicorp/vault) from 1.2.0 to 1.3.0. - [Release notes](https://github.com/hashicorp/vault/releases) - [Changelog](https://github.com/hashicorp/vault/blob/main/CHANGELOG.md) - [Commits](https://github.com/hashicorp/vault/compare/v1.2.0...v1.3.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/vault/api dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
committed by
mergify[bot]
parent
9a3170bf77
commit
b344a9f463
go.modgo.sum
vendor
github.com
armon
golang
protobuf
ptypes
empty
snappy
hashicorp
go-immutable-radix
go-plugin
README.mdclient.gogo.modgo.sumgrpc_client.gogrpc_server.gogrpc_stdio.go
internal
process_windows.goserver.gotesting.gogo-secure-stdlib
vault
api
sdk
helper
certutil
consts
pluginutil
strutil
wrapping
logical
error.goidentity.pb.goidentity.protological.goplugin.pb.gorequest.goresponse.goresponse_util.gotoken.go
version
go.uber.org
atomic
google.golang.org
modules.txt
4
vendor/github.com/armon/go-metrics/metrics.go
generated
vendored
4
vendor/github.com/armon/go-metrics/metrics.go
generated
vendored
@ -228,12 +228,12 @@ func (m *Metrics) allowMetric(key []string, labels []Label) (bool, []Label) {
|
||||
func (m *Metrics) collectStats() {
|
||||
for {
|
||||
time.Sleep(m.ProfileInterval)
|
||||
m.emitRuntimeStats()
|
||||
m.EmitRuntimeStats()
|
||||
}
|
||||
}
|
||||
|
||||
// Emits various runtime statsitics
|
||||
func (m *Metrics) emitRuntimeStats() {
|
||||
func (m *Metrics) EmitRuntimeStats() {
|
||||
// Export number of Goroutines
|
||||
numRoutines := runtime.NumGoroutine()
|
||||
m.SetGauge([]string{"runtime", "num_goroutines"}, float32(numRoutines))
|
||||
|
Reference in New Issue
Block a user