From 337f1da23a3b8af2e53d6b11a3ece0d3141ce309 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 20 Sep 2023 12:23:42 -0400 Subject: [PATCH] chore: remove base telemetry that is already injected in new spans --- api/server/handlers/cluster/cluster_status.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/api/server/handlers/cluster/cluster_status.go b/api/server/handlers/cluster/cluster_status.go index 030454f12a..9dc44c87ba 100644 --- a/api/server/handlers/cluster/cluster_status.go +++ b/api/server/handlers/cluster/cluster_status.go @@ -45,11 +45,6 @@ func (c *ClusterStatusHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) defer span.End() cluster, _ := ctx.Value(types.ClusterScope).(*models.Cluster) - telemetry.WithAttributes(span, - telemetry.AttributeKV{Key: "project-id", Value: cluster.ProjectID}, - telemetry.AttributeKV{Key: "cluster-id", Value: cluster.ID}, - ) - req := connect.NewRequest(&porterv1.ClusterStatusRequest{ ProjectId: int64(cluster.ProjectID), ClusterId: int64(cluster.ID),