Skip to main content

OakOS

Telemetry

Last updated: 20-Oct-2020

This tutorial shows how to capture telemetry using the example application.

The next tutorial goes into InfluxDB. After that, we have a tutorial that shows how to visualize your metrics with Grafana.

Tutorial Requirements

You will need to set up an InfluxDB database to continue.

Provider Security Requirements

In order to secure sending your logs, you will need to clone and customize component-telegraf to add your organization security credentials.

Clone the component-telegraf repository

Clone component-telegraf

git clone https://github.com/OakLabsInc/component-telegraf

You will need to customize the Dockerfile and set the environment variables to match your organization setting.

Install the example application and configure Telegraf

First, install the example application and Telegraf.

Use your organizations InfluxDB host in the Oak Platform API call.

Oak Platform (API): Install

{
    "services": [{
            "image": "index.docker.io/oaklabs/app-example:release-1.0.1",
            "environment": {
                "TZ": "America/Phoenix"
            }
        },
        {
            "image": "index.docker.io/{{dockerHub}}/component-telegraf:demo",
            "environment": {
                "INFLUXDB_HOST": "{{influxdbHost}}"
            }
        }
    ]
}

NOTE

INFLUXDB_HOST expects the port in the URI.- {{dockerHub}} will be your private organization repository.

Once this package is installed, metrics will be sent to your InfluxDB server.

Need help?

Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.

Not yet a Verifone customer?

We’ll help you choose the right payment solution for your business, wherever you want to sell, in-person or online. Our team of experts will happily discuss your needs.

Verifone logo