| 415 | |
| 416 | template<typename T> |
| 417 | LockedMetric<T, TMetricKind::PROPERTY>* AddProperty(const std::string& key, |
| 418 | const T& value, const std::string& metric_def_arg = "") { |
| 419 | return RegisterMetric(new LockedMetric<T, TMetricKind::PROPERTY>( |
| 420 | MetricDefs::Get(key, metric_def_arg), value)); |
| 421 | } |
| 422 | |
| 423 | IntCounter* AddCounter(const std::string& key, const int64_t value, |
| 424 | const std::string& metric_def_arg = "") { |
no outgoing calls