Getting Started with Telegraf
What is Telegraf?
Telegraf is an open-source server agent for collecting and reporting metrics. It can be used to collect a variety of metrics such as system statistics, application metrics, and event logs from spacecraft, drones, etc. Telegraf is highly extensible, with a plugin-driven architecture that allows it to support a wide range of input and output formats.
Common Uses of Telegraf
Telegraf is commonly used for:
- System Monitoring: Collecting system-level metrics such as CPU usage, memory usage, disk I/O, and network statistics.
- Application Monitoring: Gathering metrics from various applications and services, including databases, web servers, and custom applications.
- Data Transformation: Applying transformations to the collected data before sending it to the desired output.
- Metric Reporting: Sending collected metrics to various backends such as Nominal
Sending Data to Nominal
- Create a Nominal Data Source via the Python client.
- Log in to Nominal and copy the Write RID for the connection that was just created.
- Provision a Nominal API key by navigating to Org Settings in the Nominal platform.
- Substitue your Write RID and API Key into the following example telegraf file and get started.
Note: Telegraf also supports embedding secrets such as your API token via the secrets store function