Skip to content

Commit 0c95674

Browse files
committed
features: change metrics registration logic
1 parent c0060ec commit 0c95674

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/v/features/feature_table.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,9 @@ feature_table::feature_table() {
386386
}
387387
}
388388
}
389+
}
389390

391+
void feature_table::setup_metrics() {
390392
_probe = std::make_unique<probe>(*this);
391393
_probe->setup_metrics();
392394
}

src/v/features/feature_table.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ class feature_table {
669669
std::optional<feature> resolve_name(std::string_view feature_name) const;
670670

671671
void set_license(security::license license);
672-
672+
void setup_metrics();
673673
/// Sets the builtin trial license based on the cluster creation time
674674
void set_builtin_trial_license(model::timestamp cluster_creation_timestamp);
675675

0 commit comments

Comments
 (0)