Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions vortex-metrics/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ impl VortexMetrics {
/// Create a new metrics registry with additional tags. Metrics created in the
/// child registry will be included in this registry's snapshots.
Comment thread
sgrebnov marked this conversation as resolved.
pub fn child_with_tags(&self, additional_tags: impl Into<DefaultTags>) -> Self {
let child = Self::new_with_tags(self.inner.default_tags.merge(&additional_tags.into()));
self.inner.children.write().push(child.clone());
child
// TODO: Child metric registration under parent is temporarily disabled due to memory growth - children accumulate indefinitely.
// https://github.com/vortex-data/vortex/discussions/5946
Self::new_with_tags(self.inner.default_tags.merge(&additional_tags.into()))
}

/// Returns the counter with the specified ID, creating a default instance if absent.
Expand Down
Loading