Skip to content

Commit

Permalink
chore: remove base telemetry that is already injected in new spans
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-fully-ported committed Sep 20, 2023
1 parent 8ba63f9 commit 269a704
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions api/server/handlers/cluster/cluster_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 269a704

Please sign in to comment.