vendor: bump prometheus/client_model v0.1.0
full diff: 99fa1f4be8...v0.1.0
- prometheus/client_model#22 add `go_package`, regenerate Go binding file
- prometheus/client_model#31 Support Go Modules
- prometheus/client_model#38 Remove all languages but Go and add a deprecation note
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
52
vendor/github.com/prometheus/client_model/README.md
generated
vendored
52
vendor/github.com/prometheus/client_model/README.md
generated
vendored
@@ -1,26 +1,34 @@
|
||||
# Background
|
||||
Under most circumstances, manually downloading this repository should never
|
||||
be required.
|
||||
# Deprecation note
|
||||
|
||||
# Prerequisites
|
||||
# Base
|
||||
* [Google Protocol Buffers](https://developers.google.com/protocol-buffers)
|
||||
This repository used to contain the [protocol
|
||||
buffer](https://developers.google.com/protocol-buffers) code that defined both
|
||||
the data model and the exposition format of Prometheus metrics.
|
||||
|
||||
## Java
|
||||
* [Apache Maven](http://maven.apache.org)
|
||||
* [Prometheus Maven Repository](https://github.com/prometheus/io.prometheus-maven-repository) checked out into ../io.prometheus-maven-repository
|
||||
Starting with v2.0.0, the [Prometheus
|
||||
server](https://github.com/prometheus/prometheus) does not ingest the
|
||||
protobuf-based exposition format anymore. Currently, all but one of the
|
||||
[official instrumentation
|
||||
libraries](https://prometheus.io/docs/instrumenting/clientlibs/) do not expose
|
||||
the protobuf-based exposition format. The [Go instrumentation
|
||||
library](https://github.com/prometheus/client_golang), however, has been built
|
||||
around the protobuf-based data model. As a byproduct thereof, it is still able
|
||||
to expose the protobuf-based exposition format. The Go instrumentation library
|
||||
is the only remaining repository within the [Prometheus GitHub
|
||||
org](https://github.com/prometheus) directly using the prometheus/client_model
|
||||
repository.
|
||||
|
||||
## Go
|
||||
* [Go](http://golang.org)
|
||||
* [goprotobuf](https://code.google.com/p/goprotobuf)
|
||||
Therefore, formerly existing support for languages other than Go (namely C++,
|
||||
Java, Python, Ruby) has been removed from this repository. If you are a 3rd
|
||||
party user of those languages, you can go back to [commit
|
||||
14fe0d1](https://github.com/prometheus/client_model/commit/14fe0d1b01d4d5fc031dd4bec1823bd3ebbe8016)
|
||||
to keep using the old code, or you can consume
|
||||
[`metrics.proto`](https://github.com/prometheus/client_model/blob/master/metrics.proto)
|
||||
directly with your own protobuf tooling. Note, however, that changes of
|
||||
`metrics.proto` after [commit
|
||||
14fe0d1](https://github.com/prometheus/client_model/commit/14fe0d1b01d4d5fc031dd4bec1823bd3ebbe8016)
|
||||
are solely informed by requirements of the Go instrumentation library and will
|
||||
not take into account any requirements of other languages or stability concerns
|
||||
for the protobuf-based exposition format.
|
||||
|
||||
## Ruby
|
||||
* [Ruby](https://www.ruby-lang.org)
|
||||
* [bundler](https://rubygems.org/gems/bundler)
|
||||
|
||||
# Building
|
||||
$ make
|
||||
|
||||
# Getting Started
|
||||
* The Go source code is periodically indexed: [Go Protocol Buffer Model](http://godoc.org/github.com/prometheus/client_model/go).
|
||||
* All of the core developers are accessible via the [Prometheus Developers Mailinglist](https://groups.google.com/forum/?fromgroups#!forum/prometheus-developers).
|
||||
Check out the [OpenMetrics project](https://openmetrics.io/) for the future of
|
||||
the data model and exposition format used by Prometheus and others.
|
||||
|
||||
Reference in New Issue
Block a user