METHOD

Meter.CreateHistogram<T>()

Creates a histogram instrument for distributions of observations.

Formal Syntax & Structure

csharp syntaxcsharp
meter.CreateHistogram<int>("inventory.duration", unit: "ms")

Working Example

Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.meter.CreateHistogram<int>("inventory.duration", unit: "ms")
C# & .NET Reference