-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Comparing changes
Open a pull request
base repository: prometheus/client_golang
base: v1.16.0
head repository: prometheus/client_golang
compare: v1.19.1
Commits on Jun 15, 2023
-
Merge pull request #1293 from prometheus/release-1.16
Merge v1.16.0 to main
Configuration menu - View commit details
-
Copy full SHA for c3fa5a7 - Browse repository at this point
Copy the full SHA c3fa5a7View commit details
Commits on Jun 19, 2023
-
Update common Prometheus files (#1297)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for f6bb79e - Browse repository at this point
Copy the full SHA f6bb79eView commit details -
ci: define minimal permissions to github workflows (#1295)
Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com>
Configuration menu - View commit details
-
Copy full SHA for 553eb4c - Browse repository at this point
Copy the full SHA 553eb4cView commit details
Commits on Jun 27, 2023
-
Do not allocate memory when there's no constraints (#1296)
Signed-off-by: Quentin Devos <4972091+Okhoshi@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 644c80d - Browse repository at this point
Copy the full SHA 644c80dView commit details
Commits on Jul 20, 2023
-
histograms: Small code comment and code formatting improvements
Signed-off-by: beorn7 <beorn@grafana.com>
Configuration menu - View commit details
-
Copy full SHA for f9db382 - Browse repository at this point
Copy the full SHA f9db382View commit details -
histogram: Add a no-op span for an otherwise empty histogram
Fixes #1127. If a native histogram has no observations and a zero threshold of zero, then it is indistinguishable from a classic histogram. To give scrapers a hint that it is indeed a native histogram, we add a no-op span. This needs follow-up PRs in prometheus/prometheus and prometheus/client_model. Signed-off-by: beorn7 <beorn@grafana.com>
Configuration menu - View commit details
-
Copy full SHA for 3d82c94 - Browse repository at this point
Copy the full SHA 3d82c94View commit details
Commits on Jul 26, 2023
-
Bump golang.org/x/sys from 0.8.0 to 0.9.0 (#1306)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.8.0 to 0.9.0. - [Commits](golang/sys@v0.8.0...v0.9.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3b6fb7a - Browse repository at this point
Copy the full SHA 3b6fb7aView commit details -
Bump google.golang.org/grpc from 1.45.0 to 1.53.0 in /tutorial/whatsup (
#1307) Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.45.0 to 1.53.0. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.45.0...v1.53.0) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 98025d8 - Browse repository at this point
Copy the full SHA 98025d8View commit details -
Merge pull request #1314 from prometheus/beorn7/histogram
histogram: Enable detection of a native histogram without observations
Configuration menu - View commit details
-
Copy full SHA for 90b169a - Browse repository at this point
Copy the full SHA 90b169aView commit details -
Bump github.com/prometheus/procfs from 0.10.1 to 0.11.0 (#1305)
Bumps [github.com/prometheus/procfs](https://github.com/prometheus/procfs) from 0.10.1 to 0.11.0. - [Release notes](https://github.com/prometheus/procfs/releases) - [Commits](prometheus/procfs@v0.10.1...v0.11.0) --- updated-dependencies: - dependency-name: github.com/prometheus/procfs dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 6e3b962 - Browse repository at this point
Copy the full SHA 6e3b962View commit details -
Update common Prometheus files (#1302)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for 7f2db5f - Browse repository at this point
Copy the full SHA 7f2db5fView commit details
Commits on Aug 1, 2023
-
Fix data-race in metric without code and method but with `WithLabelFr…
…omCtx` (#1318) This commit fixes a data race that exists when the metric used in any `promhttp` middleware doesn't collect the `code` and `method` but uses `WithLabelFromCtx` to collect values from context. The problem happens because when no `code` and `method` tags are collected, the `labels` function returns a pre-initialized map `emptyLabels` for every request. When one or multipe `WithLabelFromCtx` options are configured, the returned map from the `labels` function call is used to collect the metrics from context which creates a multi-write data race. Signed-off-by: Tiago Silva <tiago.silva@goteleport.com>
Configuration menu - View commit details
-
Copy full SHA for 59c00e3 - Browse repository at this point
Copy the full SHA 59c00e3View commit details -
Add missing tick "`" in README (#1321)
Cosmetic change Signed-off-by: ZiViZiViZ <95288998+ZiViZiViZ@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 23387fe - Browse repository at this point
Copy the full SHA 23387feView commit details -
Bump golang.org/x/sys from 0.9.0 to 0.10.0 (#1320)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.9.0 to 0.10.0. - [Commits](golang/sys@v0.9.0...v0.10.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 99e905a - Browse repository at this point
Copy the full SHA 99e905aView commit details -
Bump github.com/prometheus/procfs from 0.11.0 to 0.11.1 (#1319)
Bumps [github.com/prometheus/procfs](https://github.com/prometheus/procfs) from 0.11.0 to 0.11.1. - [Release notes](https://github.com/prometheus/procfs/releases) - [Commits](prometheus/procfs@v0.11.0...v0.11.1) --- updated-dependencies: - dependency-name: github.com/prometheus/procfs dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for e6d9092 - Browse repository at this point
Copy the full SHA e6d9092View commit details
Commits on Aug 5, 2023
-
docs: trivial grammar fixes to improve readability
Fix a few typos / grammatical errors in the Godoc comments for promauto. Only trivial stuff but slightly helps readability of the docs. Signed-off-by: Chris Banks <chris.banks@digital.cabinet-office.gov.uk>
Configuration menu - View commit details
-
Copy full SHA for f16b435 - Browse repository at this point
Copy the full SHA f16b435View commit details
Commits on Aug 8, 2023
-
Merge pull request #1322 from sengi/docs
docs: trivial grammar fixes to improve readability in promauto Godoc
Configuration menu - View commit details
-
Copy full SHA for cdd7f45 - Browse repository at this point
Copy the full SHA cdd7f45View commit details
Commits on Aug 11, 2023
-
* Add Go 1.21 support Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com> * Update README.md Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com> --------- Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 06d4592 - Browse repository at this point
Copy the full SHA 06d4592View commit details -
Bump prometheus/client_model (#1323)
By upgrading prometheus/client_model, several test functions had to be re-written due to 2 breaking changes made in protobuf when parsing messages to text: 1. '<' and '>' characters were replaced with '{' and '}' respectively. 2. The text format is non-deterministic. More information in golang/protobuf#1121 Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
Configuration menu - View commit details
-
Copy full SHA for 1a88780 - Browse repository at this point
Copy the full SHA 1a88780View commit details
Commits on Aug 13, 2023
-
histogram docs: Fixed minor nit. (#1324)
Signed-off-by: bwplotka <bwplotka@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6f576e2 - Browse repository at this point
Copy the full SHA 6f576e2View commit details
Commits on Aug 14, 2023
-
* Remove unused / non-standard .go-version. * Cleanup indenting in Makefile. * Enable dependabot for subdirs. * Update golanci-lint CI. * Update go.mod version directives to match supported versions. * Disable golanci-lint unused-parameter. Signed-off-by: SuperQ <superq@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4abd83d - Browse repository at this point
Copy the full SHA 4abd83dView commit details -
Bump github.com/prometheus/client_golang in /examples/middleware
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.13.1 to 1.16.0. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](v1.13.1...v1.16.0) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 0e33cf9 - Browse repository at this point
Copy the full SHA 0e33cf9View commit details -
Bump github.com/prometheus/client_golang in /tutorial/whatsup
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.15.1-0.20230416215738-0963f595c689 to 1.16.0. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](https://github.com/prometheus/client_golang/commits/v1.16.0) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 390448f - Browse repository at this point
Copy the full SHA 390448fView commit details -
Bump golang.org/x/sys from 0.10.0 to 0.11.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.10.0 to 0.11.0. - [Commits](golang/sys@v0.10.0...v0.11.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for f215f75 - Browse repository at this point
Copy the full SHA f215f75View commit details -
Merge pull request #1331 from prometheus/dependabot/go_modules/golang…
….org/x/sys-0.11.0 Bump golang.org/x/sys from 0.10.0 to 0.11.0
Configuration menu - View commit details
-
Copy full SHA for 301a7bd - Browse repository at this point
Copy the full SHA 301a7bdView commit details -
Merge pull request #1329 from prometheus/dependabot/go_modules/tutori…
…al/whatsup/github.com/prometheus/client_golang-1.16.0 Bump github.com/prometheus/client_golang from 1.15.1-0.20230416215738-0963f595c689 to 1.16.0 in /tutorial/whatsup
Configuration menu - View commit details
-
Copy full SHA for adb0180 - Browse repository at this point
Copy the full SHA adb0180View commit details -
Merge pull request #1328 from prometheus/dependabot/go_modules/exampl…
…es/middleware/github.com/prometheus/client_golang-1.16.0 Bump github.com/prometheus/client_golang from 1.13.1 to 1.16.0 in /examples/middleware
Configuration menu - View commit details
-
Copy full SHA for fa04b7b - Browse repository at this point
Copy the full SHA fa04b7bView commit details -
Bump github.com/prometheus/common in /tutorial/whatsup
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.42.0 to 0.44.0. - [Release notes](https://github.com/prometheus/common/releases) - [Commits](prometheus/common@v0.42.0...v0.44.0) --- updated-dependencies: - dependency-name: github.com/prometheus/common dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 802a963 - Browse repository at this point
Copy the full SHA 802a963View commit details -
Bump github.com/prometheus/common from 0.42.0 to 0.44.0
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.42.0 to 0.44.0. - [Release notes](https://github.com/prometheus/common/releases) - [Commits](prometheus/common@v0.42.0...v0.44.0) --- updated-dependencies: - dependency-name: github.com/prometheus/common dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 85f4592 - Browse repository at this point
Copy the full SHA 85f4592View commit details -
Merge pull request #1284 from prometheus/dependabot/go_modules/github…
….com/prometheus/common-0.44.0 Bump github.com/prometheus/common from 0.42.0 to 0.44.0
Configuration menu - View commit details
-
Copy full SHA for f58d0fd - Browse repository at this point
Copy the full SHA f58d0fdView commit details -
Merge pull request #1330 from prometheus/dependabot/go_modules/tutori…
…al/whatsup/github.com/prometheus/common-0.44.0 Bump github.com/prometheus/common from 0.42.0 to 0.44.0 in /tutorial/whatsup
Configuration menu - View commit details
-
Copy full SHA for 760a55a - Browse repository at this point
Copy the full SHA 760a55aView commit details -
Bump google.golang.org/protobuf from 1.30.0 to 1.31.0
Bumps google.golang.org/protobuf from 1.30.0 to 1.31.0. --- updated-dependencies: - dependency-name: google.golang.org/protobuf dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 8483c5d - Browse repository at this point
Copy the full SHA 8483c5dView commit details -
Merge pull request #1304 from prometheus/dependabot/go_modules/google…
….golang.org/protobuf-1.31.0 Bump google.golang.org/protobuf from 1.30.0 to 1.31.0
Configuration menu - View commit details
-
Copy full SHA for c17edf0 - Browse repository at this point
Copy the full SHA c17edf0View commit details
Commits on Aug 15, 2023
-
Update common Prometheus files (#1332)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for 51d24f8 - Browse repository at this point
Copy the full SHA 51d24f8View commit details
Commits on Sep 3, 2023
-
Update common Prometheus files (#1338)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Configuration menu - View commit details
-
Copy full SHA for ca6ba04 - Browse repository at this point
Copy the full SHA ca6ba04View commit details -
Cleanup golangci-lint errcheck (#1339)
Move the errcheck excludes list from an external file to inline in the golangci-lint config file. Signed-off-by: SuperQ <superq@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d03abf3 - Browse repository at this point
Copy the full SHA d03abf3View commit details
Commits on Sep 21, 2023
-
Add go_godebug_non_default_behavior_tlsmaxrsasize_events_total (#1348)
Signed-off-by: Oleksandr Redko <Oleksandr_Redko@epam.com>
Configuration menu - View commit details
-
Copy full SHA for 74cc262 - Browse repository at this point
Copy the full SHA 74cc262View commit details -
Extend Counters, Summaries and Histograms with creation timestamp (#1313
) * Extend Counters, Summaries and Histograms with creation timestamp Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com> * Backport created timestamp to existing tests Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com> * Last touches (readability and consistency) Changes: * Comments for "now" are more explicit and not inlined. * populateMetrics is simpler and bit more efficient without timestamp to time to timestamp conversionts for more common code. * Test consistency and simplicity - the fewer variables the better. * Fixed inconsistency for v2 and MetricVec - let's pass opt.now consistently. * We don't need TestCounterXXXTimestamp - we test CT in many other places already. * Added more involved test for counter vectors with created timestamp. * Refactored normalization for simplicity. * Make histogram, summaries now consistent. * Simplified histograms CT flow and implemented proper CT on reset. TODO for next PRs: * NewConstSummary and NewConstHistogram - ability to specify CTs there. Signed-off-by: bwplotka <bwplotka@gmail.com> * Update prometheus/counter_test.go Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com> Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com> --------- Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com> Signed-off-by: bwplotka <bwplotka@gmail.com> Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com> Co-authored-by: bwplotka <bwplotka@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for df7fa49 - Browse repository at this point
Copy the full SHA df7fa49View commit details -
Fix typos in comments, tests, and errors (#1346)
Signed-off-by: Oleksandr Redko <Oleksandr_Redko@epam.com>
Configuration menu - View commit details
-
Copy full SHA for bbab8fe - Browse repository at this point
Copy the full SHA bbab8feView commit details -
Deprecated comment should begin with "Deprecated:" (#1347)
See https://go.dev/blog/godoc Signed-off-by: Oleksandr Redko <Oleksandr_Redko@epam.com>
Configuration menu - View commit details
-
Copy full SHA for 1bae6c1 - Browse repository at this point
Copy the full SHA 1bae6c1View commit details
Commits on Sep 30, 2023
-
Add changelog entry for 1.17 (#1353)
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
Arthur Silva Sens authoredSep 30, 2023 Configuration menu - View commit details
-
Copy full SHA for 3278043 - Browse repository at this point
Copy the full SHA 3278043View commit details
Commits on Oct 1, 2023
-
Bump github.com/prometheus/client_golang in /examples/middleware
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.16.0 to 1.17.0. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](v1.16.0...v1.17.0) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for e43edfc - Browse repository at this point
Copy the full SHA e43edfcView commit details -
Bump github.com/prometheus/client_golang in /tutorial/whatsup
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.16.0 to 1.17.0. - [Release notes](https://github.com/prometheus/client_golang/releases) - [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md) - [Commits](v1.16.0...v1.17.0) --- updated-dependencies: - dependency-name: github.com/prometheus/client_golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 1844c50 - Browse repository at this point
Copy the full SHA 1844c50View commit details
Commits on Oct 2, 2023
-
Merge pull request #1355 from prometheus/dependabot/go_modules/exampl…
…es/middleware/github.com/prometheus/client_golang-1.17.0 Bump github.com/prometheus/client_golang from 1.16.0 to 1.17.0 in /examples/middleware
Arthur Silva Sens authoredOct 2, 2023 Configuration menu - View commit details
-
Copy full SHA for 40c7d2f - Browse repository at this point
Copy the full SHA 40c7d2fView commit details -
Merge pull request #1358 from prometheus/dependabot/go_modules/tutori…
…al/whatsup/github.com/prometheus/client_golang-1.17.0 Bump github.com/prometheus/client_golang from 1.16.0 to 1.17.0 in /tutorial/whatsup
Arthur Silva Sens authoredOct 2, 2023 Configuration menu - View commit details
-
Copy full SHA for 4c10365 - Browse repository at this point
Copy the full SHA 4c10365View commit details
Commits on Oct 4, 2023
-
Configure CI to automerge dependabot PRs (#1359)
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
Arthur Silva Sens authoredOct 4, 2023 Configuration menu - View commit details
-
Copy full SHA for 22540dc - Browse repository at this point
Copy the full SHA 22540dcView commit details -
Bump golang.org/x/sys from 0.11.0 to 0.12.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.11.0 to 0.12.0. - [Commits](golang/sys@v0.11.0...v0.12.0) --- updated-dependencies: - dependency-name: golang.org/x/sys dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 7004b66 - Browse repository at this point
Copy the full SHA 7004b66View commit details -
Merge pull request #1357 from prometheus/dependabot/go_modules/golang…
….org/x/sys-0.12.0 Bump golang.org/x/sys from 0.11.0 to 0.12.0
Configuration menu - View commit details
-
Copy full SHA for 556bf30 - Browse repository at this point
Copy the full SHA 556bf30View commit details -
Bump github.com/prometheus/procfs from 0.11.1 to 0.12.0
Bumps [github.com/prometheus/procfs](https://github.com/prometheus/procfs) from 0.11.1 to 0.12.0. - [Release notes](https://github.com/prometheus/procfs/releases) - [Commits](prometheus/procfs@v0.11.1...v0.12.0) --- updated-dependencies: - dependency-name: github.com/prometheus/procfs dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for 87a016c - Browse repository at this point
Copy the full SHA 87a016cView commit details -
Merge pull request #1356 from prometheus/dependabot/go_modules/github…
….com/prometheus/procfs-0.12.0 Bump github.com/prometheus/procfs from 0.11.1 to 0.12.0
Configuration menu - View commit details
-
Copy full SHA for dac14aa - Browse repository at this point
Copy the full SHA dac14aaView commit details
There are no files selected for viewing
This file was deleted.