Skip to content

Commit

Permalink
Removes Nodejs/Transactions/Created support metric that seems to have…
Browse files Browse the repository at this point in the history
… never worked correctly.
  • Loading branch information
michaelgoin committed Oct 9, 2019
1 parent 407e8f2 commit 428099d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions lib/agent.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
}

/**
Expand Down
1 change: 0 additions & 1 deletion lib/transaction/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ function Transaction(agent) {
)

++agent.activeTransactions
++agent.transactionCreatedInHarvest

this.numSegments = 0
this.id = hashes.makeId()
Expand Down

0 comments on commit 428099d

Please sign in to comment.