summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/prometheus/client_model/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/prometheus/client_model/ruby')
-rw-r--r--vendor/github.com/prometheus/client_model/ruby/.gitignore5
-rw-r--r--vendor/github.com/prometheus/client_model/ruby/Gemfile4
-rw-r--r--vendor/github.com/prometheus/client_model/ruby/Makefile17
-rw-r--r--vendor/github.com/prometheus/client_model/ruby/README.md31
-rw-r--r--vendor/github.com/prometheus/client_model/ruby/Rakefile1
-rw-r--r--vendor/github.com/prometheus/client_model/ruby/prometheus-client-model.gemspec22
6 files changed, 0 insertions, 80 deletions
diff --git a/vendor/github.com/prometheus/client_model/ruby/.gitignore b/vendor/github.com/prometheus/client_model/ruby/.gitignore
deleted file mode 100644
index 8442a4709..000000000
--- a/vendor/github.com/prometheus/client_model/ruby/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-*.gem
-.bundle
-Gemfile.lock
-pkg
-vendor/bundle
diff --git a/vendor/github.com/prometheus/client_model/ruby/Gemfile b/vendor/github.com/prometheus/client_model/ruby/Gemfile
deleted file mode 100644
index 1ff638cdc..000000000
--- a/vendor/github.com/prometheus/client_model/ruby/Gemfile
+++ /dev/null
@@ -1,4 +0,0 @@
-source 'https://rubygems.org'
-
-# Specify your gem's dependencies in prometheus-client-model.gemspec
-gemspec
diff --git a/vendor/github.com/prometheus/client_model/ruby/Makefile b/vendor/github.com/prometheus/client_model/ruby/Makefile
deleted file mode 100644
index 09d544bf0..000000000
--- a/vendor/github.com/prometheus/client_model/ruby/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-VENDOR_BUNDLE = vendor/bundle
-
-build: $(VENDOR_BUNDLE)/.bundled
- BEEFCAKE_NAMESPACE=Prometheus::Client protoc --beefcake_out lib/prometheus/client/model -I .. ../metrics.proto
-
-$(VENDOR_BUNDLE):
- mkdir -p $@
-
-$(VENDOR_BUNDLE)/.bundled: $(VENDOR_BUNDLE) Gemfile
- bundle install --quiet --path $<
- @touch $@
-
-clean:
- -rm -f lib/prometheus/client/model/metrics.pb.rb
- -rm -rf $(VENDOR_BUNDLE)
-
-.PHONY: build clean
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
diff --git a/vendor/github.com/prometheus/client_model/ruby/Rakefile b/vendor/github.com/prometheus/client_model/ruby/Rakefile
deleted file mode 100644
index 29955274e..000000000
--- a/vendor/github.com/prometheus/client_model/ruby/Rakefile
+++ /dev/null
@@ -1 +0,0 @@
-require "bundler/gem_tasks"
diff --git a/vendor/github.com/prometheus/client_model/ruby/prometheus-client-model.gemspec b/vendor/github.com/prometheus/client_model/ruby/prometheus-client-model.gemspec
deleted file mode 100644
index 438ba127e..000000000
--- a/vendor/github.com/prometheus/client_model/ruby/prometheus-client-model.gemspec
+++ /dev/null
@@ -1,22 +0,0 @@
-# coding: utf-8
-lib = File.expand_path('../lib', __FILE__)
-$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
-require 'prometheus/client/model/version'
-
-Gem::Specification.new do |spec|
- spec.name = 'prometheus-client-model'
- spec.version = Prometheus::Client::Model::VERSION
- spec.authors = ['Tobias Schmidt']
- spec.email = ['tobidt@gmail.com']
- spec.summary = 'Data model artifacts for the Prometheus Ruby client'
- spec.homepage = 'https://github.com/prometheus/client_model/tree/master/ruby'
- spec.license = 'Apache 2.0'
-
- spec.files = %w[README.md LICENSE] + Dir.glob('{lib/**/*}')
- spec.require_paths = ['lib']
-
- spec.add_dependency 'beefcake', '>= 0.4.0'
-
- spec.add_development_dependency 'bundler', '~> 1.3'
- spec.add_development_dependency 'rake'
-end