How to change the thresholds and colors of the Overview tab for the CEM \ Business Service \ Business Transactions node?

Document ID : KB000013859
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

How to change the thresholds and colors of the Overview tab for the CEM \ Business Service \ Business Transactions node? What are the current caution and danger thresholds for each of the columns? Can I change the colors?

1.png

Answer:

The thresholds are defined in the file EM_HOME/ext/xmltv/btstats.typeviewers.xml, inside the file look for "BT-table1" - see below

This file is used by both Webview and Workstation. If you change the values, you must restart webview/workstation.

You can change the values. The thresholds are longs, so no decimal numbers can be used.

The colors are defined in webview.css as classes ‚apmBGRed‘ and ‚ apmBGYellow‘, but there are not intended to be configurable.


<ComponentDefinition id="BT-table1">
    <MetricDataTable>
      <Column content-type="LastPrefixSegment" relative-width="3">
        <Title its:translate="yes">Business Transactions</Title>
        <Title xml:lang="zh-TW">????</Title>
        <Title xml:lang="zh">????</Title>
        <Title xml:lang="ko">???? ????</Title>
        <Title xml:lang="ja">???? ????????</Title>
      </Column>
      <Column caution-threshold="30" content-type="NumericalValue" danger-threshold="60" relative-specifier="\|([^\|]*):Average Response Time \(ms\)">
        <Title its:translate="yes">Average Response Time</Title>
        <Title xml:lang="zh-TW">??????</Title>
        <Title xml:lang="zh">??????</Title>
        <Title xml:lang="ko">?? ?? ??</Title>
        <Title xml:lang="ja">??????</Title>
      </Column>
      <Column caution-threshold="20" content-type="NumericalValue" danger-threshold="50" relative-specifier="\|([^\|]*):Total Transactions Per Interval">
        <Title its:translate="yes">Total Transactions Per Interval</Title>
        <Title xml:lang="zh-TW">?????????</Title>
        <Title xml:lang="zh">???????????</Title>
        <Title xml:lang="ko">??? ? ???? ?</Title>
        <Title xml:lang="ja">????????????????</Title>
      </Column>
      <Column caution-threshold="20" content-type="NumericalValue" danger-threshold="50" relative-specifier="\|([^\|]*):Total Defects Per Interval">
        <Title its:translate="yes">Total Defects Per Interval</Title>
        <Title xml:lang="zh-TW">?????????</Title>
        <Title xml:lang="zh">???????????</Title>
        <Title xml:lang="ko">??? ? ?? ?</Title>
        <Title xml:lang="ja">??????????</Title>
      </Column>
    </MetricDataTable>]