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: ...@@ -23,8 +23,8 @@ Client library usage documentation for counters:
* [Go](http://godoc.org/github.com/prometheus/client_golang/prometheus#Counter) * [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) * [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) * [Python](https://github.com/prometheus/client_python#counter)
* [Ruby](https://github.com/prometheus/client_ruby#counter)
## Gauge ## Gauge
...@@ -39,8 +39,8 @@ Client library usage documentation for gauges: ...@@ -39,8 +39,8 @@ Client library usage documentation for gauges:
* [Go](http://godoc.org/github.com/prometheus/client_golang/prometheus#Gauge) * [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) * [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) * [Python](https://github.com/prometheus/client_python#gauge)
* [Ruby](https://github.com/prometheus/client_ruby#gauge)
## Histogram ## Histogram
...@@ -70,6 +70,7 @@ Client library usage documentation for histograms: ...@@ -70,6 +70,7 @@ Client library usage documentation for histograms:
* [Go](http://godoc.org/github.com/prometheus/client_golang/prometheus#Histogram) * [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) * [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) * [Python](https://github.com/prometheus/client_python#histogram)
* [Ruby](https://github.com/prometheus/client_ruby#histogram)
## Summary ## Summary
...@@ -93,5 +94,5 @@ Client library usage documentation for summaries: ...@@ -93,5 +94,5 @@ Client library usage documentation for summaries:
* [Go](http://godoc.org/github.com/prometheus/client_golang/prometheus#Summary) * [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) * [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) * [Python](https://github.com/prometheus/client_python#summary)
* [Ruby](https://github.com/prometheus/client_ruby#summary)
...@@ -15,11 +15,10 @@ use case. ...@@ -15,11 +15,10 @@ use case.
First of all, check the library support for First of all, check the library support for
[histograms](/docs/concepts/metric_types/#histogram) and [histograms](/docs/concepts/metric_types/#histogram) and
[summaries](/docs/concepts/metric_types/#summary). Full support for [summaries](/docs/concepts/metric_types/#summary).
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 Some libraries support only one of the two types, or they support summaries
limited fashion (lacking [quantile only in a limited fashion (lacking [quantile calculation](#quantiles)).
calculation](#quantiles)).
## Count and sum of observations ## Count and sum of observations
...@@ -226,6 +225,4 @@ Two rules of thumb: ...@@ -226,6 +225,4 @@ Two rules of thumb:
Implement it! [Code contributions are welcome](/community/). In general, we Implement it! [Code contributions are welcome](/community/). In general, we
expect histograms to be more urgently needed than summaries. Histograms are expect histograms to be more urgently needed than summaries. Histograms are
also easier to implement in a client library, so we recommend to implement 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 histograms first, if in doubt.
but not histograms (such as the Ruby client) is that histograms are a more
recent feature of Prometheus.
...@@ -60,7 +60,7 @@ layout: jumbotron ...@@ -60,7 +60,7 @@ layout: jumbotron
<div class="col-md-3 col-sm-6 col-xs-12 feature-item"> <div class="col-md-3 col-sm-6 col-xs-12 feature-item">
<a href="/docs/instrumenting/clientlibs/"> <a href="/docs/instrumenting/clientlibs/">
<h2><i class="fa fa-code"></i> Many client libraries</h2> <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> </a>
</div> </div>
<div class="col-md-3 col-sm-6 col-xs-12 feature-item"> <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