浏览代码

feat: add namespace to helm-get-release telemetry (#3603)

jose-fully-ported 2 年之前
父节点
当前提交
212dbda5e0
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      internal/helm/agent.go

+ 1 - 0
internal/helm/agent.go

@@ -126,6 +126,7 @@ func (a *Agent) GetRelease(
 
 	telemetry.WithAttributes(span,
 		telemetry.AttributeKV{Key: "name", Value: name},
+		telemetry.AttributeKV{Key: "namespace", Value: a.Namespace()},
 		telemetry.AttributeKV{Key: "version", Value: version},
 		telemetry.AttributeKV{Key: "getDeps", Value: getDeps},
 	)