Skip to content

Commit

Permalink
remove duplicated trap telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
XY-Wang committed Apr 4, 2024
1 parent 473091b commit e71460b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/server/src/services/telemetry/metrics/engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ export function engineMetrics(source: TelemetryEventEmitter) {
matchCount
.labels(outMsg.subscriptionId, outMsg.origin.chainId, outMsg.destination.chainId, inMsg.outcome.toString())
.inc();

if (inMsg.assetsTrapped !== undefined) {
trapCount
.labels(outMsg.subscriptionId, outMsg.origin.chainId, outMsg.destination.chainId, inMsg.outcome.toString())
.inc();
}
});

source.on('telemetryRelayed', (relayMsg: XcmRelayed) => {
Expand Down

0 comments on commit e71460b

Please sign in to comment.