Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

go.opentelemetry.io/contrib/instrumentation/runtime

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

go.opentelemetry.io/contrib/instrumentation/runtime

  • v0.57.0
  • Go
  • Socket score

Version published
Created
Source

Feature Gates

The runtime package contains a feature gate used to ease the migration from the previous runtime metrics conventions to the new OpenTelemetry Go Runtime conventions.

Note that the new runtime metrics conventions are still experimental, and may change in backwards incompatible ways as feedback is applied.

Features

Include Deprecated Metrics

Once new experimental runtime metrics are added, they will be produced in addition to the existing runtime metrics. Users that migrate right away can disable the old runtime metrics:

export OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=false

In a later release, the deprecated runtime metrics will stop being produced by default. To temporarily re-enable the deprecated metrics:

export OTEL_GO_X_DEPRECATED_RUNTIME_METRICS=true

After two additional releases, the deprecated runtime metrics will be removed, and setting the environment variable will no longer have any effect.

The value set must be the case-insensitive string of "true" to enable the feature, and "false" to disable the feature. All other values are ignored.

FAQs

Package last updated on 08 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc