Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Prometheus instrumentation library for Go applications

License

NotificationsYou must be signed in to change notification settings

prometheus/client_golang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

CIGo Report CardGo ReferenceOpenSSF ScorecardSlack

This is theGo client library forPrometheus. It has two separate parts, one forinstrumenting application code, and one for creating clients that talk to thePrometheus HTTP API.

Version Compatibility

This library supports the two most recent major releases of Go. While it may function with older versions, we only provide fixes and support for the currently supported Go releases.

Note

See ourRelease Process for details on compatibility and support policies.

Important note about releases and stability

This repository generally followsSemanticVersioning. However, the API client inprometheus/client_golang/api/… is still considered experimental. Breakingchanges of the API client willnot trigger a new major release. The same istrue for selected other new features explicitly marked asEXPERIMENTAL inCHANGELOG.md.

Features that require breaking changes in the stable parts of the repositoryare being batched up and tracked in thev2milestone, but plans for further development of v2 at the moment.

NOTE: The initial v2 attempt is in aseparate branch. We also startedexperimenting on a newprometheus.V2.* APIs inthe 1.x's V2 struct. Help wanted!

Instrumenting applications

Go Reference

Theprometheus directorycontains the instrumentation library. See theguide on the Prometheuswebsite to learn more about instrumenting applications.

Theexamples directorycontains simple examples of instrumented code.

Client for the Prometheus HTTP API

Go Reference

Theapi/prometheus directorycontains the client for thePrometheus HTTP API. It allows youto write Go applications that query time series data from a Prometheusserver. It is still in alpha stage.

Where ismodel,extraction, andtext?

Themodel packages has been moved toprometheus/common/model.

Theextraction andtext packages are now contained inprometheus/common/expfmt.

Contributing and community

See thecontributing guidelines and theCommunity section of the homepage.

client_golang community is also present on the CNCF Slack#prometheus-client_golang.


[8]ページ先頭

©2009-2025 Movatter.jp