MCPcopy
hub / github.com/influxdata/telegraf

github.com/influxdata/telegraf @v1.39.1 sqlite

repository ↗ · DeepWiki ↗ · release v1.39.1 ↗
16,442 symbols 89,489 edges 2,287 files 3,004 documented · 18%
README

tiger Telegraf

GoDoc Docker pulls Go Report Card Circle CI

Telegraf is an agent for collecting, processing, aggregating, and writing metrics, logs, and other arbitrary data.

  • Offers a comprehensive suite of over 300 plugins, covering a wide range of functionalities including system monitoring, cloud services, and message passing
  • Enables the integration of user-defined code to collect, transform, and transmit data efficiently
  • Compiles into a standalone static binary without any external dependencies, ensuring a streamlined deployment process
  • Utilizes TOML for configuration, providing a user-friendly and unambiguous setup experience
  • Developed with contributions from a diverse community of over 1,200 contributors

Users can choose plugins from a wide range of topics, including but not limited to:

🔨 Installation

For binary builds, Docker images, RPM & DEB packages, and other builds of Telegraf, please see the install guide.

See the releases documentation for details on versioning and when releases are made.

💻 Usage

Users define a TOML configuration with the plugins and settings they wish to use, then pass that configuration to Telegraf. The Telegraf agent then collects data from inputs at each interval and sends data to outputs at each flush interval.

For a basic walkthrough see quick start.

📖 Documentation

For a full list of documentation including tutorials, reference and other material, start with the /docs directory.

Additionally, each plugin has its own README that includes details about how to configure, use, and sometimes debug or troubleshoot. Look under the /plugins directory for specific plugins.

Here are some commonly used documents:

❤️ Contribute

Contribute

We love our community of over 1,200 contributors! Many of the plugins included in Telegraf were originally contributed by community members. Check out our contributing guide if you are interested in helping out. Also, join us on our Community Slack or Community Forums if you have questions or comments for our engineering teams.

If you are completely new to Telegraf and InfluxDB, you can also enroll for free at InfluxDB university to take courses to learn more.

ℹ️ Support

Slack Forums

Please use the Community Slack or Community Forums if you have questions or comments for our engineering teams. GitHub issues are limited to actual issues and feature requests only.

📜 License

MIT

Extension points exported contracts — how you extend this code

AggregatingOutput (Interface)
AggregatingOutput adds aggregating functionality to an Output. May be used if the Output only accepts a fixed set of ag [11 …
output.go
Parser (Interface)
Parser is an interface defining functions that a parser plugin must satisfy. [24 implementers]
parser.go
Initializer (Interface)
Initializer is an interface that all plugin types: Inputs, Outputs, Processors, and Aggregators can optionally implement [303 …
plugin.go
Serializer (Interface)
Serializer is an interface defining functions that a serializer plugin must satisfy. Implementations of this interface [17 …
serializer.go
SecretStore (Interface)
SecretStore is an interface defining functions that a secret store plugin must satisfy [10 implementers]
secretstore.go
Aggregator (Interface)
Aggregator is an interface for implementing an Aggregator plugin. the RunningAggregator wraps this interface and guarant [11 …
aggregator.go
Processor (Interface)
Processor is a processor plugin interface for defining new inline processors. these are extremely efficient and should b [38 …
processor.go
ContentEncoder (Interface)
ContentEncoder applies a wrapper encoding to byte buffers. [8 implementers]
internal/content_coding.go

Core symbols most depended-on inside this repo

Errorf
called by 4631
logger.go
New
called by 3827
metric/metric.go
Error
called by 1686
logger.go
Run
called by 1291
plugins/outputs/exec/exec.go
String
called by 1263
metric.go
Len
called by 1104
models/buffer.go
WriteHeader
called by 1074
plugins/inputs/phpfpm/child.go
Add
called by 664
plugins/aggregators/quantile/algorithms.go

Shape

Function 7,096
Method 6,648
Struct 2,280
Interface 193
TypeAlias 149
FuncType 76

Languages

Go100%

Modules by API surface

plugins/parsers/openmetrics/openmetrics_data_model.pb.go207 symbols
plugins/inputs/jti_openconfig_telemetry/oc/oc.pb.go203 symbols
plugins/inputs/zipkin/codec/thrift/gen-go/zipkincore/zipkinCore.go103 symbols
config/config_test.go100 symbols
plugins/inputs/intel_powerstat/intel_powerstat_test.go84 symbols
plugins/inputs/mongodb/mongostat.go82 symbols
plugins/outputs/postgresql/datatype_uint8.go73 symbols
config/config.go70 symbols
testutil/accumulator.go66 symbols
plugins/inputs/webhooks/github/github_webhooks_models.go62 symbols
plugins/inputs/statsd/statsd_test.go61 symbols
plugins/inputs/intel_powerstat/intel_powerstat.go54 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

cel.dev/exprv0.25.1 · 1×
cloud.google.com/gov0.123.0 · 1×
cloud.google.com/go/auth/oauth2adaptv0.2.8 · 1×
cloud.google.com/go/bigqueryv1.77.0 · 1×
cloud.google.com/go/compute/metadatav0.9.0 · 1×
cloud.google.com/go/monitoringv1.29.0 · 1×
cloud.google.com/go/pubsub/v2v2.6.0 · 1×
cloud.google.com/go/storagev1.62.3 · 1×
code.cloudfoundry.org/clockv1.2.0 · 1×
collectd.orgv0.6.0 · 1×

Datastores touched

chunksCollection · 1 repos
(mongodb)Database · 1 repos
(mysql)Database · 1 repos
schemaDatabase · 1 repos
adminDatabase · 1 repos
configDatabase · 1 repos
localDatabase · 1 repos
nopDatabase · 1 repos

For agents

$ claude mcp add telegraf \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact