You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/fluent/plugin/output.rb
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -210,10 +210,10 @@ def initialize
210
210
@emit_records_metrics=nil
211
211
@emit_size_metrics=nil
212
212
@write_count_metrics=nil
213
+
@write_secondary_count_metrics=nil
213
214
@rollback_count_metrics=nil
214
215
@flush_time_count_metrics=nil
215
216
@slow_flush_count_metrics=nil
216
-
@secondary_chunk_count_metrics=nil
217
217
@enable_size_metrics=false
218
218
219
219
# How to process events is decided here at once, but it will be decided in delayed way on #configure & #start
@@ -279,10 +279,10 @@ def configure(conf)
279
279
@emit_records_metrics=metrics_create(namespace: "fluentd",subsystem: "output",name: "emit_records",help_text: "Number of emit records")
280
280
@emit_size_metrics=metrics_create(namespace: "fluentd",subsystem: "output",name: "emit_size",help_text: "Total size of emit events")
281
281
@write_count_metrics=metrics_create(namespace: "fluentd",subsystem: "output",name: "write_count",help_text: "Number of writing events")
282
+
@write_secondary_count_metrics=metrics_create(namespace: "fluentd",subsystem: "output",name: "secondary_chunk_count",help_text: "Number of writing events in secondary")
282
283
@rollback_count_metrics=metrics_create(namespace: "fluentd",subsystem: "output",name: "rollback_count",help_text: "Number of rollbacking operations")
283
284
@flush_time_count_metrics=metrics_create(namespace: "fluentd",subsystem: "output",name: "flush_time_count",help_text: "Count of flush time")
284
285
@slow_flush_count_metrics=metrics_create(namespace: "fluentd",subsystem: "output",name: "slow_flush_count",help_text: "Count of slow flush occurred time(s)")
285
-
@secondary_chunk_count_metrics=metrics_create(namespace: "fluentd",subsystem: "output",name: "secondary_chunk_count",help_text: "Number of stored chunks in secondary")
0 commit comments