aboutsummaryrefslogtreecommitdiffstats
path: root/staging_vespalib/src/vespa/vespalib/metrics/name_repo.h
diff options
context:
space:
mode:
Diffstat (limited to 'staging_vespalib/src/vespa/vespalib/metrics/name_repo.h')
-rw-r--r--staging_vespalib/src/vespa/vespalib/metrics/name_repo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/metrics/name_repo.h b/staging_vespalib/src/vespa/vespalib/metrics/name_repo.h
index f6972091ff1..b6e643c489e 100644
--- a/staging_vespalib/src/vespa/vespalib/metrics/name_repo.h
+++ b/staging_vespalib/src/vespa/vespalib/metrics/name_repo.h
@@ -4,7 +4,7 @@
#include <vespa/vespalib/stllike/string.h>
#include "dimension.h"
#include "label.h"
-#include "metric_name.h"
+#include "metric_id.h"
#include "point.h"
#include "name_collection.h"
@@ -28,11 +28,11 @@ private:
~NameRepo() = default;
public:
- MetricName metric(const vespalib::string &name);
+ MetricId metric(const vespalib::string &name);
Dimension dimension(const vespalib::string &name);
Label label(const vespalib::string &value);
- const vespalib::string& metricName(MetricName metric);
+ const vespalib::string& metricName(MetricId metric);
const vespalib::string& dimensionName(Dimension dim);
const vespalib::string& labelValue(Label l);