Last updated
Was this helpful?
Last updated
Was this helpful?
Fluentd has nine (9) types of plugins:
This article gives an overview of Metrics Plugin.
Sometimes, the input/filter/output plugin needs to save its internal metrics in memory, influxdb or prometheus format ready in instances. Fluentd has a pluggable system called Metrics that lets a plugin store and reuse its internal state as metrics instances.
On Fluentd core, metrics plugin will handled on <metrics>
on <system>
to set up easily.
Here is an example with metrics_local
:
local
type plugin should provide equivalent behavior before Fluentd v1.13. This metrics type should provide single numeric value storing functionality.
And this local
type plugin should be used by default.
Fluent::Plugin::Input
for Input plugin base class
Fluent::Plugin::Output
for most of output plugin base class
Fluent::Plugin::Filter
for Filter plugin base class
Fluent::Plugin::BareOutput
for fluent-plugin-forest output plugin base class
NOTE: This 3rd party metrics plugin list does not fully covers all of them.
Fluent::Plugin::MultiOutput
for plugin base class
If this article is incorrect or outdated, or omits critical information, please . is an open-source project under . All components are available under the Apache 2 License.