Method: Fluent::GoogleCloudOutput#shutdown
- Defined in:
- lib/fluent/plugin/out_google_cloud.rb
permalink #shutdown ⇒ Object
[View source]
656 657 658 659 660 661 |
# File 'lib/fluent/plugin/out_google_cloud.rb', line 656 def shutdown super # Export metrics on shutdown. This is a best-effort attempt, and it might # fail, for instance if there was a recent write to the same time series. @registry.export unless @registry.nil? end |