Compare commits
No commits in common. "factory" and "factory" have entirely different histories.
@ -1,4 +1,4 @@
|
|||||||
From b47f7e3be0836970dfe48ba476039dc9ac9998b7 Mon Sep 17 00:00:00 2001
|
From abe26292de2c69a14aa223d2ba866779e63d79cd 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] Do not force the pure Go name resolver
|
Subject: [PATCH] Do not force the pure Go name resolver
|
||||||
@ -16,7 +16,7 @@ Signed-off-by: Johannes Kastl <git@johannes-kastl.de>
|
|||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/.promu.yml b/.promu.yml
|
diff --git a/.promu.yml b/.promu.yml
|
||||||
index 6feaa6ef6..48d42ee92 100644
|
index 0aa51d6d3..06c9c579d 100644
|
||||||
--- a/.promu.yml
|
--- a/.promu.yml
|
||||||
+++ b/.promu.yml
|
+++ b/.promu.yml
|
||||||
@@ -12,12 +12,12 @@ build:
|
@@ -12,12 +12,12 @@ build:
|
||||||
@ -34,5 +34,5 @@ index 6feaa6ef6..48d42ee92 100644
|
|||||||
-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.44.2
|
2.44.1
|
||||||
|
|
||||||
|
@ -1,30 +1,29 @@
|
|||||||
From 2f263c89b6d7acae310f2e5ae384345673b3fe24 Mon Sep 17 00:00:00 2001
|
From 5d505396f2a4e1a9f5fd3ea57113fa58c968518e 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>
|
|
||||||
Signed-off-by: Johannes Kastl <git@johannes-kastl.de>
|
Signed-off-by: Johannes Kastl <git@johannes-kastl.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 bcfbe24a6..447c8919e 100644
|
index 1d844ddba..5580dfa57 100644
|
||||||
--- a/cmd/prometheus/main.go
|
--- a/cmd/prometheus/main.go
|
||||||
+++ b/cmd/prometheus/main.go
|
+++ b/cmd/prometheus/main.go
|
||||||
@@ -319,7 +319,7 @@ func main() {
|
@@ -288,7 +288,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.").
|
||||||
- Default("prometheus.yml").StringVar(&cfg.configFile)
|
- Default("prometheus.yml").StringVar(&cfg.configFile)
|
||||||
+ Default("/etc/prometheus/prometheus.yml").StringVar(&cfg.configFile)
|
+ Default("/etc/prometheus/prometheus.yml").StringVar(&cfg.configFile)
|
||||||
|
|
||||||
a.Flag("config.auto-reload-interval", "Specifies the interval for checking and automatically reloading the Prometheus configuration file upon detecting changes.").
|
a.Flag("web.listen-address", "Address to listen on for UI, API, and telemetry.").
|
||||||
Default("30s").SetValue(&cfg.autoReloadInterval)
|
Default("0.0.0.0:9090").StringVar(&cfg.web.ListenAddress)
|
||||||
@@ -379,10 +379,10 @@ func main() {
|
@@ -335,10 +335,10 @@ func main() {
|
||||||
Default("false").BoolVar(&cfg.web.EnableOTLPWriteReceiver)
|
Default(supportedRemoteWriteProtoMsgs.Strings()...).SetValue(rwProtoMsgFlagValue(&cfg.web.AcceptRemoteWriteProtoMsgs))
|
||||||
|
|
||||||
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)
|
||||||
@ -36,7 +35,7 @@ index bcfbe24a6..447c8919e 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)
|
||||||
@@ -391,7 +391,7 @@ func main() {
|
@@ -347,7 +347,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.").
|
||||||
@ -46,5 +45,5 @@ index bcfbe24a6..447c8919e 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.44.2
|
2.44.1
|
||||||
|
|
||||||
|
5
Makefile
5
Makefile
@ -19,8 +19,8 @@ tar:
|
|||||||
tar -zxf $$wd/$$tar.gz && \
|
tar -zxf $$wd/$$tar.gz && \
|
||||||
cd $$basename && \
|
cd $$basename && \
|
||||||
make assets npm_licenses assets-compress && \
|
make assets npm_licenses assets-compress && \
|
||||||
tar -cf $$wd/$$web_ui web/ui/static/react-app && \
|
tar -cf $$wd/$$web_ui web/ui/static/react && \
|
||||||
find web/ui/static -type f -name '*.gz' -exec tar -rf $$wd/$$web_ui "{}" \; && \
|
find web/ui/static -type f -name '*.gz' -exec tar -rf $$wd/$$web_ui "{}" \; && \
|
||||||
tar -rf $$wd/$$web_ui web/ui/embed.go && \
|
tar -rf $$wd/$$web_ui web/ui/embed.go && \
|
||||||
cd .. && \
|
cd .. && \
|
||||||
echo "Creating web assets tarball" && \
|
echo "Creating web assets tarball" && \
|
||||||
@ -28,4 +28,3 @@ tar:
|
|||||||
cd $$wd && \
|
cd $$wd && \
|
||||||
gzip -f $$web_ui && \
|
gzip -f $$web_ui && \
|
||||||
rm -rf $$tmpdir
|
rm -rf $$tmpdir
|
||||||
echo "Finished successfully"
|
|
||||||
|
6
_service
6
_service
@ -4,15 +4,15 @@
|
|||||||
<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">v3.2.0</param>
|
<param name="revision">v2.54.0</param>
|
||||||
<param name="versionrewrite-pattern">v(.*)</param>
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
<param name="match-tag">v3*</param>
|
<param name="match-tag">v2*</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="recompress" mode="manual">
|
<service name="recompress" mode="manual">
|
||||||
<param name="file">*.tar</param>
|
<param name="file">*.tar</param>
|
||||||
<param name="compression">gz</param>
|
<param name="compression">gz</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="go_modules" mode="manual">
|
<service name="go_modules" mode="manual">
|
||||||
<param name="archive">prometheus-3.2.0.tar.gz</param>
|
<param name="archive">prometheus-2.54.0.tar.gz</param>
|
||||||
</service>
|
</service>
|
||||||
</services>
|
</services>
|
||||||
|
@ -1,387 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue Feb 18 06:07:57 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
|
||||||
|
|
||||||
- update to 3.2.0:
|
|
||||||
* [CHANGE] relabel: Replace actions can now use UTF-8 characters
|
|
||||||
in targetLabel field. Note that $<chars> or ${<chars>} will be
|
|
||||||
expanded. This also apply to replacement field for LabelMap
|
|
||||||
action. #15851
|
|
||||||
* [CHANGE] rulefmt: Rule names can use UTF-8 characters, except {
|
|
||||||
and } characters (due to common mistake checks). #15851
|
|
||||||
* [FEATURE] remote/otlp: Add feature flag otlp-deltatocumulative
|
|
||||||
to support conversion from delta to cumulative. #15165
|
|
||||||
* [ENHANCEMENT] openstack SD: Discover Octavia loadbalancers.
|
|
||||||
#15539
|
|
||||||
* [ENHANCEMENT] scrape: Add metadata for automatic metrics to WAL
|
|
||||||
for metadata-wal-records feature. #15837
|
|
||||||
* [ENHANCEMENT] promtool: Support linting of scrape interval,
|
|
||||||
through lint option too-long-scrape-interval. #15719
|
|
||||||
* [ENHANCEMENT] promtool: Add --ignore-unknown-fields option.
|
|
||||||
#15706
|
|
||||||
* [ENHANCEMENT] ui: Make "hide empty rules" and hide empty rules"
|
|
||||||
persistent #15807
|
|
||||||
* [ENHANCEMENT] web/api: Add a limit parameter to /query and
|
|
||||||
/query_range. #15552
|
|
||||||
* [ENHANCEMENT] api: Add fields Node and ServerTime to /status.
|
|
||||||
#15784
|
|
||||||
* [PERF] Scraping: defer computing labels for dropped targets
|
|
||||||
until they are needed by the UI. #15261
|
|
||||||
* [BUGFIX] remotewrite2: Fix invalid metadata bug for metrics
|
|
||||||
without metadata. #15829
|
|
||||||
* [BUGFIX] remotewrite2: Fix the unit field propagation. #15825
|
|
||||||
* [BUGFIX] scrape: Fix WAL metadata for histograms and summaries.
|
|
||||||
#15832
|
|
||||||
* [BUGFIX] ui: Merge duplicate "Alerts page settings" sections.
|
|
||||||
#15810
|
|
||||||
* [BUGFIX] PromQL: Fix <aggr_over_time> functions with
|
|
||||||
histograms. #15711
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Jan 2 17:19:35 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
|
||||||
|
|
||||||
- update to 3.1.0:
|
|
||||||
* [SECURITY] upgrade golang.org/x/crypto to address reported
|
|
||||||
CVE-2024-45337. #15691
|
|
||||||
* [CHANGE] Notifier: Increment
|
|
||||||
prometheus_notifications_errors_total by the number of affected
|
|
||||||
alerts rather than per batch. #15428
|
|
||||||
* [CHANGE] API: list rules field "groupNextToken:omitempty"
|
|
||||||
renamed to "groupNextToken". #15400
|
|
||||||
* [ENHANCEMENT] OTLP translate: keep identifying attributes in
|
|
||||||
target_info. #15448
|
|
||||||
* [ENHANCEMENT] Paginate rule groups, add infinite scroll to
|
|
||||||
rules within groups. #15677
|
|
||||||
* [ENHANCEMENT] TSDB: Improve calculation of space used by
|
|
||||||
labels. #13880
|
|
||||||
* [ENHANCEMENT] Rules: new metric
|
|
||||||
rule_group_last_rule_duration_sum_seconds. #15672
|
|
||||||
* [ENHANCEMENT] Observability: Export
|
|
||||||
'go_sync_mutex_wait_total_seconds_total' metric. #15339
|
|
||||||
* [ENHANCEMEN] Remote-Write: optionally use a DNS resolver that
|
|
||||||
picks a random IP. #15329
|
|
||||||
* [PERF] Optimize l=~".+" matcher. #15474, #15684
|
|
||||||
* [PERF] TSDB: Cache all symbols for compaction . #15455
|
|
||||||
* [PERF] TSDB: MemPostings: keep a map of label values slices.
|
|
||||||
#15426
|
|
||||||
* [PERF] Remote-Write: Remove interning hook. #15456
|
|
||||||
* [PERF] Scrape: optimize string manipulation for experimental
|
|
||||||
native histograms with custom buckets. #15453
|
|
||||||
* [PERF] TSDB: reduce memory allocations. #15465, #15427
|
|
||||||
* [PERF] Storage: Implement limit in mergeGenericQuerier. #14489
|
|
||||||
* [PERF] TSDB: Optimize inverse matching. #14144
|
|
||||||
* [PERF] Regex: use stack memory for lowercase copy of string.
|
|
||||||
#15210
|
|
||||||
* [PERF] TSDB: When deleting from postings index, pause to unlock
|
|
||||||
and let readers read. #15242
|
|
||||||
* [BUGFIX] Main: Avoid possible segfault at exit. (#15724)
|
|
||||||
* [BUGFIX] Rules: Do not run rules concurrently if uncertain
|
|
||||||
about dependencies. #15560
|
|
||||||
* [BUGFIX] PromQL: Adds test for absent, absent_over_time and
|
|
||||||
deriv func with histograms. #15667
|
|
||||||
* [BUGFIX] PromQL: Fix various bugs related to quoting UTF-8
|
|
||||||
characters. #15531
|
|
||||||
* [BUGFIX] Scrape: fix nil panic after scrape loop reload. #15563
|
|
||||||
* [BUGFIX] Remote-write: fix panic on repeated log message.
|
|
||||||
#15562
|
|
||||||
* [BUGFIX] Scrape: reload would ignore
|
|
||||||
always_scrape_classic_histograms and
|
|
||||||
convert_classic_histograms_to_nhcb configs. #15489
|
|
||||||
* [BUGFIX] TSDB: fix data corruption in experimental native
|
|
||||||
histograms. #15482
|
|
||||||
* [BUGFIX] PromQL: Ignore histograms in all time related
|
|
||||||
functions. #15479
|
|
||||||
* [BUGFIX] OTLP receiver: Convert metric metadata. #15416
|
|
||||||
* [BUGFIX] PromQL: Fix resets function for histograms. #15527
|
|
||||||
* [BUGFIX] PromQL: Fix behaviour of changes() for mix of
|
|
||||||
histograms and floats. #15469
|
|
||||||
* [BUGFIX] PromQL: Fix behaviour of some aggregations with
|
|
||||||
histograms. #15432
|
|
||||||
* [BUGFIX] allow quoted exemplar keys in openmetrics text format.
|
|
||||||
#15260
|
|
||||||
* [BUGFIX] TSDB: fixes for rare conditions when loading
|
|
||||||
write-behind-log (WBL). #15380
|
|
||||||
* [BUGFIX] round() function did not remove __name__ label. #15250
|
|
||||||
* [BUGFIX] Promtool: analyze block shows metric name with 0
|
|
||||||
cardinality. #15438
|
|
||||||
* [BUGFIX] PromQL: Fix count_values for histograms. #15422
|
|
||||||
* [BUGFIX] PromQL: fix issues with comparison binary operations
|
|
||||||
with bool modifier and native histograms. #15413
|
|
||||||
* [BUGFIX] PromQL: fix incorrect "native histogram ignored in
|
|
||||||
aggregation" annotations. #15414
|
|
||||||
* [BUGFIX] PromQL: Corrects the behaviour of some operator and
|
|
||||||
aggregators with Native Histograms. #15245
|
|
||||||
* [BUGFIX] TSDB: Always return unknown hint for first sample in
|
|
||||||
non-gauge histogram chunk. #15343
|
|
||||||
* [BUGFIX] PromQL: Clamp functions: Ignore any points with native
|
|
||||||
histograms. #15169
|
|
||||||
* [BUGFIX] TSDB: Fix race on stale values in headAppender. #15322
|
|
||||||
* [BUGFIX] UI: Fix selector / series formatting for empty metric
|
|
||||||
names. #15340
|
|
||||||
* [BUGFIX] OTLP receiver: Allow colons in non-standard units.
|
|
||||||
#15710
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Dec 13 11:39:57 UTC 2024 - Witek Bedyk <witold.bedyk@suse.com>
|
|
||||||
|
|
||||||
- Explicitly set CGO_ENABLED=1 for architectures which require it
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Fri Dec 6 15:58:05 UTC 2024 - Witek Bedyk <witold.bedyk@suse.com>
|
|
||||||
|
|
||||||
- Packaging improvements:
|
|
||||||
* Require Go >= 1.22 for building
|
|
||||||
* Drop BuildRequires: golang-packaging
|
|
||||||
* Build PIE
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Nov 30 16:10:34 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
|
||||||
|
|
||||||
- update to 3.0.1:
|
|
||||||
* [BUGFIX] Promql: Make subqueries left open. #15431
|
|
||||||
* [BUGFIX] Fix memory leak when query log is enabled. #15434
|
|
||||||
* [BUGFIX] Support utf8 names on /v1/label/:name/values endpoint.
|
|
||||||
#15399
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Nov 30 13:31:05 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
|
||||||
|
|
||||||
- update to 3.0.0:
|
|
||||||
This release includes new features such as a brand new UI and
|
|
||||||
UTF-8 support enabled by default. As this marks the first new
|
|
||||||
major version in seven years, several breaking changes are
|
|
||||||
introduced. The breaking changes are mainly around the removal of
|
|
||||||
deprecated feature flags and CLI arguments, and the full list can
|
|
||||||
be found below. For users that want to upgrade we recommend to
|
|
||||||
read through our migration guide.
|
|
||||||
- [CHANGE] Set the GOMAXPROCS variable automatically to match the
|
|
||||||
Linux CPU quota. Use --no-auto-gomaxprocs to disable it. The
|
|
||||||
auto-gomaxprocs feature flag was removed. #15376
|
|
||||||
- [CHANGE] Set the GOMEMLIMIT variable automatically to match the
|
|
||||||
Linux container memory limit. Use --no-auto-gomemlimit to
|
|
||||||
disable it. The auto-gomemlimit feature flag was removed.
|
|
||||||
#15373
|
|
||||||
- [CHANGE] Scraping: Remove implicit fallback to the Prometheus
|
|
||||||
text format in case of invalid/missing Content-Type and fail
|
|
||||||
the scrape instead. Add ability to specify a
|
|
||||||
fallback_scrape_protocol in the scrape config. #15136
|
|
||||||
- [CHANGE] Remote-write: default enable_http2 to false. #15219
|
|
||||||
- [CHANGE] Scraping: normalize "le" and "quantile" label values
|
|
||||||
upon ingestion. #15164
|
|
||||||
- [CHANGE] Scraping: config scrape_classic_histograms was renamed
|
|
||||||
to always_scrape_classic_histograms. #15178
|
|
||||||
- [CHANGE] Config: remove expand-external-labels flag, expand
|
|
||||||
external labels env vars by default. #14657
|
|
||||||
- [CHANGE] Disallow configuring AM with the v1 api. #13883
|
|
||||||
- [CHANGE] regexp . now matches all characters (performance
|
|
||||||
improvement). #14505
|
|
||||||
- [CHANGE] holt_winters is now called
|
|
||||||
double_exponential_smoothing and moves behind the
|
|
||||||
experimental-promql-functions feature flag. #14930
|
|
||||||
- [CHANGE] API: The OTLP receiver endpoint can now be enabled
|
|
||||||
using --web.enable-otlp-receiver instead of
|
|
||||||
--enable-feature=otlp-write-receiver. #14894
|
|
||||||
- [CHANGE] Prometheus will not add or remove port numbers from
|
|
||||||
the target address. no-default-scrape-port feature flag
|
|
||||||
removed. #14160
|
|
||||||
- [CHANGE] Logging: the format of log lines has changed a little,
|
|
||||||
along with the adoption of Go's Structured Logging package.
|
|
||||||
#14906
|
|
||||||
- [CHANGE] Don't create extra `_created` timeseries if
|
|
||||||
feature-flag created-timestamp-zero-ingestion is enabled.
|
|
||||||
#14738
|
|
||||||
- [CHANGE] Float literals and time durations being the same is
|
|
||||||
now a stable fetaure. #15111
|
|
||||||
- [CHANGE] UI: The old web UI has been replaced by a completely
|
|
||||||
new one that is less cluttered and adds a few new features
|
|
||||||
(PromLens-style tree view, better metrics explorer, "Explain"
|
|
||||||
tab). However, it is still missing some features of the old UI
|
|
||||||
(notably, exemplar display and heatmaps). To switch back to the
|
|
||||||
old UI, you can use the feature flag --enable-feature=old-ui
|
|
||||||
for the time being. #14872
|
|
||||||
- [CHANGE] PromQL: Range selectors and the lookback delta are now
|
|
||||||
left-open, i.e. a sample coinciding with the lower time limit
|
|
||||||
is excluded rather than included. #13904
|
|
||||||
- [CHANGE] Kubernetes SD: Remove support for
|
|
||||||
discovery.k8s.io/v1beta1 API version of EndpointSlice. This
|
|
||||||
version is no longer served as of Kubernetes v1.25. #14365
|
|
||||||
- [CHANGE] Kubernetes SD: Remove support for
|
|
||||||
networking.k8s.io/v1beta1 API version of Ingress. This version
|
|
||||||
is no longer served as of Kubernetes v1.22. #14365
|
|
||||||
- [CHANGE] UTF-8: Enable UTF-8 support by default. Prometheus now
|
|
||||||
allows all UTF-8 characters in metric and label names. The
|
|
||||||
corresponding utf8-name feature flag has been removed. #14705
|
|
||||||
- [CHANGE] Console: Remove example files for the console feature.
|
|
||||||
Users can continue using the console feature by supplying their
|
|
||||||
own JavaScript and templates. #14807
|
|
||||||
- [CHANGE] SD: Enable the new service discovery manager by
|
|
||||||
default. This SD manager does not restart unchanged discoveries
|
|
||||||
upon reloading. This makes reloads faster and reduces pressure
|
|
||||||
on service discoveries' sources. The corresponding
|
|
||||||
new-service-discovery-manager feature flag has been removed.
|
|
||||||
#14770
|
|
||||||
- [CHANGE] Agent mode has been promoted to stable. The feature
|
|
||||||
flag agent has been removed. To run Prometheus in Agent mode,
|
|
||||||
use the new --agent cmdline arg instead. #14747
|
|
||||||
- [CHANGE] Remove deprecated
|
|
||||||
remote-write-receiver,promql-at-modifier, and
|
|
||||||
promql-negative-offset feature flags. #13456, #14526
|
|
||||||
- [CHANGE] Remove deprecated
|
|
||||||
storage.tsdb.allow-overlapping-blocks, alertmanager.timeout,
|
|
||||||
and storage.tsdb.retention flags. #14640, #14643
|
|
||||||
- [FEATURE] OTLP receiver: Ability to skip UTF-8 normalization
|
|
||||||
using otlp.translation_strategy = NoUTF8EscapingWithSuffixes
|
|
||||||
configuration option. #15384
|
|
||||||
- [FEATURE] Support config reload automatically - feature flag
|
|
||||||
auto-reload-config. #14769
|
|
||||||
- [ENHANCEMENT] Scraping, rules: handle targets reappearing, or
|
|
||||||
rules moving group, when out-of-order is enabled. #14710
|
|
||||||
- [ENHANCEMENT] Tools: add debug printouts to promtool rules unit
|
|
||||||
testing #15196
|
|
||||||
- [ENHANCEMENT] Scraping: support Created-Timestamp feature on
|
|
||||||
native histograms. #14694
|
|
||||||
- [ENHANCEMENT] UI: Many fixes and improvements. #14898, #14899,
|
|
||||||
#14907, #14908, #14912, #14913, #14914, #14931, #14940, #14945,
|
|
||||||
#14946, #14972, #14981, #14982, #14994, #15096
|
|
||||||
- [ENHANCEMENT] UI: Web UI now displays notifications, e.g. when
|
|
||||||
starting up and shutting down. #15082
|
|
||||||
- [ENHANCEMENT] PromQL: Introduce exponential interpolation for
|
|
||||||
native histograms. #14677
|
|
||||||
- [ENHANCEMENT] TSDB: Add support for ingestion of out-of-order
|
|
||||||
native histogram samples. #14850, #14546
|
|
||||||
- [ENHANCEMENT] Alerts: remove metrics for removed Alertmanagers.
|
|
||||||
#13909
|
|
||||||
- [ENHANCEMENT] Kubernetes SD: Support sidecar containers in
|
|
||||||
endpoint discovery. #14929
|
|
||||||
- [ENHANCEMENT] Consul SD: Support catalog filters. #11224
|
|
||||||
- [ENHANCEMENT] Move AM discovery page from "Monitoring status"
|
|
||||||
to "Server status". #14875
|
|
||||||
- [PERF] TSDB: Parallelize deletion of postings after head
|
|
||||||
compaction. #14975
|
|
||||||
- [PERF] TSDB: Chunk encoding: shorten some write sequences.
|
|
||||||
#14932
|
|
||||||
- [PERF] TSDB: Grow postings by doubling. #14721
|
|
||||||
- [PERF] Relabeling: Optimize adding a constant label pair.
|
|
||||||
#12180
|
|
||||||
- [BUGFIX] Scraping: Don't log errors on empty scrapes. #15357
|
|
||||||
- [BUGFIX] UI: fix selector / series formatting for empty metric
|
|
||||||
names. #15341
|
|
||||||
- [BUGFIX] PromQL: Fix stddev+stdvar aggregations to always
|
|
||||||
ignore native histograms. #14941
|
|
||||||
- [BUGFIX] PromQL: Fix stddev+stdvar aggregations to treat
|
|
||||||
Infinity consistently. #14941
|
|
||||||
- [BUGFIX] OTLP receiver: Preserve colons when generating metric
|
|
||||||
names in suffix adding mode (this mode is always enabled,
|
|
||||||
unless one uses Prometheus as a library). #15251
|
|
||||||
- [BUGFIX] Scraping: Unit was missing when using protobuf format.
|
|
||||||
#15095
|
|
||||||
- [BUGFIX] PromQL: Only return "possible non-counter" annotation
|
|
||||||
when rate returns points. #14910
|
|
||||||
- [BUGFIX] TSDB: Chunks could have one unnecessary zero byte at
|
|
||||||
the end. #14854
|
|
||||||
- [BUGFIX] "superfluous response.WriteHeader call" messages in
|
|
||||||
log. #14884
|
|
||||||
- [BUGFIX] PromQL: Unary negation of native histograms. #14821
|
|
||||||
- [BUGFIX] PromQL: Handle stale marker in native histogram series
|
|
||||||
(e.g. if series goes away and comes back). #15025
|
|
||||||
- [BUGFIX] Autoreload: Reload invalid yaml files. #14947
|
|
||||||
- [BUGFIX] Scrape: Do not override target parameter labels with
|
|
||||||
config params. #11029
|
|
||||||
- rebased patches to 3.0.0
|
|
||||||
* 0001-Do-not-force-the-pure-Go-name-resolver.patch
|
|
||||||
* 0002-Default-settings.patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Nov 14 13:20:04 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
|
||||||
|
|
||||||
- update to 2.55.1:
|
|
||||||
* [BUGFIX] round() function did not remove __name__ label. #15250
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Oct 23 09:47:24 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
|
||||||
|
|
||||||
- update to 2.55.0:
|
|
||||||
* [FEATURE] PromQL: Add experimental info function. #14495
|
|
||||||
* [FEATURE] Support UTF-8 characters in label names - feature
|
|
||||||
flag utf8-names. #14482, #14880, #14736, #14727
|
|
||||||
* [FEATURE] Scraping: Add the ability to set custom http_headers
|
|
||||||
in config. #14817
|
|
||||||
* [FEATURE] Scraping: Support feature flag
|
|
||||||
created-timestamp-zero-ingestion in OpenMetrics. #14356, #14815
|
|
||||||
* [FEATURE] Scraping: scrape_failure_log_file option to log
|
|
||||||
failures to a file. #14734
|
|
||||||
* [FEATURE] OTLP receiver: Optional promotion of resource
|
|
||||||
attributes to series labels. #14200
|
|
||||||
* [FEATURE] Remote-Write: Support Google Cloud Monitoring
|
|
||||||
authorization. #14346
|
|
||||||
* [FEATURE] Promtool: tsdb create-blocks new option to add
|
|
||||||
labels. #14403
|
|
||||||
* [FEATURE] Promtool: promtool test adds --junit flag to format
|
|
||||||
results. #14506
|
|
||||||
* [FEATURE] TSDB: Add delayed-compaction feature flag, for people
|
|
||||||
running many Prometheus to randomize timing. #12532
|
|
||||||
* [ENHANCEMENT] OTLP receiver: Warn on exponential histograms
|
|
||||||
with zero count and non-zero sum. #14706
|
|
||||||
* [ENHANCEMENT] OTLP receiver: Interrupt translation on context
|
|
||||||
cancellation/timeout. #14612
|
|
||||||
* [ENHANCEMENT] Remote Read client: Enable streaming remote read
|
|
||||||
if the server supports it. #11379
|
|
||||||
* [ENHANCEMENT] Remote-Write: Don't reshard if we haven't
|
|
||||||
successfully sent a sample since last update. #14450
|
|
||||||
* [ENHANCEMENT] PromQL: Delay deletion of __name__ label to the
|
|
||||||
end of the query evaluation. This is experimental and enabled
|
|
||||||
under the feature-flag promql-delayed-name-removal. #14477
|
|
||||||
* [ENHANCEMENT] PromQL: Experimental sort_by_label and
|
|
||||||
sort_by_label_desc sort by all labels when label is equal.
|
|
||||||
#14655, #14985
|
|
||||||
* [ENHANCEMENT] PromQL: Clarify error message logged when Go
|
|
||||||
runtime panic occurs during query evaluation. #14621
|
|
||||||
* [ENHANCEMENT] PromQL: Use Kahan summation for better accuracy
|
|
||||||
in avg and avg_over_time. #14413
|
|
||||||
* [ENHANCEMENT] Tracing: Improve PromQL tracing, including
|
|
||||||
showing the operation performed for aggregates, operators, and
|
|
||||||
calls. #14816
|
|
||||||
* [ENHANCEMENT] API: Support multiple listening addresses. #14665
|
|
||||||
* [ENHANCEMENT] TSDB: Backward compatibility with upcoming index
|
|
||||||
v3. #14934
|
|
||||||
* [PERF] TSDB: Query in-order and out-of-order series together.
|
|
||||||
#14354, #14693, #14714, #14831, #14874, #14948, #15120
|
|
||||||
* [PERF] TSDB: Streamline reading of overlapping out-of-order
|
|
||||||
head chunks. #14729
|
|
||||||
* [BUGFIX] PromQL: make sort_by_label stable. #14985
|
|
||||||
* [BUGFIX] SD: Fix dropping targets (with feature flag
|
|
||||||
new-service-discovery-manager). #13147
|
|
||||||
* [BUGFIX] SD: Stop storing stale targets (with feature flag
|
|
||||||
new-service-discovery-manager). #13622
|
|
||||||
* [BUGFIX] Scraping: exemplars could be dropped in protobuf
|
|
||||||
scraping. #14810
|
|
||||||
* [BUGFIX] Remote-Write: fix metadata sending for experimental
|
|
||||||
Remote-Write V2. #14766
|
|
||||||
* [BUGFIX] Remote-Write: Return 4xx not 5xx when timeseries has
|
|
||||||
duplicate label. #14716
|
|
||||||
* [BUGFIX] Experimental Native Histograms: many fixes for
|
|
||||||
incorrect results, panics, warnings. #14513, #14575, #14598,
|
|
||||||
#14609, #14611, #14771, #14821
|
|
||||||
* [BUGFIX] TSDB: Only count unknown record types in
|
|
||||||
record_decode_failures_total metric. #14042
|
|
||||||
- rebase patches
|
|
||||||
0001-Do-not-force-the-pure-Go-name-resolver.patch and
|
|
||||||
0002-Default-settings.patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Sep 14 15:33:35 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
|
||||||
|
|
||||||
- update to 2.54.1:
|
|
||||||
* [BUGFIX] Scraping: allow multiple samples on same series, with
|
|
||||||
explicit timestamps. #14685
|
|
||||||
* [BUGFIX] Docker SD: fix crash in match_first_network mode when
|
|
||||||
container is reconnected to a new network. #14654
|
|
||||||
* [BUGFIX] PromQL: fix experimental native histogram counter
|
|
||||||
reset detection on stale samples. #14514
|
|
||||||
* [BUGFIX] PromQL: fix experimental native histograms getting
|
|
||||||
corrupted due to vector selector bug in range queries. #14538
|
|
||||||
* [BUGFIX] PromQL: fix experimental native histogram memory
|
|
||||||
corruption when using histogram_count or histogram_sum. #14605
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 16 18:49:21 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
Fri Aug 16 18:49:21 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package golang-github-prometheus-prometheus
|
# spec file for package golang-github-prometheus-prometheus
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2024 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: 3.2.0
|
Version: 2.54.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
|
||||||
@ -55,7 +55,8 @@ BuildRequires: firewall-macros
|
|||||||
# with -buildmode=pie
|
# with -buildmode=pie
|
||||||
BuildRequires: glibc-devel-static
|
BuildRequires: glibc-devel-static
|
||||||
BuildRequires: golang-github-prometheus-promu >= 0.14.0
|
BuildRequires: golang-github-prometheus-promu >= 0.14.0
|
||||||
BuildRequires: golang(API) >= 1.22
|
BuildRequires: golang-packaging
|
||||||
|
BuildRequires: golang(API) >= 1.21
|
||||||
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
|
||||||
@ -67,6 +68,8 @@ Provides: prometheus = %{version}
|
|||||||
ExcludeArch: s390
|
ExcludeArch: s390
|
||||||
%systemd_ordering
|
%systemd_ordering
|
||||||
|
|
||||||
|
%go_nostrip
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Prometheus's main features are:
|
Prometheus's main features are:
|
||||||
- a multi-dimensional data model (time series identified by metric name and key/value pairs)
|
- a multi-dimensional data model (time series identified by metric name and key/value pairs)
|
||||||
@ -82,15 +85,8 @@ Prometheus's main features are:
|
|||||||
%autosetup -D -a2 -p1 -n prometheus-%{version}
|
%autosetup -D -a2 -p1 -n prometheus-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch i586 s390x armv7hl armv7l armv7l:armv6l:armv5tel armv6hl
|
%goprep github.com/prometheus/prometheus
|
||||||
export BUILD_CGO_FLAG="--cgo"
|
GOPATH=%{_builddir}/go promu build -v
|
||||||
%endif
|
|
||||||
export GOFLAGS="-buildmode=pie"
|
|
||||||
promu build -v $BUILD_CGO_FLAG
|
|
||||||
|
|
||||||
%check
|
|
||||||
./prometheus --version
|
|
||||||
./promtool --version
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m0755 %{_builddir}/prometheus-%{version}/prometheus %{buildroot}/%{_bindir}/prometheus
|
install -D -m0755 %{_builddir}/prometheus-%{version}/prometheus %{buildroot}/%{_bindir}/prometheus
|
||||||
@ -102,6 +98,9 @@ install -D -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/prometheus/prometheus.y
|
|||||||
install -d -m 0755 %{buildroot}%{_sbindir}
|
install -d -m 0755 %{buildroot}%{_sbindir}
|
||||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcprometheus
|
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcprometheus
|
||||||
|
|
||||||
|
install -m 0755 -d %{buildroot}%{_datarootdir}/prometheus
|
||||||
|
cp -fr console_libraries/ consoles/ %{buildroot}%{_datarootdir}/prometheus
|
||||||
|
|
||||||
install -m 0755 -d %{buildroot}%{_fillupdir}
|
install -m 0755 -d %{buildroot}%{_fillupdir}
|
||||||
install -m 0644 %{SOURCE5} %{buildroot}%{_fillupdir}/sysconfig.prometheus
|
install -m 0644 %{SOURCE5} %{buildroot}%{_fillupdir}/sysconfig.prometheus
|
||||||
|
|
||||||
@ -115,6 +114,7 @@ install -Dd -m 0750 %{buildroot}%{_localstatedir}/lib/prometheus/data
|
|||||||
install -Dd -m 0750 %{buildroot}%{_localstatedir}/lib/prometheus/metrics
|
install -Dd -m 0750 %{buildroot}%{_localstatedir}/lib/prometheus/metrics
|
||||||
|
|
||||||
install -D -m0644 %{SOURCE7} %{buildroot}/%{_defaultlicensedir}/%{name}/npm_licenses.tar.bz2
|
install -D -m0644 %{SOURCE7} %{buildroot}/%{_defaultlicensedir}/%{name}/npm_licenses.tar.bz2
|
||||||
|
%gofilelist
|
||||||
|
|
||||||
%fdupes %{buildroot}/%{_prefix}
|
%fdupes %{buildroot}/%{_prefix}
|
||||||
|
|
||||||
@ -146,6 +146,7 @@ install -D -m0644 %{SOURCE7} %{buildroot}/%{_defaultlicensedir}/%{name}/npm_lice
|
|||||||
%{_bindir}/promtool
|
%{_bindir}/promtool
|
||||||
%{_unitdir}/prometheus.service
|
%{_unitdir}/prometheus.service
|
||||||
%{_sbindir}/rcprometheus
|
%{_sbindir}/rcprometheus
|
||||||
|
%{_datarootdir}/prometheus
|
||||||
%{_fillupdir}/sysconfig.prometheus
|
%{_fillupdir}/sysconfig.prometheus
|
||||||
%dir %attr(0700,prometheus,prometheus) %{_sharedstatedir}/prometheus
|
%dir %attr(0700,prometheus,prometheus) %{_sharedstatedir}/prometheus
|
||||||
%dir %attr(0700,prometheus,prometheus) %{_sharedstatedir}/prometheus/data
|
%dir %attr(0700,prometheus,prometheus) %{_sharedstatedir}/prometheus/data
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:20fbe8a0c3ddc85830078e55f4b89bf1027e44fc47cf2eb88ddd6a679d99fcca
|
oid sha256:1253e3a02d6a6c774686cb414d69f17b52f6e1b8cd2ca47cd3690cf522061251
|
||||||
size 98454
|
size 168914
|
||||||
|
3
prometheus-2.54.0.tar.gz
Normal file
3
prometheus-2.54.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3425b96304551b524854f9d08d4dbaa70df3e04343b772373040b7217c81b2c7
|
||||||
|
size 6411184
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2f43d8b853a7953682be13fa335e1f77ca2cfdfb7ce0bcbeaa2342897a1f969a
|
|
||||||
size 5128590
|
|
@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:5a5ec03dc69811070b641e58f50edd412e72ec143a1832e04985f6524386a25c
|
oid sha256:2d85b4fb98ec75410384d4d270de0f83554f41ecfe448c2f1c061f975161025c
|
||||||
size 15213970
|
size 14596283
|
||||||
|
3
web-ui-2.54.0.tar.gz
Normal file
3
web-ui-2.54.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:986a7cd4b5ed99f051b5406e27b1e5d2262fcb3dfad2efa356a3ebaad3800351
|
||||||
|
size 3679048
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:752c8b8cc3811b7703ad948e43574e3d027778b44a36eb4791058758cf3d5f67
|
|
||||||
size 8631124
|
|
Loading…
x
Reference in New Issue
Block a user