From bfba16556483835cf0f8fcfd52ff2c42155beb38 Mon Sep 17 00:00:00 2001 From: Jason Collins Date: Mon, 28 Oct 2024 11:21:57 -0700 Subject: [PATCH] remove TODO from testing --- pkg/transaction/metric/metricscollector.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkg/transaction/metric/metricscollector.go b/pkg/transaction/metric/metricscollector.go index fe78bb27b..9a87451f4 100644 --- a/pkg/transaction/metric/metricscollector.go +++ b/pkg/transaction/metric/metricscollector.go @@ -271,15 +271,6 @@ func (c *collector) AddMetric(apiDetails models.APIDetails, statusCode string, d func (c *collector) AddMetricDetail(metricDetail Detail) { c.AddMetric(metricDetail.APIDetails, metricDetail.StatusCode, metricDetail.Duration, metricDetail.Bytes, metricDetail.APIDetails.Name) c.createOrUpdateHistogram(metricDetail) - // TODO remove this after testing - c.AddCustomMetricDetail(CustomMetricDetail{ - APIDetails: metricDetail.APIDetails, - AppDetails: metricDetail.AppDetails, - UnitDetails: models.Unit{ - Name: "x-ai-tokens", - }, - Count: 30, - }) } // AddAPIMetricDetail - add metric details for several response codes and transactions