lib/frankenstein/ruby_vm_metrics.rb in frankenstein-1.2.0 vs lib/frankenstein/ruby_vm_metrics.rb in frankenstein-2.0.0

- old
+ new

@@ -13,10 +13,10 @@ # @param registry [Prometheus::Client::Registry] specify the metrics # registry in which to register the GC-related metrics. # def self.register(registry = Prometheus::Client.registry) RubyVM.stat.each do |k, v| - Frankenstein::CollectedMetric.new(:"ruby_vm_#{k}", "Ruby VM parameter #{k}", registry: registry) do + Frankenstein::CollectedMetric.new(:"ruby_vm_#{k}", docstring: "Ruby VM parameter #{k}", registry: registry) do { {} => RubyVM.stat[k] } end end end end