Skip to content

Add DebuggerDisplay to System.Diagnostics.Metrics's Meter and Instruments #87758

@JamesNK

Description

@JamesNK

Meter = Meter.Name (maybe also a count of instruments?)
Instruments = Instrument.Name (maybe also its meter name? And Enabled?). DebuggerDisplay attribute is inherited so the attribute can be added once to the base class.

DebuggerDisplayAttribute docs: https://learn.microsoft.com/en-us/visualstudio/debugger/using-the-debuggerdisplay-attribute?view=vs-2022

It could be tagged as help wanted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Diagnostics.MetricenhancementProduct code improvement that does NOT require public API changes/additionshelp wanted[up-for-grabs] Good issue for external contributors

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions