20 Using B2B Metrics

This chapter describes how Oracle B2B metrics provide system-level and partner-level status on B2B runtime data. It also discusses status on messages and errors, message counts, active document types and trading partners, and error messages.

This chapter includes the following sections:

20.1 Introduction to B2B Metrics

Use the Metrics tab to view current runtime data in the repository. The Metrics tab reflects changes that occur in the runtime repository (for example, purging the runtime instance data).

Metrics data shown in the Messages and Errors chart and the Message Count chart, shown in Figure 20-1, display data for the last 10 hours or the last 20 hours.

Figure 20-1 The Messages and Errors Chart and Message Count Chart

Description of Figure 20-1 follows
Description of "Figure 20-1 The Messages and Errors Chart and Message Count Chart"

The metrics tables show all data from the time the first message was received. Current data is available by using the Refresh button. In contrast, changes are not immediately reflected in Oracle Enterprise Manager Fusion Middleware Control, which is based on dynamic monitoring service (DMS) metrics collected from the WebLogic managed server node. Enterprise Manager also shows limited information (the top 5 partners, the top 5 documents) and the data is available only from the last restart of the server. See Monitoring Oracle 2B in Administering Oracle SOA Suite and Oracle Business Process Management Suite for more information.

Most fields in the active document types, active trading partners, and errors tables can be sorted in ascending or descending order, as shown in Figure 20-2.

This is useful to identify the largest average message size or to group all the responding partner error messages, for example. You can resize columns to see any text that may be obscured. For error text, place the mouse over the text to see the entire message. The business message IDs in the Errors area link to business message details, as shown in Figure 20-3.

Figure 20-3 Business Message Details

Description of Figure 20-3 follows
Description of "Figure 20-3 Business Message Details"

20.2 B2B System Metrics

System metrics summary data includes messages and errors, message counts, and statistics on active document types and active trading partners.

Figure 20-4 shows system metrics summary data.

Table 20-1 describes the information on the System metrics tab.

Table 20-1 B2B System Metrics

Area/Field Description

Summary

Active partners are partners for which at least one agreement has been deployed. Active agreements are agreements that have been deployed and are in the active state. Active document types are document types that have been included in deployed and active agreements.

Messages and Errors

Processed messages = Completed messages + Errored messages

Details of the errored messages are listed under Errors.

Message Count

Active messages are shown in this trend of inbound and outbound message quantity over time.

Active Document Types

Active document types are document types that have been included in active agreements. Details of the errors are listed under Errors. Messages processed include completed plus errored messages, that is, active messages.

Name

Name of the document definition

No. of Messages Processed

Shows the number of document messages exchanged between the host and trading partners. Outbound indicates messages sent from the host to the trading partner and Inbound indicates messages sent from the trading partner to the host.

Average Processing Time (millisec)

Shows the average document processing time, in milliseconds, for exchanged messages. Outbound indicates messages sent from the host to the trading partner and Inbound indicates messages sent from the trading partner to the host.

Average Message Size (kb)

Shows the average document size, in kilobytes, for outbound and inbound messages.

Errors

Shows the document error count.

Active Trading Partners

Active trading partners are partners for which an agreement has been deployed and is in an active state. The host trading partner is included in the list. Messages processed include completed plus errored messages, that is, active messages.

Name

Name of the trading partner

No. of Messages Processed

Shows the number of messages sent by (From column) and received by (To column) the specified trading partner.

Average Processing Time (millisec)

Shows the average document processing time, in milliseconds, for the specified trading partner.

Average Message Size (kb)

Shows the average document size, in kilobytes, for the specified trading partner.

Errors

Shows the document error count.

Errors

Error message text is available from the Java resource bundle. The business message IDs link to business message details.

20.3 B2B Partner Metrics

Metrics summary data for a trading partner includes messages and errors, message counts, statistics for active document types, and errors.

Figure 20-5 shows metrics summary data for a selected trading partner.

Note:

Discrepancies between the Summary counts and the Active Document Types detail counts are due to a variety of factors, such as:
  • Messages for which there in no agreement show in the Summary but not in the Active Document Types list.

  • Acknowledgement messages for agreements show in the Summary but not in the Active Document Types list.

  • Agreements that are deactivated prior to being sent to the Metrics page show in the Summary but not in the Active Document Types list.

  • The set of messages used for the Summary may be different than the set of messages shown in Average Processing Times.

Table 20-2 B2B Partner Metrics

Area/Field Description

Messages and Errors

Processed messages = Completed messages + Errored messages

Details of the errored messages are listed under Errors.

Message Count

Active messages are shown in this trend of inbound and outbound message quantity over time.

Summary

The number of messages processed, the average processing time, the average message size, and the number of errors are summarized for the selected trading partner.

No. of Messages Processed

Shows the number of messages sent by (From column) and received by (To column) the specified trading partner.

Average Processing Time (millisec)

Shows the average document processing time, in milliseconds, for the specified trading partner.

Average Message Size (kb)

Shows the average document size, in kilobytes, for the specified trading partner.

Errors

Shows the document error count.

Active Document Types

Active document types are document types that have been included in active agreements. Details of the errors are listed under Errors. Messages processed include completed plus errored messages, that is, active messages.

Name

Name of the document definition

No. of Messages Processed

Shows the number of document messages exchanged between the host and trading partners. Outbound indicates messages sent from the host to the trading partner and Inbound indicates messages sent from the trading partner to the host.

Average Processing Time (millisec)

Shows the average document processing time, in milliseconds, for exchanged messages. Outbound indicates messages sent from the host to the trading partner and Inbound indicates messages sent from the trading partner to the host.

Average Message Size (kb)

Shows the average document size, in kilobytes, for outbound and inbound messages.

Errors

Shows the document error count.

Errors

Error message text is available from the Java resource bundle. The business message IDs link to business message details.