Search in sources :

Example 1 with CounterDefSetImpl

use of org.mobicents.protocols.ss7.oam.common.statistics.CounterDefSetImpl in project smscgateway by RestComm.

the class SmscStatProviderJmx method setupCounterList.

private void setupCounterList() {
    FastMap<String, CounterDefSet> lst = new FastMap<String, CounterDefSet>();
    CounterDefSetImpl cds = new CounterDefSetImpl(this.getCounterMediatorName() + "-Main");
    lst.put(cds.getName(), cds);
    CounterDef cd = new CounterDefImpl(CounterType.Minimal, "MinMessagesInProcess", "A min count of messages that are in progress during a period");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Maximal, "MaxMessagesInProcess", "A max count of messages that are in progress during a period");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgInReceivedAll", "Messages received and accepted via all interfaces");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgInRejectedAll", "Messages received and rejected because of charging reject via all interfaces");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgInFailedAll", "Messages received and failed to process via all interfaces");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgInReceivedSs7", "Messages received and accepted via SS7 interface");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgInReceivedSs7Mo", "Messages received and accepted via SS7 interface (mobile originated)");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgInReceivedSs7Hr", "Messages received and accepted via SS7 interface (home routing)");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "HomeRoutingCorrIdFail", "Home routing failures because of absent correlationId");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "SmppSecondRateOverlimitFail", "Rejecting of incoming SMPP messages case because of exceeding of a rate limit per a second");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "SmppMinuteRateOverlimitFail", "Rejecting of incoming SMPP messages case because of exceeding of a rate limit per a minute");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "SmppHourRateOverlimitFail", "Rejecting of incoming SMPP messages case because of exceeding of a rate limit per a hour");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "SmppDayRateOverlimitFail", "Rejecting of incoming SMPP messages case because of exceeding of a rate limit per a day");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgInReceivedSmpp", "Messages received and accepted via SMPP interface");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgInReceivedSip", "Messages received and accepted via SIP interface");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary_Cumulative, "MsgInReceivedAllCumulative", "Messages received and accepted via all interfaces cumulative");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgInHrSriReq", "Home routing SRI messages received");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgInHrSriPosReq", "Home routing SRI positive responses");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgInHrSriHrByPass", "ByPass HomeRouting procedure after SRI to a local HLR");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgInHrSriNegReq", "Home routing SRI negative responses");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgOutTryAll", "Messages sending tries via all interfaces");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgOutSentAll", "Messages sent via all interfaces");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary_Cumulative, "MsgOutTryAllCumulative", "Messages sending tries via all interfaces cumulative");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary_Cumulative, "MsgOutSentAllCumulative", "Messages sent via all interfaces cumulative");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgOutFailedAll", "Messages failed to send via all interfaces");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Average, "MsgOutTryAllPerSec", "Messages sending tries via all interfaces per second");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Average, "MsgOutSentAllPerSec", "Messages sent via all interfaces per second");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgOutTrySs7", "Messages sending tries via SS7 interface");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgOutSentSs7", "Messages sent via SS7 interface");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgOutTrySmpp", "Messages sending tries via SMPP interface");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgOutSentSmpp", "Messages sent via SMPP interface");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgOutTrySip", "Messages sending tries via SIP interface");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary, "MsgOutSentSip", "Messages sent via SIP interface");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Summary_Cumulative, "SmscDeliveringLag", "Lag of delivering messages by Smsc (in seconds)");
    cds.addCounterDef(cd);
    cd = new CounterDefImpl(CounterType.Maximal, "MsgPendingInDb", "Messages stored in database which are to be delivered yet");
    cds.addCounterDef(cd);
    lstCounters = lst;
}
Also used : CounterDefSet(org.mobicents.protocols.ss7.oam.common.statistics.api.CounterDefSet) FastMap(javolution.util.FastMap) CounterDefImpl(org.mobicents.protocols.ss7.oam.common.statistics.CounterDefImpl) CounterDefSetImpl(org.mobicents.protocols.ss7.oam.common.statistics.CounterDefSetImpl) CounterDef(org.mobicents.protocols.ss7.oam.common.statistics.api.CounterDef)

Aggregations

FastMap (javolution.util.FastMap)1 CounterDefImpl (org.mobicents.protocols.ss7.oam.common.statistics.CounterDefImpl)1 CounterDefSetImpl (org.mobicents.protocols.ss7.oam.common.statistics.CounterDefSetImpl)1 CounterDef (org.mobicents.protocols.ss7.oam.common.statistics.api.CounterDef)1 CounterDefSet (org.mobicents.protocols.ss7.oam.common.statistics.api.CounterDefSet)1