Skip to content
Snippets Groups Projects

Added Prometheus Service and Prometheus graphs

Merged Kamil Trzciński requested to merge prometheus-monitoring into master
All threads resolved!
Compare and Show latest version
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -4,7 +4,7 @@ class PrometheusError < StandardError; end
# Helper methods to interact with Prometheus network services & resources
module Prometheus
def ping
json_api_get("query", query: "count({__name__=~\".+\"})")
json_api_get("query", query: "1")
end
def query(query, time = Time.now)
Loading