Skip to content

Use the Enable method of synchronous metric instruments #7800

Description

@MrAlias

The Enabled method was added to all synchronous instruments in #7763. This new method should be used in all instrumentation within the project, and documentation should be updated/created to promote its use.

Instrumentation

Update all uses of the metric API to check if the instrument is enabled prior to performing any computationally expensive operations.

Documentation

Metadata

Metadata

Labels

goal: 2026Goal to accomplish in 2026

Type

No type

Projects

Status
Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions