Documentation ¶
Overview ¶
Package stats provides instrumentation for the gopcua library via expvar.
The API is experimental and might change.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecordError ¶
func RecordError(err error)
func Subscription ¶
Subscription is the global subscription statistics map.
Types ¶
type Stats ¶
Stats collects gopcua statistics via expvar.
func (*Stats) RecordError ¶
RecordError updates the metric for an error by one.
Click to show internal directories.
Click to hide internal directories.