Apis Honeystore Performance Counters

The APIS Honeystore historian provides a set of performance counters, which is found in the category 'Apis Honeystore' when using the Performance Monitor.

For the Honeystore historian, the following counters are provided

NameDescriptionType
Number of databasesThe total number of databases in the Apis Honeystore historian on this computer.NumberOfItems32
Number of OPCHDA clientsThe total number of OPCHDA clients that is connected to the Apis Honeystore historian on this computer.NumberOfItems32
Number of lost data samplesThe total number of lost data samples (online writes) due to performance or error issues. If > 0, you are losing data samples from one or more online data writer. Investigate further by inspecting the trace-logs of the writer applications.NumberOfItems64

How to use the performance counters

The first two counters are self-explanatory, simply showing the measured values as a count.
The third counter, 'Number of lost data samples', is a counter that could be monitored to determine whether an application or client are having any problems storing/writing data samples to a database.
If the counter is > 0, you are losing data samples from one or more online data writer(s). Investigate further by inspecting the trace-logs of the writer applications. Examples of such writing applications could be clients using the Apis Hive UA server, the Apis Hive module Apis Logger and the clients connected to the Apis Honeystore OPCHDA server, or any other custom application that writes data to the historian. If the system is running on its performance limits, this counter could also show a value > 0, and possible remedies could be to increase the cache size of the troubling related database, or decrease the logging frequency.

For performance counter types, please see:
https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.performancecountertype