2016-11-23 20:21:17 +08:00
|
|
|
# discard Output Plugin
|
|
|
|
|
|
|
|
|
|
This output plugin simply drops all metrics that are sent to it. It is only
|
|
|
|
|
meant to be used for testing purposes.
|
|
|
|
|
|
2022-10-27 03:58:36 +08:00
|
|
|
## Global configuration options <!-- @/docs/includes/plugin_config.md -->
|
|
|
|
|
|
|
|
|
|
In addition to the plugin-specific configuration settings, plugins support
|
|
|
|
|
additional global and plugin configuration settings. These settings are used to
|
|
|
|
|
modify metrics, tags, and field or create aliases and configure ordering, etc.
|
|
|
|
|
See the [CONFIGURATION.md][CONFIGURATION.md] for more details.
|
|
|
|
|
|
2023-01-12 23:55:21 +08:00
|
|
|
[CONFIGURATION.md]: ../../../docs/CONFIGURATION.md#plugins
|
2022-10-27 03:58:36 +08:00
|
|
|
|
2021-11-25 02:47:33 +08:00
|
|
|
## Configuration
|
2016-11-23 20:21:17 +08:00
|
|
|
|
2022-05-25 22:48:59 +08:00
|
|
|
```toml @sample.conf
|
2016-11-23 20:21:17 +08:00
|
|
|
# Send metrics to nowhere at all
|
|
|
|
|
[[outputs.discard]]
|
|
|
|
|
# no configuration
|
|
|
|
|
```
|