Monitoring Tuxedo 應用程式

安裝 Instana 代理程式之後,會自動安裝 Tuxedo 應用程式感應器。 Tuxedo 感應器僅支援本端監視,因此您必須 在 Tuxedo 應用程式效能資料檔所在的主機上安裝 Instana 代理程式 。 在配置 Tuxedo 應用程式感應器之後,您可以在 Instana 使用者介面中檢視與 Tuxedo 應用程式相關的度量值,如 配置 一節所述。

配置

Tuxedo 應用程式感應器透過從拓蹼檔、Service Broker Project 及 Tuxedo Service 效能資料檔案中擷取資料,來監視 Tuxedo 應用程式。 若要從 Tuxedo 應用程式收集監視資料,請在 <agent_install_dir>/etc/instana/configuration.yaml 代理程式配置檔中設定下列參數的值:

#Tuxedo Application
com.instana.plugin.tuxedoapp:
  enabled: true
  poll_rate: 120 # The metrics poll rate in seconds.
  timeZoneServiceBroker: 'GMT' # The time zone that is used for the reporting time of the Service Broker Project log data. The default value is 'GMT'.
  timeZoneTuxedoService: 'GMT' # The time zone that is used for the reporting time of the Tuxedo Service performance data. The default value is 'GMT'.
  availabilityZone: 'Tuxedo Application Performance' # The default availability zone of the Tuxedo application.
  topology: '' # The directory where topology data files are located.
  serviceBrokerCallLog: '' # The directory where Service Broker Project log files are located.
  tuxedoPerf: '' # The directory where Tuxedo performance files are located.
  batchSizeServiceBroker: 400 # Indicates how many Service Broker Project log files will be handled in each thread.
  batchSizeTuxedo: 4000 # Indicates how many Tuxedo performance files will be handled in each thread.

調整批次大小及輪詢率

Tuxedo 感應器使用多執行緒來監視效能檔案,而「執行緒監視器」則使用多個檔案。 如果感應器未在設定的輪詢率內完成剖析檔案,則會在 <agent_install_dir>/data/log/agent.log 檔案中顯示類似下列範例的錯誤訊息:

2023-06-16T18:19:08.531+08:00 | WARN | instana-executor-thread-2-11     | okerDataProvider | com.instana.sensor-tuxedoapp - 1.0.0 | 547531ms is taken to parse files, which is longer than the current poll rate 300000ms. You are suggested to increase the poll rate or reduce the batch size of Service Broker Project files.
2023-06-16T18:18:59.200+08:00 | WARN | instana-executor-thread-2-2      | xedoDataProvider | com.instana.sensor-tuxedoapp - 1.0.0 |  538200ms is taken to parse files, which is longer than the current poll rate 300000ms. You are suggested to increase the poll rate or reduce the batch size of Tuxedo Service files.

如果您遇到此錯誤,請增加輪詢率或減少效能檔案的批次大小。

檢視度量值

若要檢視度量值,請完成下列步驟:

  1. 在 Instana 使用者介面的資訊看板中,選取 基礎架構
  2. 尋找您在配置檔中定義的可用性區域。 如果配置檔中未指定可用性區域,依預設,可用性區域會設為 Tuxedo Application Performance
  3. 按一下可用性區域中的應用程式。

您可以在儀表板中檢視下列詳細資料和度量值。

Tuxedo 應用程式

您可以檢視 Tuxedo 應用程式及度量值的詳細資料。

內容

下表列出 Tuxedo 應用程式的詳細資料:

申請詳情 說明
應用程式名稱 唯一識別應用程式的網域名稱

效能度量

下表列出 Tuxedo 應用程式度量值:

應用程式度量值 說明
numOfSBrokerProjects 服務分配管理系統專案數目
numOfTuxSvcs Tuxedo 服務數目
sbp_avgRes時間 Service Broker 專案的平均回應時間
sbp_preCall時間 Service Broker 在預先呼叫處理時所花費的平均時間
sbp_callTime Service Broker 專案的平均來回轉換服務呼叫時間
sbp_postCall時間 服務分配管理系統花費在後置呼叫處理的平均時間
sbp_throughput Service Broker 專案的傳輸量
sbp_errors Service Broker 專案發生的錯誤
ts_avgRes時間 Tuxedo Services 的平均回應時間
ts_th量 Tuxedo 服務的傳輸量

Tuxedo 服務

您可以檢視 Tuxedo 服務及度量值的詳細資料。

內容

下表列出 Tuxedo 服務的詳細資料:

Tuxedo 服務詳細資料 說明
tsName Tuxedo 服務的名稱

效能度量

下表列出 Tuxedo 服務度量值:

機器度量 說明
countLess一半 完成所花費的小於 0.5 秒的交易數
countHalfAndOneHalf 完成所需的 0.5 秒與 1.5 秒之間的交易數目
countOneHalfAnd三 完成 1.5 秒到 3 秒之間的交易數
countThreeAndFive 完成所需的 3 秒到 5 秒之間的交易數
countGreater五 完成超過 5 秒的交易數
avgRes時間 平均回應時間
傳輸量 傳輸量

Tuxedo 伺服器

您可以檢視 Tuxedo 伺服器及度量值的詳細資料。

內容

下表列出 Tuxedo 伺服器的詳細資料:

Tuxedo Server 詳細資料 說明
伺服器 Tuxedo Server 的名稱
版本 Tuxedo 服務版本
主機 主機名稱
效能度量

下表列出 Tuxedo 伺服器度量值:

Tuxedo Server 詳細資料 說明
avgRes時間 平均回應時間
傳輸量 傳輸量

服務分配管理系統專案

您可以檢視 Service Broker 專案的詳細資料和度量值。

內容

下表列出「服務分配管理系統專案」的詳細資料:

Service Broker 專案詳細資料 說明
sbpName Service Broker 專案的名稱

效能度量

下表列出「服務分配管理系統專案」度量:

Service Broker 專案詳細資料 說明
avgRes時間 平均回應時間
preCall時間 Service Broker 在預先呼叫處理時所花費的平均時間
callTime Service Broker 專案的平均來回轉換服務呼叫時間
postCall時間 服務分配管理系統花費在後置呼叫處理的平均時間
傳輸量 傳輸量
錯誤 錯誤
Rsfu FML 回應的平均有效負載
rqfu FML 要求的平均有效負載

服務分配管理系統

您可以檢視 Service Broker 的詳細資料和度量值。

內容

下表列出 Service Broker 的詳細資料:

服務分配管理系統詳細資料 說明
serviceBroker 服務分配管理系統的名稱
效能度量

下表列出服務分配管理系統度量:

服務分配管理系統詳細資料 說明
avgRes時間 平均回應時間
傳輸量 傳輸量
Rsfu FML 回應的平均有效負載
rqfu FML 要求的平均有效負載