[API Proposal]: Allow to delete an instrument inside a Meter instance #83822
Labels
api-suggestion
Early API idea and discussion, it is NOT ready for implementation
area-System.Diagnostics.Metric
enhancement
Product code improvement that does NOT require public API changes/additions
Milestone
Background and motivation
For now, when you create an instance of Meter you can create multiple types of instrument (Histogram, Counter, ObservableGauge or ObservableCounter).
But you can't delete one observable gauge (for instance) previously created. The only way is to dispose the Meter instance and recreate from scratch with all instruments minus the instrument supposed to remove. It's not efficient at all.
API Proposal
API Usage
Alternative Designs
No response
Risks
No response
The text was updated successfully, but these errors were encountered: