Accepting request 1061874 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1061874 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/golang-github-prometheus-prometheus?expand=0&rev=25
This commit is contained in:
commit
7bc41f8c76
@ -1,7 +1,7 @@
|
|||||||
From 247610ea70657943fc50637380f27d262117cf8e Mon Sep 17 00:00:00 2001
|
From 0b22f2168b31038524d7cef78923464cc2d58e00 Mon Sep 17 00:00:00 2001
|
||||||
From: Jan Fajerski <jfajerski@suse.com>
|
From: Jan Fajerski <jfajerski@suse.com>
|
||||||
Date: Fri, 8 Feb 2019 09:17:06 +0100
|
Date: Fri, 8 Feb 2019 09:17:06 +0100
|
||||||
Subject: [PATCH 1/3] Do not force the pure Go name resolver
|
Subject: [PATCH] Do not force the pure Go name resolver
|
||||||
|
|
||||||
Revert to Go's default mechanism that will decide between the `netgo`
|
Revert to Go's default mechanism that will decide between the `netgo`
|
||||||
pure-Go implementation and the `netcgo` cgo-based implementation depending
|
pure-Go implementation and the `netcgo` cgo-based implementation depending
|
||||||
@ -10,23 +10,28 @@ on OS and environment variables.
|
|||||||
This allows, among other things, to use Prometheus to scrape mDNS targets.
|
This allows, among other things, to use Prometheus to scrape mDNS targets.
|
||||||
|
|
||||||
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
|
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
|
||||||
|
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
||||||
---
|
---
|
||||||
.promu.yml | 2 +-
|
.promu.yml | 3 +--
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||||
|
|
||||||
diff --git a/.promu.yml b/.promu.yml
|
diff --git a/.promu.yml b/.promu.yml
|
||||||
index f52a646de..23e662d11 100644
|
index 233295f85..4969d7de1 100644
|
||||||
--- a/.promu.yml
|
--- a/.promu.yml
|
||||||
+++ b/.promu.yml
|
+++ b/.promu.yml
|
||||||
@@ -10,7 +10,7 @@ build:
|
@@ -12,11 +12,10 @@ build:
|
||||||
path: ./cmd/prometheus
|
|
||||||
- name: promtool
|
|
||||||
path: ./cmd/promtool
|
path: ./cmd/promtool
|
||||||
- flags: -a -tags netgo,builtinassets
|
tags:
|
||||||
+ flags: -mod=vendor -a -tags builtinassets
|
all:
|
||||||
|
- - netgo
|
||||||
|
- builtinassets
|
||||||
|
windows:
|
||||||
|
- builtinassets
|
||||||
|
- flags: -a
|
||||||
|
+ flags: -mod=vendor -a
|
||||||
ldflags: |
|
ldflags: |
|
||||||
-X github.com/prometheus/common/version.Version={{.Version}}
|
-X github.com/prometheus/common/version.Version={{.Version}}
|
||||||
-X github.com/prometheus/common/version.Revision={{.Revision}}
|
-X github.com/prometheus/common/version.Revision={{.Revision}}
|
||||||
--
|
--
|
||||||
2.31.1
|
2.39.0
|
||||||
|
|
||||||
|
@ -1,18 +1,19 @@
|
|||||||
From ec4f910efa917a19d9501630a695d07664d015ad Mon Sep 17 00:00:00 2001
|
From 06585754d2707a31fd4ab86b9b1ce82f7d55e78c Mon Sep 17 00:00:00 2001
|
||||||
From: Jan Fajerski <jfajerski@suse.com>
|
From: Jan Fajerski <jfajerski@suse.com>
|
||||||
Date: Fri, 8 Feb 2019 09:28:12 +0100
|
Date: Fri, 8 Feb 2019 09:28:12 +0100
|
||||||
Subject: [PATCH] Default settings
|
Subject: [PATCH] Default settings
|
||||||
|
|
||||||
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
|
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
|
||||||
|
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
||||||
---
|
---
|
||||||
cmd/prometheus/main.go | 8 ++++----
|
cmd/prometheus/main.go | 8 ++++----
|
||||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go
|
diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go
|
||||||
index 14c738d67..6bc56d933 100644
|
index 9f4c50071..f7ec14c5f 100644
|
||||||
--- a/cmd/prometheus/main.go
|
--- a/cmd/prometheus/main.go
|
||||||
+++ b/cmd/prometheus/main.go
|
+++ b/cmd/prometheus/main.go
|
||||||
@@ -232,7 +232,7 @@ func main() {
|
@@ -226,7 +226,7 @@ func main() {
|
||||||
a.HelpFlag.Short('h')
|
a.HelpFlag.Short('h')
|
||||||
|
|
||||||
a.Flag("config.file", "Prometheus configuration file path.").
|
a.Flag("config.file", "Prometheus configuration file path.").
|
||||||
@ -21,8 +22,8 @@ index 14c738d67..6bc56d933 100644
|
|||||||
|
|
||||||
a.Flag("web.listen-address", "Address to listen on for UI, API, and telemetry.").
|
a.Flag("web.listen-address", "Address to listen on for UI, API, and telemetry.").
|
||||||
Default("0.0.0.0:9090").StringVar(&cfg.web.ListenAddress)
|
Default("0.0.0.0:9090").StringVar(&cfg.web.ListenAddress)
|
||||||
@@ -264,10 +264,10 @@ func main() {
|
@@ -261,10 +261,10 @@ func main() {
|
||||||
Default("false").BoolVar(&cfg.web.EnableAdminAPI)
|
Default("false").BoolVar(&cfg.web.EnableRemoteWriteReceiver)
|
||||||
|
|
||||||
a.Flag("web.console.templates", "Path to the console template directory, available at /consoles.").
|
a.Flag("web.console.templates", "Path to the console template directory, available at /consoles.").
|
||||||
- Default("consoles").StringVar(&cfg.web.ConsoleTemplatesPath)
|
- Default("consoles").StringVar(&cfg.web.ConsoleTemplatesPath)
|
||||||
@ -34,7 +35,7 @@ index 14c738d67..6bc56d933 100644
|
|||||||
|
|
||||||
a.Flag("web.page-title", "Document title of Prometheus instance.").
|
a.Flag("web.page-title", "Document title of Prometheus instance.").
|
||||||
Default("Prometheus Time Series Collection and Processing Server").StringVar(&cfg.web.PageTitle)
|
Default("Prometheus Time Series Collection and Processing Server").StringVar(&cfg.web.PageTitle)
|
||||||
@@ -276,7 +276,7 @@ func main() {
|
@@ -273,7 +273,7 @@ func main() {
|
||||||
Default(".*").StringVar(&cfg.corsRegexString)
|
Default(".*").StringVar(&cfg.corsRegexString)
|
||||||
|
|
||||||
serverOnlyFlag(a, "storage.tsdb.path", "Base path for metrics storage.").
|
serverOnlyFlag(a, "storage.tsdb.path", "Base path for metrics storage.").
|
||||||
@ -44,5 +45,5 @@ index 14c738d67..6bc56d933 100644
|
|||||||
serverOnlyFlag(a, "storage.tsdb.min-block-duration", "Minimum duration of a data block before being persisted. For use in testing.").
|
serverOnlyFlag(a, "storage.tsdb.min-block-duration", "Minimum duration of a data block before being persisted. For use in testing.").
|
||||||
Hidden().Default("2h").SetValue(&cfg.tsdb.MinBlockDuration)
|
Hidden().Default("2h").SetValue(&cfg.tsdb.MinBlockDuration)
|
||||||
--
|
--
|
||||||
2.31.1
|
2.39.0
|
||||||
|
|
||||||
|
@ -1,66 +0,0 @@
|
|||||||
From d3a1b60688ff41e20de595a7fdc1d7ccacd2914f Mon Sep 17 00:00:00 2001
|
|
||||||
From: Witek Bedyk <witold.bedyk@suse.com>
|
|
||||||
Date: Mon, 14 Mar 2022 10:23:38 +0100
|
|
||||||
Subject: [PATCH] Upgrade prometheus/client to version 1.12.1
|
|
||||||
|
|
||||||
---
|
|
||||||
go.mod | 4 ++--
|
|
||||||
go.sum | 6 ++++++
|
|
||||||
2 files changed, 8 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/go.mod b/go.mod
|
|
||||||
index 1ba1f5e87..d2b3d864f 100644
|
|
||||||
--- a/go.mod
|
|
||||||
+++ b/go.mod
|
|
||||||
@@ -46,7 +46,7 @@ require (
|
|
||||||
github.com/opentracing/opentracing-go v1.2.0
|
|
||||||
github.com/pkg/errors v0.9.1
|
|
||||||
github.com/prometheus/alertmanager v0.23.0
|
|
||||||
- github.com/prometheus/client_golang v1.11.0
|
|
||||||
+ github.com/prometheus/client_golang v1.12.1
|
|
||||||
github.com/prometheus/client_model v0.2.0
|
|
||||||
github.com/prometheus/common v0.32.1
|
|
||||||
github.com/prometheus/common/sigv4 v0.1.0
|
|
||||||
@@ -62,7 +62,7 @@ require (
|
|
||||||
golang.org/x/net v0.0.0-20211123203042-d83791d6bcd9
|
|
||||||
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
|
|
||||||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
|
|
||||||
- golang.org/x/sys v0.0.0-20211124211545-fe61309f8881
|
|
||||||
+ golang.org/x/sys v0.0.0-20220114195835-da31bd327af9
|
|
||||||
golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11
|
|
||||||
golang.org/x/tools v0.1.7
|
|
||||||
google.golang.org/api v0.60.0
|
|
||||||
diff --git a/go.sum b/go.sum
|
|
||||||
index a09845d2f..9711e1d96 100644
|
|
||||||
--- a/go.sum
|
|
||||||
+++ b/go.sum
|
|
||||||
@@ -1143,6 +1143,8 @@ github.com/prometheus/client_golang v1.5.1/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3O
|
|
||||||
github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M=
|
|
||||||
github.com/prometheus/client_golang v1.11.0 h1:HNkLOAEQMIDv/K+04rukrLx6ch7msSRwf3/SASFAGtQ=
|
|
||||||
github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0=
|
|
||||||
+github.com/prometheus/client_golang v1.12.1 h1:ZiaPsmm9uiBeaSMRznKsCDNtPCS0T3JVDGF+06gjBzk=
|
|
||||||
+github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY=
|
|
||||||
github.com/prometheus/client_model v0.0.0-20171117100541-99fa1f4be8e5/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
|
|
||||||
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
|
|
||||||
github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
|
|
||||||
@@ -1184,6 +1186,8 @@ github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4O
|
|
||||||
github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
|
|
||||||
github.com/prometheus/procfs v0.6.0 h1:mxy4L2jP6qMonqmq+aTtOx1ifVWUgG/TAmntgbh3xv4=
|
|
||||||
github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
|
|
||||||
+github.com/prometheus/procfs v0.7.3 h1:4jVXhlkAyzOScmCkXBTOLRLTz8EeU+eyjrwB/EPq0VU=
|
|
||||||
+github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
|
|
||||||
github.com/prometheus/prometheus v0.0.0-20200609090129-a6600f564e3c/go.mod h1:S5n0C6tSgdnwWshBUceRx5G1OsjLv/EeZ9t3wIfEtsY=
|
|
||||||
github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
|
|
||||||
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
|
|
||||||
@@ -1675,6 +1679,8 @@ golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBc
|
|
||||||
golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
||||||
golang.org/x/sys v0.0.0-20211124211545-fe61309f8881 h1:TyHqChC80pFkXWraUUf6RuB5IqFdQieMLwwCJokV2pc=
|
|
||||||
golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
||||||
+golang.org/x/sys v0.0.0-20220114195835-da31bd327af9 h1:XfKQ4OlFl8okEOr5UvAqFRVj8pY/4yfcXrddB8qAbU0=
|
|
||||||
+golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
|
|
||||||
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
|
|
||||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
|
|
||||||
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d h1:SZxvLBoTP5yHO3Frd4z4vrF+DBX9vMVanchswa69toE=
|
|
||||||
--
|
|
||||||
2.34.1
|
|
||||||
|
|
7
_service
7
_service
@ -4,8 +4,9 @@
|
|||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="exclude">.git</param>
|
<param name="exclude">.git</param>
|
||||||
<param name="versionformat">@PARENT_TAG@</param>
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
<param name="revision">v2.32.1</param>
|
<param name="revision">v2.41.0</param>
|
||||||
<param name="versionrewrite-pattern">v(.*)</param>
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
<param name="match-tag">v2*</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="recompress" mode="disabled">
|
<service name="recompress" mode="disabled">
|
||||||
<param name="file">*.tar</param>
|
<param name="file">*.tar</param>
|
||||||
@ -14,7 +15,7 @@
|
|||||||
<service name="set_version" mode="disabled">
|
<service name="set_version" mode="disabled">
|
||||||
<param name="basename">prometheus</param>
|
<param name="basename">prometheus</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="go_modules" mode="manual">
|
<service name="go_modules" mode="disabled">
|
||||||
<param name="archive">prometheus-2.32.1.tar.gz</param>
|
<param name="archive">prometheus-2.41.0.tar.gz</param>
|
||||||
</service>
|
</service>
|
||||||
</services>
|
</services>
|
||||||
|
@ -1,3 +1,190 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jan 10 14:18:30 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||||
|
|
||||||
|
- modify _service file and set go_modules to disabled
|
||||||
|
* this allows full preparation just using 'osc service disabledrun'
|
||||||
|
- rebase patch 0002-Default-settings.patch
|
||||||
|
- drop patch 0003-Bump-client_golang-to-1.12.1.patch
|
||||||
|
- update to 2.33.0:
|
||||||
|
* [CHANGE] PromQL: Promote negative offset and @ modifer to stable features. #10121
|
||||||
|
* [CHANGE] Web: Promote remote-write-receiver to stable. #10119
|
||||||
|
* [FEATURE] Config: Add stripPort template function. #10002
|
||||||
|
* [FEATURE] Promtool: Add cardinality analysis to check metrics, enabled by flag --extended. #10045
|
||||||
|
* [FEATURE] SD: Enable target discovery in own K8s namespace. #9881
|
||||||
|
* [FEATURE] SD: Add provider ID label in K8s SD. #9603
|
||||||
|
* [FEATURE] Web: Add limit field to the rules API. #10152
|
||||||
|
* [ENHANCEMENT] Remote-write: Avoid allocations by buffering concrete structs instead of interfaces. #9934
|
||||||
|
* [ENHANCEMENT] Remote-write: Log time series details for out-of-order samples in remote write receiver. #9894
|
||||||
|
* [ENHANCEMENT] Remote-write: Shard up more when backlogged. #9274
|
||||||
|
* [ENHANCEMENT] TSDB: Use simpler map key to improve exemplar ingest performance. #10111
|
||||||
|
* [ENHANCEMENT] TSDB: Avoid allocations when popping from the intersected postings heap. #10092
|
||||||
|
* [ENHANCEMENT] TSDB: Make chunk writing non-blocking, avoiding latency spikes in remote-write. #10051
|
||||||
|
* [ENHANCEMENT] TSDB: Improve label matching performance. #9907
|
||||||
|
* [ENHANCEMENT] UI: Optimize the service discovery page and add a search bar. #10131
|
||||||
|
* [ENHANCEMENT] UI: Optimize the target page and add a search bar. #10103
|
||||||
|
* [BUGFIX] Promtool: Make exit codes more consistent. #9861
|
||||||
|
* [BUGFIX] Promtool: Fix flakiness of rule testing. #8818
|
||||||
|
* [BUGFIX] Remote-write: Update prometheus_remote_storage_queue_highest_sent_timestamp_seconds metric when write irrecoverably fails. #10102
|
||||||
|
* [BUGFIX] Storage: Avoid panic in BufferedSeriesIterator. #9945
|
||||||
|
* [BUGFIX] TSDB: CompactBlockMetas should produce correct mint/maxt for overlapping blocks. #10108
|
||||||
|
* [BUGFIX] TSDB: Fix logging of exemplar storage size. #9938
|
||||||
|
* [BUGFIX] UI: Fix overlapping click targets for the alert state checkboxes. #10136
|
||||||
|
* [BUGFIX] UI: Fix Unhealthy filter on target page to actually display only Unhealthy targets. #10103
|
||||||
|
* [BUGFIX] UI: Fix autocompletion when expression is empty. #10053
|
||||||
|
* [BUGFIX] TSDB: Fix deadlock from simultaneous GC and write. #10166
|
||||||
|
- update to 2.33.1:
|
||||||
|
* [BUGFIX] SD: Fix no such file or directory in K8s SD when not running inside K8s. #10235
|
||||||
|
- update to 2.33.2:
|
||||||
|
* [BUGFIX] Azure SD: Fix panic when IP Address isn't set. #10280
|
||||||
|
* [BUGFIX] Remote-write: Fix deadlock when stopping a shard. #10279
|
||||||
|
- update to 2.33.3:
|
||||||
|
* [BUGFIX] Azure SD: Fix a regression when public IP Address isn't set. #10289
|
||||||
|
- update to 2.33.4:
|
||||||
|
* [BUGFIX] TSDB: Fix panic when m-mapping head chunks onto the disk. #10316
|
||||||
|
- update to 2.33.5:
|
||||||
|
* [BUGFIX] Remote-write: Fix deadlock between adding to queue and getting batch. #10395
|
||||||
|
- update to 2.34.0:
|
||||||
|
* [CHANGE] UI: Classic UI removed. #10208
|
||||||
|
* [CHANGE] Tracing: Migrate from Jaeger to OpenTelemetry based tracing. #9724, #10203, #10276
|
||||||
|
* [ENHANCEMENT] TSDB: Disable the chunk write queue by default and allow configuration with the experimental flag --storage.tsdb.head-chunks-write-queue-size. #10425
|
||||||
|
* [ENHANCEMENT] HTTP SD: Add a failure counter. #10372
|
||||||
|
* [ENHANCEMENT] Azure SD: Set Prometheus User-Agent on requests. #10209
|
||||||
|
* [ENHANCEMENT] Uyuni SD: Reduce the number of logins to Uyuni. #10072
|
||||||
|
* [ENHANCEMENT] Scrape: Log when an invalid media type is encountered during a scrape. #10186
|
||||||
|
* [ENHANCEMENT] Scrape: Accept application/openmetrics-text;version=1.0.0 in addition to version=0.0.1. #9431
|
||||||
|
* [ENHANCEMENT] Remote-read: Add an option to not use external labels as selectors for remote read. #10254
|
||||||
|
* [ENHANCEMENT] UI: Optimize the alerts page and add a search bar. #10142
|
||||||
|
* [ENHANCEMENT] UI: Improve graph colors that were hard to see. #10179
|
||||||
|
* [ENHANCEMENT] Config: Allow escaping of $ with $$ when using environment variables with external labels. #10129
|
||||||
|
* [BUGFIX] PromQL: Properly return an error from histogram_quantile when metrics have the same labelset. #10140
|
||||||
|
* [BUGFIX] UI: Fix bug that sets the range input to the resolution. #10227
|
||||||
|
* [BUGFIX] TSDB: Fix a query panic when memory-snapshot-on-shutdown is enabled. #10348
|
||||||
|
* [BUGFIX] Parser: Specify type in metadata parser errors. #10269
|
||||||
|
* [BUGFIX] Scrape: Fix label limit changes not applying. #10370
|
||||||
|
- update to 2.35.0:
|
||||||
|
* [CHANGE] TSDB: Delete *.tmp WAL files when Prometheus starts. #10317
|
||||||
|
* [CHANGE] promtool: Add new flag --lint (enabled by default) for the commands check rules and check config, resulting in a new exit code (3) for linter errors. #10435
|
||||||
|
* [FEATURE] Support for automatically setting the variable GOMAXPROCS to the container CPU limit. Enable with the flag --enable-feature=auto-gomaxprocs. #10498
|
||||||
|
* [FEATURE] PromQL: Extend statistics with total and peak number of samples in a query. Additionally, per-step statistics are available with --enable-feature=promql-per-step-stats and using stats=all in the query API.
|
||||||
|
* Enable with the flag --enable-feature=per-step-stats. #10369
|
||||||
|
* [ENHANCEMENT] Prometheus is built with Go 1.18. #10501
|
||||||
|
* [ENHANCEMENT] TSDB: more efficient sorting of postings read from WAL at startup. #10500
|
||||||
|
* [ENHANCEMENT] Azure SD: Add metric to track Azure SD failures. #10476
|
||||||
|
* [ENHANCEMENT] Azure SD: Add an optional resource_group configuration. #10365
|
||||||
|
* [ENHANCEMENT] Kubernetes SD: Support discovery.k8s.io/v1 EndpointSlice (previously only discovery.k8s.io/v1beta1 EndpointSlice was supported). #9570
|
||||||
|
* [ENHANCEMENT] Kubernetes SD: Allow attaching node metadata to discovered pods. #10080
|
||||||
|
* [ENHANCEMENT] OAuth2: Support for using a proxy URL to fetch OAuth2 tokens. #10492
|
||||||
|
* [ENHANCEMENT] Configuration: Add the ability to disable HTTP2. #10492
|
||||||
|
* [ENHANCEMENT] Config: Support overriding minimum TLS version. #10610
|
||||||
|
* [BUGFIX] Kubernetes SD: Explicitly include gcp auth from k8s.io. #10516
|
||||||
|
* [BUGFIX] Fix OpenMetrics parser to sort uppercase labels correctly. #10510
|
||||||
|
* [BUGFIX] UI: Fix scrape interval and duration tooltip not showing on target page. #10545
|
||||||
|
* [BUGFIX] Tracing/GRPC: Set TLS credentials only when insecure is false. #10592
|
||||||
|
* [BUGFIX] Agent: Fix ID collision when loading a WAL with multiple segments. #10587
|
||||||
|
* [BUGFIX] Remote-write: Fix a deadlock between Batch and flushing the queue. #10608
|
||||||
|
- update to 2.36.0:
|
||||||
|
* [FEATURE] Add lowercase and uppercase relabel action. #10641
|
||||||
|
* [FEATURE] SD: Add IONOS Cloud integration. #10514
|
||||||
|
* [FEATURE] SD: Add Vultr integration. #10714
|
||||||
|
* [FEATURE] SD: Add Linode SD failure count metric. #10673
|
||||||
|
* [FEATURE] Add prometheus_ready metric. #10682
|
||||||
|
* [ENHANCEMENT] Add stripDomain to template function. #10475
|
||||||
|
* [ENHANCEMENT] UI: Enable active search through dropped targets. #10668
|
||||||
|
* [ENHANCEMENT] promtool: support matchers when querying label values. #10727
|
||||||
|
* [ENHANCEMENT] Add agent mode identifier. #9638
|
||||||
|
* [BUGFIX] Changing TotalQueryableSamples from int to int64. #10549
|
||||||
|
* [BUGFIX] tsdb/agent: Ignore duplicate exemplars. #10595
|
||||||
|
* [BUGFIX] TSDB: Fix chunk overflow appending samples at a variable rate. #10607
|
||||||
|
* [BUGFIX] Stop rule manager before TSDB is stopped. #10680
|
||||||
|
- update to 2.36.1:
|
||||||
|
* [BUGFIX] promtool: Add --lint-fatal option #10840
|
||||||
|
- update to 2.36.2:
|
||||||
|
* [BUGFIX] Fix serving of static assets like fonts and favicon. #10888
|
||||||
|
- update to 2.37.0:
|
||||||
|
* [FEATURE] Nomad SD: New service discovery for Nomad built-in service discovery. #10915
|
||||||
|
* [ENHANCEMENT] Kubernetes SD: Allow attaching node labels for endpoint role. #10759
|
||||||
|
* [ENHANCEMENT] PromQL: Optimise creation of signature with/without labels. #10667
|
||||||
|
* [ENHANCEMENT] TSDB: Memory optimizations. #10873 #10874
|
||||||
|
* [ENHANCEMENT] TSDB: Reduce sleep time when reading WAL. #10859 #10878
|
||||||
|
* [ENHANCEMENT] OAuth2: Add appropriate timeouts and User-Agent header. #11020
|
||||||
|
* [BUGFIX] Alerting: Fix Alertmanager targets not being updated when alerts were queued. #10948
|
||||||
|
* [BUGFIX] Hetzner SD: Make authentication files relative to Prometheus config file. #10813
|
||||||
|
* [BUGFIX] Promtool: Fix promtool check config not erroring properly on failures. #10952
|
||||||
|
* [BUGFIX] Scrape: Keep relabeled scrape interval and timeout on reloads. #10916
|
||||||
|
* [BUGFIX] TSDB: Don't increment prometheus_tsdb_compactions_failed_total when context is canceled. #10772
|
||||||
|
* [BUGFIX] TSDB: Fix panic if series is not found when deleting series. #10907
|
||||||
|
* [BUGFIX] TSDB: Increase prometheus_tsdb_mmap_chunk_corruptions_total on out of sequence errors. #10406
|
||||||
|
* [BUGFIX] Uyuni SD: Make authentication files relative to Prometheus configuration file and fix default configuration values. #10813
|
||||||
|
- update to 2.38.0:
|
||||||
|
* [FEATURE]: Web: Add a /api/v1/format_query HTTP API endpoint that allows pretty-formatting PromQL expressions. #11036 #10544 #11005
|
||||||
|
* [FEATURE]: UI: Add support for formatting PromQL expressions in the UI. #11039
|
||||||
|
* [FEATURE]: DNS SD: Support MX records for discovering targets. #10099
|
||||||
|
* [FEATURE]: Templates: Add toTime() template function that allows converting sample timestamps to Go time.Time values. #10993
|
||||||
|
* [ENHANCEMENT]: Kubernetes SD: Add __meta_kubernetes_service_port_number meta label indicating the service port number. #11002 #11053
|
||||||
|
* [ENHANCEMENT]: Kubernetes SD: Add __meta_kubernetes_pod_container_image meta label indicating the container image. #11034 #11146
|
||||||
|
* [ENHANCEMENT]: PromQL: When a query panics, also log the query itself alongside the panic message. #10995
|
||||||
|
* [ENHANCEMENT]: UI: Tweak colors in the dark theme to improve the contrast ratio. #11068
|
||||||
|
* [ENHANCEMENT]: Web: Speed up calls to /api/v1/rules by avoiding locks and using atomic types instead. #10858
|
||||||
|
* [ENHANCEMENT]: Scrape: Add a no-default-scrape-port feature flag, which omits or removes any default HTTP (:80) or HTTPS (:443) ports in the target's scrape address. #9523
|
||||||
|
* [BUGFIX]: TSDB: In the WAL watcher metrics, expose the type="exemplar" label instead of type="unknown" for exemplar records. #11008
|
||||||
|
* [BUGFIX]: TSDB: Fix race condition around allocating series IDs during chunk snapshot loading. #11099
|
||||||
|
- update to 2.39.0:
|
||||||
|
* [FEATURE] experimental TSDB: Add support for ingesting out-of-order samples. This is configured via out_of_order_time_window field in the config file; check config file docs for more info. #11075
|
||||||
|
* [ENHANCEMENT] API: /-/healthy and /-/ready API calls now also respond to a HEAD request on top of existing GET support. #11160
|
||||||
|
* [ENHANCEMENT] PuppetDB SD: Add __meta_puppetdb_query label. #11238
|
||||||
|
* [ENHANCEMENT] AWS EC2 SD: Add __meta_ec2_region label. #11326
|
||||||
|
* [ENHANCEMENT] AWS Lightsail SD: Add __meta_lightsail_region label. #11326
|
||||||
|
* [ENHANCEMENT] Scrape: Optimise relabeling by re-using memory. #11147
|
||||||
|
* [ENHANCEMENT] TSDB: Improve WAL replay timings. #10973 #11307 #11319
|
||||||
|
* [ENHANCEMENT] TSDB: Optimise memory by not storing unnecessary data in the memory. #11280 #11288 #11296
|
||||||
|
* [ENHANCEMENT] TSDB: Allow overlapping blocks by default. --storage.tsdb.allow-overlapping-blocks now has no effect. #11331
|
||||||
|
* [ENHANCEMENT] UI: Click to copy label-value pair from query result to clipboard. #11229
|
||||||
|
* [BUGFIX] TSDB: Turn off isolation for Head compaction to fix a memory leak. #11317
|
||||||
|
* [BUGFIX] TSDB: Fix 'invalid magic number 0' error on Prometheus startup. #11338
|
||||||
|
* [BUGFIX] PromQL: Properly close file descriptor when logging unfinished queries. #11148
|
||||||
|
* [BUGFIX] Agent: Fix validation of flag options and prevent WAL from growing more than desired. #9876
|
||||||
|
- update to 2.39.1:
|
||||||
|
* [BUGFIX] Rules: Fix notifier relabel changing the labels on active alerts. #11427
|
||||||
|
- update to 2.40.0:
|
||||||
|
* [FEATURE] Add experimental support for native histograms. Enable with the flag --enable-feature=native-histograms. #11447
|
||||||
|
* [FEATURE] SD: Add service discovery for OVHcloud. #10802
|
||||||
|
* [ENHANCEMENT] Kubernetes SD: Use protobuf encoding. #11353
|
||||||
|
* [ENHANCEMENT] TSDB: Use golang.org/x/exp/slices for improved sorting speed. #11054 #11318 #11380
|
||||||
|
* [ENHANCEMENT] Consul SD: Add enterprise admin partitions. Adds __meta_consul_partition label. Adds partition config in consul_sd_config. #11482
|
||||||
|
* [BUGFIX] API: Fix API error codes for /api/v1/labels and /api/v1/series. #11356
|
||||||
|
- update to 2.40.1:
|
||||||
|
* [BUGFIX] TSDB: Fix alignment for atomic int64 for 32 bit architecture. #11547
|
||||||
|
* [BUGFIX] Scrape: Fix accept headers. #11552
|
||||||
|
- update to 2.40.2:
|
||||||
|
* [BUGFIX] UI: Fix black-on-black metric name color in dark mode. #11572
|
||||||
|
- update to 2.40.3:
|
||||||
|
* [BUGFIX] TSDB: Fix compaction after a deletion is called. #11623
|
||||||
|
- update to 2.40.4:
|
||||||
|
* [SECURITY] Fix basic authentication bypass vulnerability (CVE-2022-46146). GHSA-4v48-4q5m-8vx4
|
||||||
|
- update to 2.40.5:
|
||||||
|
* [BUGFIX] TSDB: Fix queries involving native histograms due to improper reset of iterators. #11643
|
||||||
|
- update to 2.40.6:
|
||||||
|
* [SECURITY] Security upgrade from go and upstream dependencies that include
|
||||||
|
security fixes to the net/http and os packages. #11691
|
||||||
|
- update to 2.40.7:
|
||||||
|
* [BUGFIX] Use Windows native DNS resolver. #11704
|
||||||
|
* [BUGFIX] TSDB: Fix queries involving negative buckets of native histograms. #11699
|
||||||
|
- modify patch 0001-Do-not-force-the-pure-Go-name-resolver.patch to work on 2.40.7
|
||||||
|
- update to 2.41.0:
|
||||||
|
* [FEATURE] Relabeling: Add keepequal and dropequal relabel actions. #11564
|
||||||
|
* [FEATURE] Add support for HTTP proxy headers. #11712
|
||||||
|
* [ENHANCEMENT] Reload private certificates when changed on disk. #11685
|
||||||
|
* [ENHANCEMENT] Add max_version to specify maximum TLS version in tls_config. #11685
|
||||||
|
* [ENHANCEMENT] Add goos and goarch labels to prometheus_build_info. #11685
|
||||||
|
* [ENHANCEMENT] SD: Add proxy support for EC2 and LightSail SDs #11611
|
||||||
|
* [ENHANCEMENT] SD: Add new metric prometheus_sd_file_watcher_errors_total. #11066
|
||||||
|
* [ENHANCEMENT] Remote Read: Use a pool to speed up marshalling. #11357
|
||||||
|
* [ENHANCEMENT] TSDB: Improve handling of tombstoned chunks in iterators. #11632
|
||||||
|
* [ENHANCEMENT] TSDB: Optimize postings offset table reading. #11535
|
||||||
|
* [BUGFIX] Scrape: Validate the metric name, label names, and label values after relabeling. #11074
|
||||||
|
* [BUGFIX] Remote Write receiver and rule manager: Fix error handling. #11727
|
||||||
|
- BuildRequire go1.19
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 7 12:36:08 UTC 2022 - Julio González Gil <jgonzalez@suse.com>
|
Thu Apr 7 12:36:08 UTC 2022 - Julio González Gil <jgonzalez@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package golang-github-prometheus-prometheus
|
# spec file for package golang-github-prometheus-prometheus
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
# Copyright (c) 2017 Silvio Moioli <moio@suse.com>
|
# Copyright (c) 2017 Silvio Moioli <moio@suse.com>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -27,7 +27,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: golang-github-prometheus-prometheus
|
Name: golang-github-prometheus-prometheus
|
||||||
Version: 2.32.1
|
Version: 2.41.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: The Prometheus monitoring system and time series database
|
Summary: The Prometheus monitoring system and time series database
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -44,8 +44,6 @@ Source5: prometheus.firewall.xml
|
|||||||
Patch1: 0001-Do-not-force-the-pure-Go-name-resolver.patch
|
Patch1: 0001-Do-not-force-the-pure-Go-name-resolver.patch
|
||||||
# Lifted from Debian's prometheus package
|
# Lifted from Debian's prometheus package
|
||||||
Patch2: 0002-Default-settings.patch
|
Patch2: 0002-Default-settings.patch
|
||||||
# This patch has been applied before generating vendor tarball
|
|
||||||
Patch3: 0003-Bump-client_golang-to-1.12.1.patch
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
%if 0%{?suse_version} == 1500 && 0%{?sle_version} < 150300
|
%if 0%{?suse_version} == 1500 && 0%{?sle_version} < 150300
|
||||||
BuildRequires: firewall-macros
|
BuildRequires: firewall-macros
|
||||||
@ -55,7 +53,7 @@ BuildRequires: firewall-macros
|
|||||||
BuildRequires: glibc-devel-static
|
BuildRequires: glibc-devel-static
|
||||||
BuildRequires: golang-github-prometheus-promu
|
BuildRequires: golang-github-prometheus-promu
|
||||||
BuildRequires: golang-packaging
|
BuildRequires: golang-packaging
|
||||||
BuildRequires: golang(API) >= 1.16
|
BuildRequires: golang(API) >= 1.19
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} >= 1500
|
%if 0%{?suse_version} >= 1500
|
||||||
Recommends: firewalld-prometheus-config
|
Recommends: firewalld-prometheus-config
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3367897c209164827790491963a2655614828817a01f03576b5622dd0b406b30
|
|
||||||
size 14068076
|
|
3
prometheus-2.41.0.tar.gz
Normal file
3
prometheus-2.41.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:54335745a205d2e117e0f6dfd24e1f361e94aa0ed2ad671a63de9fa817789bb1
|
||||||
|
size 6295431
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:ab1d32af1fc5d5c6bc7bf0ba589d17052b0adac5c8f91ef39c92e6ac4569bf2c
|
oid sha256:db00f0c8609146ea5f60a56cee773d8d0ed35f7c203cd85880cbbce1be9ad0d8
|
||||||
size 10935610
|
size 12555170
|
||||||
|
Loading…
Reference in New Issue
Block a user