Back to Articles

To enable metric collection and view metrics via ELK the user needs to enable ACCP statistic polling, enable telemetry, and configure Telegraf on each VUE application server.

For each ACCP instance, when adding the ACCP or when modifying an ACCP, check the 2 check boxes to enable ACCP statistics polling and enable telemetry collection.

  • Stat polling – This is enabled by default and has a default polling period of 60 seconds. Recommended to leave enabled and leave polling period at 60 seconds
  • Enable telemetry – This enables telemetry statistics collection. Enabling this setting has no effect unless Enable stat poling is enabled. This setting is disabled by default.

To fully enable metric collection using Telegraf requires you to configure Telegraf for each ACCP instance. This is done using a console on VPS #1 (dockerrepo). A metrics configuration script is provided for the user to configure metrics on each VUE application server where an ACCP instance is running. To fully configure metric collection:

  1. Log into VPS #1 as fldengr.
  2. Change to the playbooks directory.
    $ cd /home/docker/cloud-service-scripts/playbooks
  3. Run the metrics configuration playbook as follows (you will be prompted to select VUE application server or all servers to apply metric configuration):
    $ ./config-metrics.sh [-r] [-e|-n] [configFile]
    -r
    Reset to use pre-configured defaults (discard any previous custom configuration)
    -e
    Open port 9200 on ELK to allow metric storage. This option is required to open port 9200 to view metric dashboards via Kibana. Logs cannot be forwarded if this port is not opened.
    WARNING: This may be considered a security risk.
    -n
    Close port 9200 on ELK
    configFile
    A Telegraf configuration file in TOML format