Skip to content

build-trust/demo-influxdb-telegraf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ockam + InfluxDB Demo

This is a demo that shows how to use Ockam to securely connect Telegraf and InfluxDB. A full run down on what is happening here and how it works can be read on the Ockam blog: Connect distributed clients to a private InfluxDB database

Prerequisites

  • Ockam (brew install build-trust/ockam/ockam)
  • Docker (including docker-compose)

Setup

There's a script to setup the inital project (influxdb-demo) that our nodes will later register with:

$ ./bin/setup

To start the InfluxDB server, Telegraf, and connect them via Ockam run:

$ ./bin/up

Telegraf will now be emitting and flushing system metrics to InfluxDB every 10 seconds. You can verify that InfluxDB is receiving the data by using the test script to return the last 1 minute worth of data:

$ ./bin/test

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published