lib/fluent/plugin/out_yohoushi.rb in fluent-plugin-yohoushi-0.0.1 vs lib/fluent/plugin/out_yohoushi.rb in fluent-plugin-yohoushi-0.0.2
- old
+ new
@@ -22,11 +22,13 @@
:gauge
when 'count'
:count
when 'modified'
:modified
+ when 'derive'
+ :derive
else
- raise ConfigError, "stdout output output_type should be `gauge`, `count`, or `modified`"
+ raise Fluent::ConfigError, "stdout output output_type should be `gauge`, `count`, `modified`, or `derive`"
end
end
# for test
attr_reader :client