Statistics

logging/statistics

Configures the statistic collection and publishing capability for the gateway. The statistics for the configured components will be published to the specified statsd server over UDP. Statistics can be used to monitor the environment, or assist with problem determination in the environment.

Properties

NameTypeConstraintsDescription
serverstringThe server on which the statsd server is listening for requests.
portnumberMinimum: 0

Maximum: 65535

Default value: 8125
The port on which the statsd server is listening for requests.
frequencynumberMinimum: 1

Maximum: unlimited

Default value: 1
The frequency (in seconds) that statistics are sent from the memory buffer to the statsd server.
componentsArray of stringValues: iag.authn, iag.http2, iag.https, iag.redis, iag.resource_server, iag.sescache, iag.threads, iag.websocketSpecifies an array of statistic components to be enabled. Refer to the troubleshooting documentation for a full description of the available component names.

Example

logging:
  statistics:
    server: 127.0.0.1
    port: 8125
    frequency: 20
    components:
      - iag.authn