From e200ceec3b9f481071c22f9bb1c2ee2d447329dc Mon Sep 17 00:00:00 2001 From: gayanyapa Date: Wed, 11 Mar 2026 05:06:56 +1030 Subject: [PATCH] Fixed: OTEL's metricName() was silently dropping the subsystem when no system/namespace was set. --- otel.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/otel.go b/otel.go index 54f1db7..d2ce393 100644 --- a/otel.go +++ b/otel.go @@ -200,6 +200,9 @@ func (r *otelReporter) metricName(path string) string { if r.namespace != "" { return fmt.Sprintf("%s_%s", r.namespace, path) } + if r.subSystem != "" { + return fmt.Sprintf("%s_%s", r.subSystem, path) + } return path }