Advanced: Write Your Own Telegraf Plugin
Session date: Jul 22, 2021 08:00am (Pacific Time)
Telegraf is a plugin-driven server agent for collecting & reporting metrics, and there are nearly 300 plugins already written to source data from a variety of services and systems. There may be instances where you need to write your own plugin to source data from your particular systems. In this session, Alan Pope will walk through the steps for writing Telegraf plugins. This will require an understanding of the Go programming language. Jumpstart your learning by signing up for InfluxDB Cloud ahead of this training session.
Attend to learn:
- The structure of every plugin
- How to use the structure and what information you need to include in other files to make your plugin work
- How to write a plugin in any language using ExecD, and the difference between using the Go shim vs. writing in other languages
- How to use Starlark's Python-like language to do bespoke parsing as part of your ETL
Alan Pope
Developer Advocate, InfluxData
Alan Pope is a Developer Advocate for Telegraf at InfluxData. He's been an active Open Source contributor for over a decade. Alan previously worked on Ubuntu and in a past life taught SAP training course. In his spare time, he presents a long-running podcast with friends. He enjoys conversations about the intersection of technology and humanity. Alan loves cats.