summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/prometheus/client_model/ruby/README.md
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2018-04-16 05:37:14 -0700
committerJoram Wilander <jwawilander@gmail.com>2018-04-16 08:37:14 -0400
commit6e2cb00008cbf09e556b00f87603797fcaa47e09 (patch)
tree3c0eb55ff4226a3f024aad373140d1fb860a6404 /vendor/github.com/prometheus/client_model/ruby/README.md
parentbf24f51c4e1cc6286885460672f7f449e8c6f5ef (diff)
downloadchat-6e2cb00008cbf09e556b00f87603797fcaa47e09.tar.gz
chat-6e2cb00008cbf09e556b00f87603797fcaa47e09.tar.bz2
chat-6e2cb00008cbf09e556b00f87603797fcaa47e09.zip
Depenancy upgrades and movign to dep. (#8630)
Diffstat (limited to 'vendor/github.com/prometheus/client_model/ruby/README.md')
-rw-r--r--vendor/github.com/prometheus/client_model/ruby/README.md31
1 files changed, 0 insertions, 31 deletions
diff --git a/vendor/github.com/prometheus/client_model/ruby/README.md b/vendor/github.com/prometheus/client_model/ruby/README.md
deleted file mode 100644
index c45fcc7a9..000000000
--- a/vendor/github.com/prometheus/client_model/ruby/README.md
+++ /dev/null
@@ -1,31 +0,0 @@
-# Prometheus Ruby client model
-
-Data model artifacts for the [Prometheus Ruby client][1].
-
-## Installation
-
- gem install prometheus-client-model
-
-## Usage
-
-Build the artifacts from the protobuf specification:
-
- make build
-
-While this Gem's main purpose is to define the Prometheus data types for the
-[client][1], it's possible to use it without the client to decode a stream of
-delimited protobuf messages:
-
-```ruby
-require 'open-uri'
-require 'prometheus/client/model'
-
-CONTENT_TYPE = 'application/vnd.google.protobuf; proto=io.prometheus.client.MetricFamily; encoding=delimited'
-
-stream = open('http://localhost:9090/metrics', 'Accept' => CONTENT_TYPE).read
-while family = Prometheus::Client::MetricFamily.read_delimited(stream)
- puts family
-end
-```
-
-[1]: https://github.com/prometheus/client_ruby