diff --git a/go.mod b/go.mod index f5cb836d3..d6d54725e 100644 --- a/go.mod +++ b/go.mod @@ -19,7 +19,7 @@ require ( github.com/urfave/cli/v2 v2.25.7 go.etcd.io/etcd v0.5.0-alpha.5.0.20230414071934-94593e63d45c go.opentelemetry.io/contrib/instrumentation/host v0.45.0 - go.opentelemetry.io/contrib/instrumentation/runtime v0.45.0 + go.opentelemetry.io/contrib/instrumentation/runtime v0.46.1 go.opentelemetry.io/otel v1.21.0 go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.43.0 go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v0.44.0 diff --git a/go.sum b/go.sum index 040bb5013..e609355dd 100644 --- a/go.sum +++ b/go.sum @@ -476,8 +476,8 @@ go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opentelemetry.io/contrib/instrumentation/host v0.45.0 h1:1uzNKJDqZ6y6F5J6aKWgJjRREpKiGhBvKHlWon/bqB4= go.opentelemetry.io/contrib/instrumentation/host v0.45.0/go.mod h1:vlqPvzDsmB4+jlERxBRXsdLCD6Q0LoBzxHqNXp3qvG4= -go.opentelemetry.io/contrib/instrumentation/runtime v0.45.0 h1:2JydY5UiDpqvj2p7sO9bgHuhTy4hgTZ0ymehdq/Ob0Q= -go.opentelemetry.io/contrib/instrumentation/runtime v0.45.0/go.mod h1:ch3a5QxOqVWxas4CzjCFFOOQe+7HgAXC/N1oVxS9DK4= +go.opentelemetry.io/contrib/instrumentation/runtime v0.46.1 h1:m9ReioVPIffxjJlGNRd0d5poy+9oTro3D+YbiEzUDOc= +go.opentelemetry.io/contrib/instrumentation/runtime v0.46.1/go.mod h1:CANkrsXNzqOKXfOomu2zhOmc1/J5UZK9SGjrat6ZCG0= go.opentelemetry.io/otel v1.21.0 h1:hzLeKBZEL7Okw2mGzZ0cc4k/A7Fta0uoPgaJCr8fsFc= go.opentelemetry.io/otel v1.21.0/go.mod h1:QZzNPQPm1zLX4gZK4cMi+71eaorMSGT3A4znnUvNNEo= go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.43.0 h1:tFUz2BE6ucxU9PuPCwzbfDeQjMznIySJ4/73a3FSPUs= diff --git a/vendor/go.opentelemetry.io/contrib/instrumentation/runtime/runtime.go b/vendor/go.opentelemetry.io/contrib/instrumentation/runtime/runtime.go index b6ad2c3b4..09c47d482 100644 --- a/vendor/go.opentelemetry.io/contrib/instrumentation/runtime/runtime.go +++ b/vendor/go.opentelemetry.io/contrib/instrumentation/runtime/runtime.go @@ -24,6 +24,9 @@ import ( "go.opentelemetry.io/otel/metric" ) +// ScopeName is the instrumentation scope name. +const ScopeName = "go.opentelemetry.io/contrib/instrumentation/runtime" + // Runtime reports the work-in-progress conventional runtime metrics specified by OpenTelemetry. type runtime struct { config config @@ -106,7 +109,7 @@ func Start(opts ...Option) error { } r := &runtime{ meter: c.MeterProvider.Meter( - "go.opentelemetry.io/contrib/instrumentation/runtime", + ScopeName, metric.WithInstrumentationVersion(Version()), ), config: c, diff --git a/vendor/go.opentelemetry.io/contrib/instrumentation/runtime/version.go b/vendor/go.opentelemetry.io/contrib/instrumentation/runtime/version.go index f201a6f55..2906a340e 100644 --- a/vendor/go.opentelemetry.io/contrib/instrumentation/runtime/version.go +++ b/vendor/go.opentelemetry.io/contrib/instrumentation/runtime/version.go @@ -16,7 +16,7 @@ package runtime // import "go.opentelemetry.io/contrib/instrumentation/runtime" // Version is the current release version of the runtime instrumentation. func Version() string { - return "0.45.0" + return "0.46.1" // This string is updated by the pre_release.sh script during release } diff --git a/vendor/modules.txt b/vendor/modules.txt index 4027e4087..51efe58db 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -351,8 +351,8 @@ go.etcd.io/etcd/wal/walpb # go.opentelemetry.io/contrib/instrumentation/host v0.45.0 ## explicit; go 1.19 go.opentelemetry.io/contrib/instrumentation/host -# go.opentelemetry.io/contrib/instrumentation/runtime v0.45.0 -## explicit; go 1.19 +# go.opentelemetry.io/contrib/instrumentation/runtime v0.46.1 +## explicit; go 1.20 go.opentelemetry.io/contrib/instrumentation/runtime # go.opentelemetry.io/otel v1.21.0 ## explicit; go 1.20