Commit f73041db authored by Tobias Schmidt's avatar Tobias Schmidt

Update ruby support for histograms

parent 328137e3
......@@ -23,8 +23,8 @@ Client library usage documentation for counters:
* [Go](http://godoc.org/github.com/prometheus/client_golang/prometheus#Counter)
* [Java](https://github.com/prometheus/client_java/blob/master/simpleclient/src/main/java/io/prometheus/client/Counter.java)
* [Ruby](https://github.com/prometheus/client_ruby#counter)
* [Python](https://github.com/prometheus/client_python#counter)
* [Ruby](https://github.com/prometheus/client_ruby#counter)
## Gauge
......@@ -39,8 +39,8 @@ Client library usage documentation for gauges:
* [Go](http://godoc.org/github.com/prometheus/client_golang/prometheus#Gauge)
* [Java](https://github.com/prometheus/client_java/blob/master/simpleclient/src/main/java/io/prometheus/client/Gauge.java)
* [Ruby](https://github.com/prometheus/client_ruby#gauge)
* [Python](https://github.com/prometheus/client_python#gauge)
* [Ruby](https://github.com/prometheus/client_ruby#gauge)
## Histogram
......@@ -70,6 +70,7 @@ Client library usage documentation for histograms:
* [Go](http://godoc.org/github.com/prometheus/client_golang/prometheus#Histogram)
* [Java](https://github.com/prometheus/client_java/blob/master/simpleclient/src/main/java/io/prometheus/client/Histogram.java)
* [Python](https://github.com/prometheus/client_python#histogram)
* [Ruby](https://github.com/prometheus/client_ruby#histogram)
## Summary
......@@ -93,5 +94,5 @@ Client library usage documentation for summaries:
* [Go](http://godoc.org/github.com/prometheus/client_golang/prometheus#Summary)
* [Java](https://github.com/prometheus/client_java/blob/master/simpleclient/src/main/java/io/prometheus/client/Summary.java)
* [Ruby](https://github.com/prometheus/client_ruby#summary)
* [Python](https://github.com/prometheus/client_python#summary)
* [Ruby](https://github.com/prometheus/client_ruby#summary)
......@@ -15,11 +15,10 @@ use case.
First of all, check the library support for
[histograms](/docs/concepts/metric_types/#histogram) and
[summaries](/docs/concepts/metric_types/#summary). Full support for
both currently only exists in the Go client library. Many libraries
support only one of the two types, or they support summaries only in a
limited fashion (lacking [quantile
calculation](#quantiles)).
[summaries](/docs/concepts/metric_types/#summary).
Some libraries support only one of the two types, or they support summaries
only in a limited fashion (lacking [quantile calculation](#quantiles)).
## Count and sum of observations
......@@ -226,6 +225,4 @@ Two rules of thumb:
Implement it! [Code contributions are welcome](/community/). In general, we
expect histograms to be more urgently needed than summaries. Histograms are
also easier to implement in a client library, so we recommend to implement
histograms first, if in doubt. The reason why some libraries offer summaries
but not histograms (such as the Ruby client) is that histograms are a more
recent feature of Prometheus.
histograms first, if in doubt.
......@@ -60,7 +60,7 @@ layout: jumbotron
<div class="col-md-3 col-sm-6 col-xs-12 feature-item">
<a href="/docs/instrumenting/clientlibs/">
<h2><i class="fa fa-code"></i> Many client libraries</h2>
<p>Client libraries allow easy instrumentation of services. Currently, Go, Java, and Ruby are supported. Custom libraries are easy to implement.</p>
<p>Client libraries allow easy instrumentation of services. Over ten languages are supported already and custom libraries are easy to implement.</p>
</a>
</div>
<div class="col-md-3 col-sm-6 col-xs-12 feature-item">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment