vcswatch reports that
this package seems to have a new changelog entry (version
0.67.4-1, distribution
unstable) and new commits
in its VCS. You should consider whether it's time to make
an upload.
Here are the relevant commit messages:
commit 9b75a0458abdf3b68c1bbbcc0ea071bb725192dd
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Tue Dec 30 14:03:16 2025 +0100
Release golang-github-prometheus-common 0.67.4-1
commit 1a954da922ca4238a3fe37540d539fd6c1045962
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Tue Dec 30 14:08:37 2025 +0100
Bump Breaks golang-github-prometheus-client-golang constraint
commit 2f4ec2df639350b3b51809e86124c43dd4331cd4
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Tue Dec 30 14:01:57 2025 +0100
Update Build-Depends / Depends
commit 09b0e5e99f995b6baa1fba24efcc6f79019f26b1
Merge: 7aa5b34 d80d854
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Tue Dec 30 13:54:24 2025 +0100
Update upstream source from tag 'upstream/0.67.4'
Update to upstream version '0.67.4'
with Debian dir b67e2d201d1b5abef96e0bde766008ae27024e6b
commit 7aa5b34b776e13be04cdcbc8def554c0566bb0ef
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Mon Aug 18 15:12:39 2025 +0200
Release golang-github-prometheus-common 0.65.0-1
commit 66e77550b7cf111a8e9ef8464fff88f73dfb0af2
Merge: deb947f 75c3814
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Mon Aug 18 15:09:13 2025 +0200
Update upstream source from tag 'upstream/0.65.0'
Update to upstream version '0.65.0'
with Debian dir 7d35fc3aa01e1eb7159c0e2d0d00e1319eccf309
commit deb947f0cbfe2ff4efcd9a941847b4e901a5b162
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Mon Aug 18 14:43:01 2025 +0200
d/control: add Breaks victoriametrics (<< 1.112.0+ds1-3~)
commit 0ebe92dbe807d7d505e7e668f1a876737b0536a5
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Mon Aug 18 14:12:50 2025 +0200
d/control: add Breaks golang-github-uber-go-tally-dev (<< 4.1.16-2~)
commit 1c6cc3618572c813cf0c5006a5550161ef62a1bd
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Mon Aug 18 13:33:07 2025 +0200
d/control: add Breaks golang-opentelemetry-otel-dev (<< 1.31.0-5~)
commit 0a4bee60d63bbcbb812ccd1c27bc7db5ef10a416
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Thu Aug 14 22:21:57 2025 +0200
d/control: bump Breaks prometheus-alertmanager version constraint
commit 40cff1421db3da06ebeace7df9de1422548386d5
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Thu Aug 14 14:23:00 2025 +0200
Release golang-github-prometheus-common 0.63.0-2
commit aa21877a01440c7b39d9d8c91990ff69a419a7f6
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Thu Aug 14 14:20:44 2025 +0200
d/control: add Breaks golang-github-prometheus-exporter-toolkit-dev (<< 0.14.0-2~)
commit 763c88bace70b1dbcca99ce4789fb6c801a393fa
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Wed Aug 13 13:56:50 2025 +0200
Release golang-github-prometheus-common 0.63.0-1
commit e8cbbe6380587ea7a4d1ce42a331b1cd47e6083d
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Wed Aug 13 13:49:07 2025 +0200
Bump Standards-Version to 4.7.2 (no changes)
commit d9a53ad275fae85c7952f824f99e30f965ee5d1f
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Wed Aug 13 13:44:18 2025 +0200
Drop unused golang-github-aws-aws-sdk-go-dev dependency
commit 9c5ee01b1e12d7342034be7ee719d96d158138c2
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Wed Aug 13 13:43:13 2025 +0200
Refresh packaging according to latest dh-make-golang template
commit 11943459342d741aac303a919b4c20539fe3af4e
Merge: d994cc4 cf3c56f
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Wed Aug 13 13:35:40 2025 +0200
Update upstream source from tag 'upstream/0.63.0'
Update to upstream version '0.63.0'
with Debian dir 75642fd4619fe9ef568b226ca31e96fc1b11df33
commit d994cc4e46301703d9e89110642b71a77a8fc976
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Thu Feb 20 01:45:06 2025 +0100
Prepare changelog
commit 69604aee9575618f27294c207fb5d5843eeddf41
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Thu Feb 20 02:22:42 2025 +0100
d/control: update Breaks versions
commit c4f130e4bc643e717339cf233d151e5bd3f8b612
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Thu Feb 20 01:37:24 2025 +0100
Drop unnecessary 0004-Revert-change-default-validation-scheme-to-UTF8Valid.patch
Applications which expect the semantics of prometheus/common v0.61.0 and
earlier can override model.NameValidationScheme to model.LegacyValidation an
their init() function.
commit 754d0be97793cdc8bb3df5c5aa60427f2e0e0433
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Sun Feb 16 10:15:04 2025 +0100
Release golang-github-prometheus-common 0.62.0-3
commit 536d4908532c75203398667e9b3c21e3c8fc86e3
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Sun Feb 16 10:13:25 2025 +0100
Refactor sigv4 package as a wrapper
Instead of patching in an old copy of common/sigv, wrap the
now-available standalone sigv4 package.
commit 4caa87c4af00bb4a7abc382c2359c5cdc68346d0
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Thu Feb 13 02:43:45 2025 +0100
Release golang-github-prometheus-common 0.62.0-2
commit 8a799ee7a4c2810fb4f798d878e60ef5c077ebf0
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Thu Feb 13 02:42:46 2025 +0100
Add new 0004-Revert-change-default-validation-scheme-to-UTF8Valid.patch
commit 26cda7e9824a25c9a37c1a2b76ec7e98d3a59eb7
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Tue Feb 4 00:04:44 2025 +0100
Release golang-github-prometheus-common 0.62.0-1
commit c92ffad3d28134344280ecfa13b900bbc5d2f30e
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Wed Feb 12 16:17:50 2025 +0100
Reinstate obsoleted / dropped packages
commit 99c9b0e0f8e8bb5579143f9528f7cf34a43f2ca8
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Tue Feb 4 00:02:45 2025 +0100
Refresh patches
commit 64b3d2199a2241cd25c2350716f95c3495fdb13b
Merge: a0f2a74 280b0e7
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Tue Feb 4 00:02:11 2025 +0100
Update upstream source from tag 'upstream/0.62.0'
Update to upstream version '0.62.0'
with Debian dir ae42bfa68379e76fadb31df49c76045e85272fb7
commit a0f2a748e83dc56f1667fd468af59a20a0502def
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Fri Dec 6 19:13:24 2024 +0100
Release golang-github-prometheus-common 0.61.0-1
commit 38f0547248d1d522463626a2c284b597429d529f
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Fri Dec 6 19:12:06 2024 +0100
Refresh patches
commit b2d2375551bcb1e3d8d844c884460c7796d39dcb
Merge: 9ef4be7 7b484e9
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Fri Dec 6 19:11:01 2024 +0100
Update upstream source from tag 'upstream/0.61.0'
Update to upstream version '0.61.0'
with Debian dir 19844ff9680ef2633d129498419e5b71e80e518b
commit 9ef4be7c15eb0627a083dc7a3aca0109d563f786
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Thu Oct 31 19:26:17 2024 +0100
Release golang-github-prometheus-common 0.60.1-1
commit 45bd7938ab6542d2b4c8a99c8b3d7c2ba48582ae
Merge: 3781f31 653e0fa
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Thu Oct 31 19:25:00 2024 +0100
Update upstream source from tag 'upstream/0.60.1'
Update to upstream version '0.60.1'
with Debian dir 6ce3cc234b7dd850aa4a2eb3f4a5b4ecf38112af
commit 653e0fa37b474f7af331bbfb409c0f654fb04a94
Author: PrometheusBot <prometheus-team@googlegroups.com>
Date: Mon Oct 14 16:31:27 2024 +0200
Update common Prometheus files (#701)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
commit 0d2e2e509b05032929d08ab69362a58ce540fcb1
Author: Julien <291750+roidelapluie@users.noreply.github.com>
Date: Mon Oct 14 16:31:14 2024 +0200
Reload certificates even when no CA is used (#707)
This commit uses the roundtripper that reloads itself even when there is
no CA, so when keys and certs are reloaded on disk, we have a new
rountripper and we use the new certificates.
Signed-off-by: Julien <roidelapluie@o11y.eu>
commit a9d2e3ff1686621e6f772f7b503b12d242701c48
Merge: dae848d fdc50c7
Author: Julien <291750+roidelapluie@users.noreply.github.com>
Date: Fri Oct 11 16:55:42 2024 +0200
Merge pull request #705 from roidelapluie/sourcefile
promslog: Only log basename, not full path
commit fdc50c720a071b6796bcb5e08c3a1a03cc6ef121
Author: Julien <roidelapluie@o11y.eu>
Date: Tue Oct 8 10:09:02 2024 +0200
promslog: Only log basename, not full path
Signed-off-by: Julien <roidelapluie@o11y.eu>
commit 3781f31994e448d934fa6740d07d6f11a5e6e5c0
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Wed Oct 2 07:32:40 2024 +0200
Release golang-github-prometheus-common 0.60.0-1
commit 3464923d9db7d42c8f361741fff9f2d5fc946817
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Wed Oct 2 07:30:53 2024 +0200
Drop obsolete 0002-Use-UTC-timestamps-in-promslog-go-kit-log-style.patch
commit 9fa676edd7c0cb02c9f84023f96893246788d9af
Merge: bf64a03 dae848d
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Wed Oct 2 07:29:31 2024 +0200
Update upstream source from tag 'upstream/0.60.0'
Update to upstream version '0.60.0'
with Debian dir d9c40667ae9d29291c2c01190a2e18b7bcaf5cf4
commit dae848db5327d2a4e2e06cbe883093a71b4226d7
Author: Ben Kochie <superq@gmail.com>
Date: Tue Oct 1 05:27:50 2024 -0700
Update supported Go versions (#700)
* Update Go minimum to 1.21.
* Update Go tests to 1.23.
* Cleanup old Go 1.21 build flags.
Signed-off-by: SuperQ <superq@gmail.com>
commit 63ff77eeea3cfd552d81d455b44546db75a3b4ac
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun Sep 29 19:30:03 2024 +0200
Bump golang.org/x/oauth2 from 0.22.0 to 0.23.0 (#698)
* Bump golang.org/x/oauth2 from 0.22.0 to 0.23.0
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.22.0 to 0.23.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.22.0...v0.23.0)
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Go mod tidy in sigv4.
Signed-off-by: SuperQ <superq@gmail.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: SuperQ <superq@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: SuperQ <superq@gmail.com>
commit b7aa68c1be77461e7ed0987ee66a288bbaa324ae
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Sun Sep 29 19:17:49 2024 +0200
Bump golang.org/x/net from 0.28.0 to 0.29.0 (#699)
* Bump golang.org/x/net from 0.28.0 to 0.29.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.28.0 to 0.29.0.
- [Commits](https://github.com/golang/net/compare/v0.28.0...v0.29.0)
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Go mod tidy in sigv4.
Signed-off-by: SuperQ <superq@gmail.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: SuperQ <superq@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: SuperQ <superq@gmail.com>
commit 4e3a6fd348a3c764fff5193cd0ee34eea4402318
Author: TJ Hoplock <33664289+tjhop@users.noreply.github.com>
Date: Fri Sep 27 17:19:05 2024 -0400
feat: add `promslog.NewNopLogger()` convenience func (#697)
Simple convenience function to return an slog.Logger that writes to
io.Discard. Originally suggested by @ArthurSens
[here](https://github.com/prometheus/common/pull/686#issuecomment-2336501004),
and requested again by @bboreham
[here](https://github.com/prometheus/prometheus/pull/14906#discussion_r1770597610).
As Bryan points out in the comment, there's 147 instances where a
discard logger is needed, so a consistent utility function to manage
them seems helpful.
Signed-off-by: TJ Hoplock <t.hoplock@gmail.com>
commit d66e745b02ad50e6763ec5a0765aae5014a6c188
Author: Daniel Swarbrick <daniel.swarbrick@gmail.com>
Date: Fri Sep 20 19:25:57 2024 +0200
promslog: use UTC timestamps for go-kit log style (#696)
promlog initialized its go-kit logger to use UTC timestamps, so for true
backwards compatibility, the go-kit log style in promslog should retain
that configuration.
Signed-off-by: Daniel Swarbrick <daniel.swarbrick@gmail.com>
commit bf64a03bd71b8931c19269c4d1d59fb41a133e39
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Fri Sep 20 11:51:31 2024 +0200
Release golang-github-prometheus-common 0.59.1-2
commit 22387e1d3e076d69f314b9a727ca3a46cda37bc3
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Fri Sep 20 11:51:01 2024 +0200
Add new 0002-Use-UTC-timestamps-in-promslog-go-kit-log-style.patch
commit 14bac55a992f7b83ab9d147a041e274606bdb607
Merge: 40d6251 8bc4cd5
Author: Björn Rabenstein <beorn@grafana.com>
Date: Wed Sep 18 17:26:50 2024 +0200
Merge pull request #695 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
commit 8bc4cd530c8efc8bf03840a873542f32b6312f51
Author: prombot <prometheus-team@googlegroups.com>
Date: Tue Sep 17 17:48:25 2024 +0000
Update common Prometheus files
Signed-off-by: prombot <prometheus-team@googlegroups.com>
commit 40d6251261f77cdc4a84219ba6243c0f18974fa6
Merge: fa21dfd 5f9af24
Author: Arthur Silva Sens <arthursens2005@gmail.com>
Date: Sat Sep 14 18:58:25 2024 +0200
Merge pull request #694 from jkroepke/slog/writer
slog: expose io.Writer
commit 12daa55a036e7eda4b7087358c7319d9ecf57a9a
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Sun Sep 8 16:22:29 2024 +0200
Release golang-github-prometheus-common 0.59.1-1
commit 08a618c9e01193628ef33d255ad3783ec94a8779
Merge: 81dce5e be8a747
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Sun Sep 8 16:21:42 2024 +0200
Merge tag 'upstream/0.59.1' into debian/sid
Upstream version 0.59.1
commit fa21dfd5dad43ab57f05cc105efcb9a63e8cf429
Author: PrometheusBot <prometheus-team@googlegroups.com>
Date: Sun Sep 8 08:16:46 2024 +0200
Update common Prometheus files (#692)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
commit 5f9af24b97ade9ab0e4cd6fe811bee084933699c
Author: Jan-Otto Kröpke <mail@jkroepke.de>
Date: Sat Sep 7 23:18:41 2024 +0200
slog: expose io.Writer
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
commit 81dce5e6bf80523bd879cd271b8cdbad42803bf3
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Thu Sep 5 20:42:22 2024 +0200
Release golang-github-prometheus-common 0.57.0-1
commit 5a3c620fe2b13e939d685626ca0e6b40aaac737f
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Thu Sep 5 20:48:29 2024 +0200
Drop obsolete build-dep golang-github-prometheus-client-golang-dev
commit a39b447824fb6c67966ed29e5ec7b29ac8f15d74
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Thu Sep 5 20:45:30 2024 +0200
Refresh patches
commit fb2a19ccf47ef7ade050dad05fc94b3900befaf1
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Thu Sep 5 20:39:14 2024 +0200
Bump golang-any version constraint
Due to the use of the log/slog standard library package, which landed in
Go 1.21, bump golang-any version constraint accordingly.
commit 3464815e036bd8567ecd85d552e1930211e7511f
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Thu Sep 5 20:37:38 2024 +0200
Drop obsolete 0004-Fix-HumanizeTimestamp-32-bit-test-overflows.patch
commit 8a16b60daacb5d063c8a9447c9e06cd02e5ed8c5
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Thu Sep 5 20:35:54 2024 +0200
Drop obsolete 0003-Re-export-unexported-constants-to-ease-migration.patch
commit 0bbcc7c4dc0303247954fb902c294764faa54fba
Merge: 1f3e64e 9bbc9cb
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Thu Sep 5 20:35:14 2024 +0200
Merge tag 'upstream/0.57.0' into debian/sid
Upstream version 0.57.0
commit be8a747a1cf9f34dd301ff4e9f8527262e66c153
Author: Federico Torres <federico.torres@grafana.com>
Date: Thu Sep 5 12:37:36 2024 -0300
fix(utf8): Fix multiple metric name inside braces validation (#691)
* Fix multiple metric name inside braces validation
Signed-off-by: Federico Torres <federico.torres@grafana.com>
---------
Signed-off-by: Federico Torres <federico.torres@grafana.com>
commit bf4843e30aed46215093a79e381b07ba8df96e0a
Merge: 4f8e8f4 01da226
Author: Owen Williams <owen.williams@grafana.com>
Date: Thu Sep 5 08:42:25 2024 -0400
Merge pull request #690 from ywwg/owilliams/default-escaping
Change the default escape method to UnderscoreEscaping
commit 01da22614fd688ce9040f3c72169b09b8104eec1
Author: Owen Williams <owen.williams@grafana.com>
Date: Wed Sep 4 13:19:27 2024 -0400
Change the default escape method to UnderscoreEscaping
fixes https://github.com/prometheus/common/issues/689
Signed-off-by: Owen Williams <owen.williams@grafana.com>
commit 4f8e8f4cacf11e4d69d587e30d99ae7d88cc0878
Author: Owen Williams <owen.williams@grafana.com>
Date: Wed Sep 4 11:04:59 2024 -0400
expfmt: Add WithEscapingScheme to help construct Formats (#688)
expfmt: Add WithEscapingScheme to help construct Formats
Signed-off-by: Owen Williams <owen.williams@grafana.com>
---------
Signed-off-by: Owen Williams <owen.williams@grafana.com>
commit b1880d0dabb633dbf29b999c6a046637efb602fe
Merge: 06c2425 334963d
Author: Julien <291750+roidelapluie@users.noreply.github.com>
Date: Tue Sep 3 12:03:57 2024 +0200
Merge pull request #687 from roidelapluie/checkheader
Remove secret file existence check in Validate for headers
commit 334963d1a28ee07975f6777cf65539ecddb89ae0
Author: Julien <roidelapluie@o11y.eu>
Date: Tue Sep 3 11:12:43 2024 +0200
Change the logic for SetDirectory
Signed-off-by: Julien <roidelapluie@o11y.eu>
commit d64a7472ab6d74cc6b7984cd36f0c5c6129b7a68
Author: Julien <roidelapluie@o11y.eu>
Date: Tue Sep 3 10:46:10 2024 +0200
Remove secret file existence check in Validate for headers
This commit removes the check for the existence of the secret file for
headers in the `Validate` function. The check is not valid for relative
paths since `Validate` is called before `SetDirectory`, which is
responsible for setting up the environment. This change aligns with the
handling of other secret files, which are not checked during config
validation.
Signed-off-by: Julien <roidelapluie@o11y.eu>
commit 06c24259364465e6a0728c58dd1f1c99cc07fc3d
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon Sep 2 11:18:01 2024 +0200
Bump golang.org/x/net from 0.27.0 to 0.28.0 (#685)
Signed-off-by: Ben Kochie <superq@gmail.com>
commit 4606c0a4f9447038e704e4d928b1d0e587e81e63
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon Sep 2 09:19:36 2024 +0200
Bump golang.org/x/oauth2 from 0.21.0 to 0.22.0 (#684)
* Bump golang.org/x/oauth2 from 0.21.0 to 0.22.0
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.21.0...v0.22.0)
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Go mod tidy in sigv4.
Signed-off-by: SuperQ <superq@gmail.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: SuperQ <superq@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: SuperQ <superq@gmail.com>
commit d98411bbf37c7f936cef6d32a6ca965588521b4d
Merge: 9bbc9cb 76549db
Author: Arthur Silva Sens <arthursens2005@gmail.com>
Date: Wed Aug 28 15:07:06 2024 -0300
Merge pull request #683 from tjhop/docs/promslog-README
docs: mention new promslog package in package list in README
commit 76549dbf6c27b70a7f5bcd2305e8395ad1ca504f
Author: TJ Hoplock <t.hoplock@gmail.com>
Date: Wed Aug 28 13:47:23 2024 -0400
docs: mention new promslog package in package list in README
Signed-off-by: TJ Hoplock <t.hoplock@gmail.com>
commit 9bbc9cb5e3685e0dbb85461dde3385509a507550
Merge: 6623230 6ea2584
Author: Arthur Silva Sens <arthursens2005@gmail.com>
Date: Wed Aug 28 14:00:14 2024 -0300
Merge pull request #677 from tjhop/feat/add-promslog-pkg
feat: new promslog and promslog/flag packages to wrap log/slog
commit 6ea2584af7f3a2c136ccf2f7844d9d7015680479
Author: TJ Hoplock <t.hoplock@gmail.com>
Date: Thu Aug 15 00:51:58 2024 -0400
feat: new promslog and promslog/flag packages to wrap log/slog
Prereq for prometheus/prometheus#14355
This adds a new `promslog` package to create an opinionated slog logger
for use within the prometheus ecosystem. By default, logs are written at
`info` level and formatted to add a kv pair for the source caller. If
backwards compatibility for the literal output format of the logging is
required, logs can be styled in a format that is similar to how the
`promlog` package formatted it's go-kit/log output [1]. The `promslog`
package also makes use of an `slog.LevelVar` to dynamically adjust the
level of an existing logger. Similar to the old `promlog` package, we
provide means to log in `logfmt` and `json` output formats.
Creating a logger is similar to the old promlog package -- optionally
populate a `Config` struct, and then call `New()` with the config.
In order to dynamically adjust the logger's level, retain the `Config`
struct as it's own variable to access the `AllowedLevel.Set()` method,
which internally updates the `AllowedLevel`'s slog.LevelVar to the
desired log level. Ex:
```go
config := &promslog.Config{} // Retain as variable if you need to dynamically adjust log level
logger := promslog.New(config)
config.Level.Set("debug")
logger.Debug("your message here", "hello", "world")
```
To use go-kit style log output:
```go
config := &promslog.Config{Style: promslog.GoKitStyle} // Retain as variable if you need to dynamically adjust log level
logger := promslog.New(config)
config.Level.Set("debug")
logger.Debug("your message here", "hello", "world")
```
1. When using the `go-kit` log style, the following changes are made to the
default slog output:
- adjusts slog default timestamp key from `timestamp` -> `ts`
- adjusts the timestamp value to use the same time format string
("2006-01-02T15:04:05.000Z07:00")
- adjusts slog default sourcecode key from `source` -> `caller`
- adjusts the formatting of the sourcecode values to trim paths with
`filepath.Base()`. The formatting of the sourcecode value is similar
to the go-kit/log usage, with the addition of the source function in
parenthesis when debug logging is enabled.
Signed-off-by: TJ Hoplock <t.hoplock@gmail.com>
commit 6623230f2fa6d06f840b03469d6d786172c4a74f
Author: Owen Williams <owen.williams@grafana.com>
Date: Mon Aug 26 12:49:24 2024 -0400
Provide a method for explicitly checking label names for legacy validity. (#682)
This is needed in Prometheus for modes when legacy validation has been explicitly requested but UTF-8 is otherwise enabled.
Signed-off-by: Owen Williams <owen.williams@grafana.com>
commit 19d07967696b0039bc5b76fc1e72f2be289961e1
Author: Arthur Silva Sens <arthursens2005@gmail.com>
Date: Fri Aug 23 12:20:29 2024 -0300
Merge pull request #681 from prometheus/repo_sync
Synchronize common files from prometheus/prometheus
commit 1f3e64e45baf9aa84312252ced40dbcbf8a942bb
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Mon Aug 12 16:55:17 2024 +0200
Release golang-github-prometheus-common 0.55.0-2
commit c8e7b2259c652d95475ca871136cb64025a7a826
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Mon Aug 12 16:53:47 2024 +0200
d/control: update Breaks: golang-github-prometheus-client-golang
commit a19b218646016b3e4c6ee7a2db99e27048a67e97
Author: Daniel Swarbrick <dswarbrick@debian.org>
Date: Mon Aug 12 16:49:41 2024 +0200
Add new 0004-Fix-HumanizeTimestamp-32-bit-test-overflows.patch