README.md in fluent-plugin-cloudwatch-1.2.13 vs README.md in fluent-plugin-cloudwatch-1.2.14
- old
+ new
@@ -28,10 +28,11 @@
dimensions_name [dimensions_name]
dimensions_value [dimensions value]
period [period] (default: 300)
interval [interval] (default: 300)
delayed_start [bool] (default: false)
+ emit_zero [bool] (default: false)
</source>
```
### GET RDS Metric
@@ -231,9 +232,13 @@
flunet-plugin-cloudwatch gets metrics between now and `period` × 10 sec ago, and pick a latest value from that.
But the latest metric is insufficient for `statistics Sum`.
If `offset` is specified, fluent-plugin-cloudwatch gets metrics between `offset` sec ago and older.
+
+## config: emit_zero
+
+If `emit_zero` is true and cloudwatch datapoint is empty, fluent-plugin-cloudwatch emits 0 instead of warn log "datapoint is empty".
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)