Skip to content

engines/prometheus-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple client to access the Prometheus API

You might ask why I've written this gem. And indeed you would be right to question this! The main reason is error handling. If you use the high level interface in the official ruby client and you make a mistake in a query then you get a big fat nothing. Yup, nowt. This isn't that different from the official gem but I've used a number of dry-rb libraries to generally improve the code and specifically to improve the error handling.

Usage

This isn't on Rubgems yet so you'll have to add it to your Gemfile as a git repo:

gem "prometheus-api",   "0.3",   :git => "https://github.com/filterfish/prometheus-api"

About

Simple API to access the Prometheus API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages