Class: MetricsService

Inherits:
Object
  • Object
show all
Defined in:
app/services/metrics_service.rb

Instance Method Summary collapse

Instance Method Details

#metrics_textObject


10
11
12
# File 'app/services/metrics_service.rb', line 10

def metrics_text
  prometheus_metrics_text
end

#prometheus_metrics_textObject


6
7
8
# File 'app/services/metrics_service.rb', line 6

def prometheus_metrics_text
  ::Prometheus::Client::Formats::Text.marshal_multiprocess(multiprocess_metrics_path)
end