From 428099d3f59d979738c47b4a828b6f9fb37ee55b Mon Sep 17 00:00:00 2001 From: Michael Goin Date: Wed, 9 Oct 2019 10:33:28 -0700 Subject: [PATCH] Removes Nodejs/Transactions/Created support metric that seems to have never worked correctly. --- lib/agent.js | 6 ------ lib/transaction/index.js | 1 - 2 files changed, 7 deletions(-) diff --git a/lib/agent.js b/lib/agent.js index 2b14fba1ce..41d9bd07b3 100644 --- a/lib/agent.js +++ b/lib/agent.js @@ -178,7 +178,6 @@ function Agent(config) { this.totalActiveSegments = 0 this.segmentsCreatedInHarvest = 0 this.segmentsClearedInHarvest = 0 - this.transactionsCreatedInHarvest = 0 // Used by shutdown code as well as entity tracking stats this.activeTransactions = 0 @@ -581,15 +580,10 @@ Agent.prototype._generateEntityStatsAndClear = function _generateHarvestMetrics( activeTransactions: this.activeTransactions }, 'Entity stats on metric harvest') } - this.recordSupportability( - 'Nodejs/Transactions/Created', - this.transactionsCreatedInHarvest - ) // Reset the counters. this.segmentsCreatedInHarvest = 0 this.segmentsClearedInHarvest = 0 - this.transactionsCreatedInHarvest = 0 } /** diff --git a/lib/transaction/index.js b/lib/transaction/index.js index fe16c3e606..91f5f821e4 100644 --- a/lib/transaction/index.js +++ b/lib/transaction/index.js @@ -72,7 +72,6 @@ function Transaction(agent) { ) ++agent.activeTransactions - ++agent.transactionCreatedInHarvest this.numSegments = 0 this.id = hashes.makeId()