Skip to content

Commit

Permalink
Removed HDRHistogram metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
ar committed Feb 13, 2024
1 parent 9b28642 commit 740695d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ subprojects {
}
repositories {
mavenCentral()
mavenLocal()
maven { url = uri('https://jpos.org/maven') }
mavenLocal()
}
base {
archivesName="jposee-${project.name}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@
import io.netty.handler.codec.http.*;
import org.jpos.core.Configurable;
import org.jpos.core.Configuration;
import org.jpos.core.ConfigurationException;
import org.jpos.q2.Q2;
import org.jpos.q2.iso.QMUX;
import org.jpos.qrest.Response;
import org.jpos.qrest.Route;
import org.jpos.transaction.Context;
import org.jpos.transaction.TransactionManager;
import org.jpos.transaction.TransactionParticipant;
import org.jpos.util.Caller;
import org.jpos.util.NameRegistrar;

import static org.jpos.qrest.Constants.REQUEST;
Expand Down Expand Up @@ -127,7 +125,6 @@ private Map<String,Object> muxInfo(QMUX mux) {
m.put ("rxPending", mux.getRXPending());
m.put ("rxUnhandled", mux.getRXUnhandled());
m.put ("rxForwarded", mux.getRXForwarded());
m.put ("metrics", mux.getMetrics().metrics());
long last = mux.getLastTxnTimestampInMillis();
if (last > 0) {
m.put("last", new Date(last));
Expand Down Expand Up @@ -179,8 +176,6 @@ private Map<String,Object> txnmgrInfo(TransactionManager txnmgr) {
m.put ("TPSPeak", txnmgr.getTPSPeak());
m.put ("TPSPeakWhen", txnmgr.getTPSPeakWhen());
m.put ("TPSElapsed", txnmgr.getTPSElapsed());
if (txnmgr.getMetrics() != null)
m.put ("metrics", txnmgr.getMetrics().metrics());
return m;
}

Expand Down

0 comments on commit 740695d

Please sign in to comment.