Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
henryzhx8 committed Sep 13, 2024
1 parent 328b4b6 commit 52e918f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/monitor/LogtailMetric.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class MetricsRecordRef {
IntGaugePtr CreateIntGauge(const std::string& name);
DoubleGaugePtr CreateDoubleGauge(const std::string& name);
const MetricsRecord* operator->() const;
// this is not thread-safe, and should be only used before WriteMetrics::CommitMetricsRecordRef
void AddLabels(MetricLabels&& labels);
#ifdef APSARA_UNIT_TEST_MAIN
bool HasLabel(const std::string& key, const std::string& value) const;
Expand Down

0 comments on commit 52e918f

Please sign in to comment.