Skip to content

Commit db265fa

Browse files
committed
1.0: metrics: Add more metrics local behavior descriptions
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent f57d9aa commit db265fa

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

metrics/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ Here is an example with `metrics_local`:
3232
</system>
3333
```
3434

35+
`local` type plugin should provide equivalent behavior before Fluentd v1.13.
36+
This metrics type should provide single numeric value storing functionality.
37+
38+
And this `local` type plugin should be used by default.
39+
3540
## List of Built-in Metrics Plugins
3641

3742
* [`local`](local.md)

metrics/local.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,7 @@ With this configuration:
2626

2727
The above configuration will save the internal metrics for plugins on memory. As a result, you can retrive metrics from memory and also you can replace with your custom metrics plugin.
2828

29+
Actually, @type local metrics plugin has equivalent functionality for previous single value based Ruby instance variables.
30+
This behavior will be changed by other 3rd party plugins.
31+
2932
If this article is incorrect or outdated, or omits critical information, please [let us know](https://github.com/fluent/fluentd-docs-gitbook/issues?state=open). [Fluentd](http://www.fluentd.org/) is an open-source project under [Cloud Native Computing Foundation \(CNCF\)](https://cncf.io/). All components are available under the Apache 2 License.

0 commit comments

Comments
 (0)