telegraf

Agent for collecting, processing, aggregating, and writing metrics, logs, and other arbitrary data.

22 articles 17.1k View on GitHub ↗
22 articles
How to Handle Metric Parsing Errors and Data Validation in Telegraf

Learn to handle Telegraf metric parsing errors with pluggable Parsers and data validation using Validate methods to ensure data integrity.

how-to-guide
May 14, 2026
How External Plugins Work in Telegraf Compared to Built-In Plugins

Discover how external Telegraf plugins load at runtime versus built-in plugins compiled directly into the agent binary. Understand Telegraf plugin architecture for improved data collection.

deep-dive
May 14, 2026
How Telegraf Plugin Labels and Selectors Enable Selective Plugin Loading

Telegraf plugin labels and selectors enable selective plugin loading by filtering plugins with metadata and Kubernetes-style expressions. Use one config for multiple environments.

internals
May 14, 2026
How to Write Custom Parsers for Specific Data Formats in Telegraf

Learn to write custom Telegraf parsers using Go plugins. Implement the telegraf.Parser interface and register your parser for specific data formats.

how-to-guide
May 14, 2026
How Telegraf's Output Buffer System Works: Architecture and Backpressure Handling

Understand Telegraf's output buffer system. Learn how it uses memory and disk to prevent data loss and handles backpressure to protect downstream systems.

internals
May 14, 2026
How to Migrate from Legacy Plugin Configurations Using Telegraf Migrations

Easily migrate legacy Telegraf plugin configurations to modern formats on startup with automatic migration functions. Learn how Telegraf simplifies your data collection setup.

migration-guide
May 14, 2026
How to Use Telegraf's --test and --once Modes for Debugging

Debug Telegraf effectively using --test and --once modes. Learn how these options simplify troubleshooting by running plugins once and viewing raw metrics or the full pipeline output.

how-to-guide
May 14, 2026
How to Debug Telegraf Plugin Loading and Configuration Issues: A Complete Guide

Resolve Telegraf plugin loading and configuration issues. Learn to debug plugin registration, parsing, and construction with step-by-step guidance and debug mode insights.

how-to-guide
May 14, 2026
How Metric Tagging and Global Tags Work in Telegraf: Complete Implementation Guide

Learn how Telegraf implements metric tagging and global tags. Discover how Telegraf merges tags at runtime and resolves tag collisions with this implementation guide.

how-to-guide
May 14, 2026
How to Use the HTTP Listener Plugin for Metrics Ingestion in Telegraf

Ingest metrics into Telegraf using the http listener plugin. Learn how to set up and configure the http listener v2 for seamless data collection and processing.

how-to-guide
May 14, 2026
How to Configure SSL/TLS for Telegraf Input and Output Plugins: A Complete Guide

Learn to configure SSL/TLS for Telegraf input and output plugins. This guide covers using ServerConfig and ClientConfig for secure data transmission. Enhance your Telegraf security today.

how-to-guide
May 14, 2026
How Telegraf State Persistence Works Across Restarts

Learn how Telegraf state persistence works across restarts. Telegraf uses the Stateful interface and gob-encoded files to save and load plugin state, ensuring data integrity after agent restarts.

internals
May 14, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →