Constructors
Synopses
Declared in <bdlm_metricdescriptor.h>
Create an object of this class having the default attribute values.
MetricDescriptor(bslma::Allocator* basicAllocator = 0);
Create an object of this class having the same value as the specified original one.
MetricDescriptor(
MetricDescriptor const& original,
bslma::Allocator* basicAllocator = 0);
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);
Parameters
Name |
Description |
basicAllocator |
memory allocator; null uses the default |
original |
object providing the value for the new descriptor |
metricNamespace |
grouping value for published metrics |
metricName |
name of the metric |
instanceNumber |
instance number of the object generating the metric |
objectTypeName |
name of the type generating the metric |
objectTypeAbbreviation |
abbreviation for the type generating the metric |
objectIdentifier |
application unique identifier for the metric |
Created with MrDocs