File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,9 +81,9 @@ impl VortexMetrics {
8181 /// Create a new metrics registry with additional tags. Metrics created in the
8282 /// child registry will be included in this registry's snapshots.
8383 pub fn child_with_tags ( & self , additional_tags : impl Into < DefaultTags > ) -> Self {
84- let child = Self :: new_with_tags ( self . inner . default_tags . merge ( & additional_tags . into ( ) ) ) ;
85- self . inner . children . write ( ) . push ( child . clone ( ) ) ;
86- child
84+ // TODO: Child metric registration under parent is temporarily disabled due to memory growth - children accumulate indefinitely.
85+ // https://github.com/vortex-data/vortex/discussions/5946
86+ Self :: new_with_tags ( self . inner . default_tags . merge ( & additional_tags . into ( ) ) )
8787 }
8888
8989 /// Returns the counter with the specified ID, creating a default instance if absent.
You can’t perform that action at this time.
0 commit comments