Skip to content

Commit

Permalink
remove TODO from testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollins-axway committed Oct 28, 2024
1 parent 7147226 commit bfba165
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pkg/transaction/metric/metricscollector.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bfba165

Please sign in to comment.