HistogramConfiguration(Double[], Boolean, Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the HistogramConfiguration class. Allows specifying explicit bucket boundaries and which statistics should be collected.
public HistogramConfiguration(double[] explicitBucketBoundaries = default, bool recordMinMax = false, bool recordMedian = false);
new Microsoft.VisualStudio.Telemetry.Metrics.HistogramConfiguration : double[] * bool * bool -> Microsoft.VisualStudio.Telemetry.Metrics.HistogramConfiguration
Public Sub New (Optional explicitBucketBoundaries As Double() = Nothing, Optional recordMinMax As Boolean = false, Optional recordMedian As Boolean = false)
Parameters
- explicitBucketBoundaries
- Double[]
The histogram's bucket boundaries.
- recordMinMax
- Boolean
True if min/max values should be recorded.
- recordMedian
- Boolean
True if the median value should be recorded (note: depending on datapoint volume median tracking may elevate memory usage).