This structure contains diagnostic information about subscriptions. Its elements are defined in Table 154.

Table 154 – SubscriptionDiagnosticsDataType Structure

Name

Type

Description

SubscriptionDiagnosticsDataType

structure

sessionId

NodeId

Server-assigned identifier of the session the subscription belongs to.

subscriptionId

UInt32

Server-assigned identifier of the subscription.

priority

Byte

The priority the client assigned to the subscription.

publishingInterval

Duration

The publishing interval of the subscription in milliseconds

maxKeepAliveCount

UInt32

The maximum keep-alive count of the subscription.

maxLifetimeCount

UInt32

The maximum lifetime count of the subscription.

maxNotificationsPerPublish

UInt32

The maximum number of notifications per publish response.

publishingEnabled

Boolean

Whether publishing is enabled for the subscription.

modifyCount

UInt32

The number of ModifySubscription requests received for the subscription.

enableCount

UInt32

The number of times the subscription has been enabled.

disableCount

UInt32

The number of times the subscription has been disabled.

republishRequestCount

UInt32

The number of Republish Service requests that have been received and processed for the subscription.

republishMessageRequestCount

UInt32

The total number of messages that have been requested to be republished for the subscription. Note that due to the design of the Republish Service this number is always equal to the republishRequestCount.

republishMessageCount

UInt32

The number of messages that have been successfully republished for the subscription.

transferRequestCount

UInt32

The total number of TransferSubscriptions Service requests that have been received for the subscription.

transferredToAltClientCount

UInt32

The number of times the subscription has been transferred to an alternate client.

transferredToSameClientCount

UInt32

The number of times the subscription has been transferred to an alternate session for the same client.

publishRequestCount

UInt32

The number of Publish Service requests that have been received and processed for the subscription.

dataChangeNotificationsCount

UInt32

The number of data change Notifications sent by the subscription.

eventNotificationsCount

UInt32

The number of Event Notifications sent by the subscription.

notificationsCount

UInt32

The total number of Notifications sent by the subscription.

latePublishRequestCount

UInt32

The number of times the subscription has entered the LATE State, i.e. the number of times the publish timer expires and there are unsent notifications.

currentKeepAliveCount

UInt32

The number of times the subscription has entered the KEEPALIVE State.

currentLifetimeCount

UInt32

The current lifetime count of the subscription.

unacknowledgedMessageCount

UInt32

The number of unacknowledged messages saved in the republish queue.

discardedMessageCount

UInt32

The number of messages that were discarded before they were acknowledged.

monitoredItemCount

UInt32

The total number of monitored items of the subscription, including the disabled monitored items.

disabledMonitoredItemCount

UInt32

The number of disabled monitored items of the subscription.

monitoringQueueOverflowCount

UInt32

The number of times a monitored item dropped notifications because of a queue overflow.

nextSequenceNumber

UInt32

Sequence number for the next notification message.

eventQueueOverFlowCount

UInt32

The number of times a monitored item in the subscription has generated an Event of type EventQueueOverflowEventType.

Its representation in the AddressSpace is defined in Table 155.

Table 155 – SubscriptionDiagnosticsDataType Definition

Attributes

Value

BrowseName

SubscriptionDiagnosticsDataType