GithubHelp home page GithubHelp logo

jtroy / client_model Goto Github PK

View Code? Open in Web Editor NEW

This project forked from prometheus/client_model

0.0 0.0 0.0 209 KB

Data model artifacts for Prometheus.

Home Page: http://prometheus.io

License: Apache License 2.0

Makefile 100.00%

client_model's Introduction

(If you are reading this because you are interested in Prometheus's native histograms, pay special attention to the last paragraph below.)

Deprecation note

This repository used to contain the protocol buffer code that defined both the data model and the exposition format of Prometheus metrics.

Starting with v2.0.0, the Prometheus server does not ingest the protobuf-based exposition format anymore. Currently, all but one of the official instrumentation libraries do not expose the protobuf-based exposition format. The Go instrumentation library, 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 directly using the prometheus/client_model repository.

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 to keep using the old code, or you can consume metrics.proto directly with your own protobuf tooling. Note, however, that changes of metrics.proto after commit 14fe0d1 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.

Check out the OpenMetrics project for the future of the data model and exposition format used by Prometheus and others.

Note, though, that in an ironic twist of fate, the protobuf-based exposition format got revived to ease the implementation of experimental support for native histograms in Prometheus. Therefore, starting with v2.40.0, the Prometheus server is again capable of ingesting the protobuf-based exposition format (if the respective feature flag is enabled). Eventually, native histogram support will be added in some form to OpenMetrics, too.

client_model's People

Contributors

beorn7 avatar matttproud avatar prombot avatar brian-brazil avatar kakkoyun avatar grobie avatar andrew-su avatar flier avatar roidelapluie avatar koreptarafal avatar samwhited avatar bufdev avatar juliusv avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.