Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
docs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
docs
Commits
f73041db
Commit
f73041db
authored
Aug 08, 2016
by
Tobias Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ruby support for histograms
parent
328137e3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
12 deletions
+10
-12
metric_types.md
content/docs/concepts/metric_types.md
+4
-3
histograms.md
content/docs/practices/histograms.md
+5
-8
index.html
content/index.html
+1
-1
No files found.
content/docs/concepts/metric_types.md
View file @
f73041db
...
...
@@ -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
)
content/docs/practices/histograms.md
View file @
f73041db
...
...
@@ -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.
content/index.html
View file @
f73041db
...
...
@@ -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. C
ustom libraries are easy to implement.
</p>
<p>
Client libraries allow easy instrumentation of services.
Over ten languages are supported already and c
ustom libraries are easy to implement.
</p>
</a>
</div>
<div
class=
"col-md-3 col-sm-6 col-xs-12 feature-item"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment