Home
last modified time | relevance | path

Searched refs:metricDimensionKey (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/statsd/src/metrics/
DNumericValueMetricProducer.cpp320 for (auto& [metricDimensionKey, currentValueBucket] : mCurrentSlicedBucket) { in accumulateEvents()
321 const auto& whatKey = metricDimensionKey.getDimensionKeyInWhat(); in accumulateEvents()
584 for (const auto& [metricDimensionKey, currentBucket] : mCurrentSlicedBucket) { in appendToFullBucket()
585 if (hitFullBucketGuardRailLocked(metricDimensionKey) || in appendToFullBucket()
592 mCurrentFullBucket[metricDimensionKey] += interval.aggregate.long_value; in appendToFullBucket()
595 for (const auto& [metricDimensionKey, value] : mCurrentFullBucket) { in appendToFullBucket()
598 tracker->addPastBucket(metricDimensionKey, value, mCurrentBucketNum); in appendToFullBucket()
605 for (const auto& [metricDimensionKey, currentBucket] : mCurrentSlicedBucket) { in appendToFullBucket()
611 tracker->addPastBucket(metricDimensionKey, in appendToFullBucket()
621 for (const auto& [metricDimensionKey, currentBucket] : mCurrentSlicedBucket) { in appendToFullBucket()
[all …]
DValueMetricProducer.cpp399 for (const auto& [metricDimensionKey, buckets] : mPastBuckets) { in onDumpReportLocked()
400 VLOG(" dimension key %s", metricDimensionKey.toString().c_str()); in onDumpReportLocked()
408 writeDimensionToProto(metricDimensionKey.getDimensionKeyInWhat(), strSet, protoOutput); in onDumpReportLocked()
411 writeDimensionLeafNodesToProto(metricDimensionKey.getDimensionKeyInWhat(), in onDumpReportLocked()
416 for (auto state : metricDimensionKey.getStateValuesKey().getValues()) { in onDumpReportLocked()
635 for (const auto& [metricDimensionKey, currentBucket] : mCurrentSlicedBucket) { in dumpStatesLocked()
638 metricDimensionKey.getDimensionKeyInWhat().toString().c_str(), in dumpStatesLocked()
639 metricDimensionKey.getStateValuesKey().toString().c_str(), in dumpStatesLocked()
797 for (auto& [metricDimensionKey, currentBucket] : mCurrentSlicedBucket) { in flushCurrentBucketLocked()
835 for (auto& [metricDimensionKey, currentBucket] : mCurrentSlicedBucket) { in closeCurrentBucket()
[all …]
/packages/modules/StatsD/statsd/src/
Dmetadata_util.cpp107 const metadata::MetricDimensionKey& metricDimensionKey) { in loadMetricDimensionKeyFromProto() argument
109 writeFieldValuesFromMetadata(metricDimensionKey.dimension_key_in_what(), in loadMetricDimensionKeyFromProto()
112 writeFieldValuesFromMetadata(metricDimensionKey.state_values_key(), &stateValuesFieldValues); in loadMetricDimensionKeyFromProto()
Dmetadata_util.h28 const metadata::MetricDimensionKey& metricDimensionKey);