BloombergLP::bdlm::MetricDescriptor::MetricDescriptor

Constructors

Synopses

Declared in <bdlm_metricdescriptor.h>

Create an object of this class having the default attribute values.

MetricDescriptor(bslma::Allocator* basicAllocator = 0);
» more...

Create an object of this class having the same value as the specified original one.

MetricDescriptor(
    MetricDescriptor const& original,
    bslma::Allocator* basicAllocator = 0);
» more...

Create an object of this class having the specified attribute values.

MetricDescriptor(
    std::string_view const& metricNamespace,
    std::string_view const& metricName,
    InstanceCount::Value instanceNumber,
    std::string_view const& objectTypeName,
    std::string_view const& objectTypeAbbreviation,
    std::string_view const& objectIdentifier,
    bslma::Allocator* basicAllocator = 0);
» more...

Parameters

NameDescription
basicAllocatormemory allocator; null uses the default
originalobject providing the value for the new descriptor
metricNamespacegrouping value for published metrics
metricNamename of the metric
instanceNumberinstance number of the object generating the metric
objectTypeNamename of the type generating the metric
objectTypeAbbreviationabbreviation for the type generating the metric
objectIdentifierapplication unique identifier for the metric