class Yabeda::Prometheus::Adapter::UndeclaredMetricTags
Attributes
message[R]
Public Class Methods
new(metric_name, caused_exception)
click to toggle source
# File lib/yabeda/prometheus/adapter.rb, line 13 def initialize(metric_name, caused_exception) @message = <<~MESSAGE.strip Prometheus requires all used tags to be declared at metric registration time. \ Please add `tags` option to the declaration of metric `#{metric_name}`. \ Error: #{caused_exception.message} MESSAGE end