forked from pool/golang-github-prometheus-prometheus
Compare commits
13 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
856a7343c1 | ||
|
44d1e8c215 | ||
|
be23d61594 | ||
|
3cb6446fe1 | ||
|
11a3929148 | ||
|
86ba1d9abf | ||
|
4be67c824a | ||
|
5a497adb7f | ||
|
00a7f19859 | ||
|
ad7fc9402f | ||
|
e3969aa569 | ||
|
189b2d5ed0 | ||
|
0098cf7301 |
@ -1,4 +1,4 @@
|
||||
From abe26292de2c69a14aa223d2ba866779e63d79cd Mon Sep 17 00:00:00 2001
|
||||
From b47f7e3be0836970dfe48ba476039dc9ac9998b7 Mon Sep 17 00:00:00 2001
|
||||
From: Jan Fajerski <jfajerski@suse.com>
|
||||
Date: Fri, 8 Feb 2019 09:17:06 +0100
|
||||
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(-)
|
||||
|
||||
diff --git a/.promu.yml b/.promu.yml
|
||||
index 0aa51d6d3..06c9c579d 100644
|
||||
index 6feaa6ef6..48d42ee92 100644
|
||||
--- a/.promu.yml
|
||||
+++ b/.promu.yml
|
||||
@@ -12,12 +12,12 @@ build:
|
||||
@ -34,5 +34,5 @@ index 0aa51d6d3..06c9c579d 100644
|
||||
-X github.com/prometheus/common/version.Version={{.Version}}
|
||||
-X github.com/prometheus/common/version.Revision={{.Revision}}
|
||||
--
|
||||
2.44.1
|
||||
2.44.2
|
||||
|
||||
|
@ -1,29 +1,30 @@
|
||||
From 5d505396f2a4e1a9f5fd3ea57113fa58c968518e Mon Sep 17 00:00:00 2001
|
||||
From 2f263c89b6d7acae310f2e5ae384345673b3fe24 Mon Sep 17 00:00:00 2001
|
||||
From: Jan Fajerski <jfajerski@suse.com>
|
||||
Date: Fri, 8 Feb 2019 09:28:12 +0100
|
||||
Subject: [PATCH] Default settings
|
||||
|
||||
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>
|
||||
---
|
||||
cmd/prometheus/main.go | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/cmd/prometheus/main.go b/cmd/prometheus/main.go
|
||||
index 1d844ddba..5580dfa57 100644
|
||||
index bcfbe24a6..447c8919e 100644
|
||||
--- a/cmd/prometheus/main.go
|
||||
+++ b/cmd/prometheus/main.go
|
||||
@@ -288,7 +288,7 @@ func main() {
|
||||
@@ -319,7 +319,7 @@ func main() {
|
||||
a.HelpFlag.Short('h')
|
||||
|
||||
a.Flag("config.file", "Prometheus configuration file path.").
|
||||
- Default("prometheus.yml").StringVar(&cfg.configFile)
|
||||
+ Default("/etc/prometheus/prometheus.yml").StringVar(&cfg.configFile)
|
||||
|
||||
a.Flag("web.listen-address", "Address to listen on for UI, API, and telemetry.").
|
||||
Default("0.0.0.0:9090").StringVar(&cfg.web.ListenAddress)
|
||||
@@ -335,10 +335,10 @@ func main() {
|
||||
Default(supportedRemoteWriteProtoMsgs.Strings()...).SetValue(rwProtoMsgFlagValue(&cfg.web.AcceptRemoteWriteProtoMsgs))
|
||||
a.Flag("config.auto-reload-interval", "Specifies the interval for checking and automatically reloading the Prometheus configuration file upon detecting changes.").
|
||||
Default("30s").SetValue(&cfg.autoReloadInterval)
|
||||
@@ -379,10 +379,10 @@ func main() {
|
||||
Default("false").BoolVar(&cfg.web.EnableOTLPWriteReceiver)
|
||||
|
||||
a.Flag("web.console.templates", "Path to the console template directory, available at /consoles.").
|
||||
- Default("consoles").StringVar(&cfg.web.ConsoleTemplatesPath)
|
||||
@ -35,7 +36,7 @@ index 1d844ddba..5580dfa57 100644
|
||||
|
||||
a.Flag("web.page-title", "Document title of Prometheus instance.").
|
||||
Default("Prometheus Time Series Collection and Processing Server").StringVar(&cfg.web.PageTitle)
|
||||
@@ -347,7 +347,7 @@ func main() {
|
||||
@@ -391,7 +391,7 @@ func main() {
|
||||
Default(".*").StringVar(&cfg.corsRegexString)
|
||||
|
||||
serverOnlyFlag(a, "storage.tsdb.path", "Base path for metrics storage.").
|
||||
@ -45,5 +46,5 @@ index 1d844ddba..5580dfa57 100644
|
||||
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)
|
||||
--
|
||||
2.44.1
|
||||
2.44.2
|
||||
|
||||
|
5
Makefile
5
Makefile
@ -19,8 +19,8 @@ tar:
|
||||
tar -zxf $$wd/$$tar.gz && \
|
||||
cd $$basename && \
|
||||
make assets npm_licenses assets-compress && \
|
||||
tar -cf $$wd/$$web_ui web/ui/static/react && \
|
||||
find web/ui/static -type f -name '*.gz' -exec tar -rf $$wd/$$web_ui "{}" \; && \
|
||||
tar -cf $$wd/$$web_ui web/ui/static/react-app && \
|
||||
find web/ui/static -type f -name '*.gz' -exec tar -rf $$wd/$$web_ui "{}" \; && \
|
||||
tar -rf $$wd/$$web_ui web/ui/embed.go && \
|
||||
cd .. && \
|
||||
echo "Creating web assets tarball" && \
|
||||
@ -28,3 +28,4 @@ tar:
|
||||
cd $$wd && \
|
||||
gzip -f $$web_ui && \
|
||||
rm -rf $$tmpdir
|
||||
echo "Finished successfully"
|
||||
|
6
_service
6
_service
@ -4,15 +4,15 @@
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="revision">v2.54.0</param>
|
||||
<param name="revision">v3.1.0</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="match-tag">v2*</param>
|
||||
<param name="match-tag">v3*</param>
|
||||
</service>
|
||||
<service name="recompress" mode="manual">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
<service name="go_modules" mode="manual">
|
||||
<param name="archive">prometheus-2.54.0.tar.gz</param>
|
||||
<param name="archive">prometheus-3.1.0.tar.gz</param>
|
||||
</service>
|
||||
</services>
|
||||
|
@ -1,3 +1,349 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package golang-github-prometheus-prometheus
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2017 Silvio Moioli <moio@suse.com>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@ -27,7 +27,7 @@
|
||||
%endif
|
||||
|
||||
Name: golang-github-prometheus-prometheus
|
||||
Version: 2.54.0
|
||||
Version: 3.1.0
|
||||
Release: 0
|
||||
Summary: The Prometheus monitoring system and time series database
|
||||
License: Apache-2.0
|
||||
@ -55,8 +55,7 @@ BuildRequires: firewall-macros
|
||||
# with -buildmode=pie
|
||||
BuildRequires: glibc-devel-static
|
||||
BuildRequires: golang-github-prometheus-promu >= 0.14.0
|
||||
BuildRequires: golang-packaging
|
||||
BuildRequires: golang(API) >= 1.21
|
||||
BuildRequires: golang(API) >= 1.22
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} >= 1500
|
||||
Recommends: firewalld-prometheus-config
|
||||
@ -68,8 +67,6 @@ Provides: prometheus = %{version}
|
||||
ExcludeArch: s390
|
||||
%systemd_ordering
|
||||
|
||||
%go_nostrip
|
||||
|
||||
%description
|
||||
Prometheus's main features are:
|
||||
- a multi-dimensional data model (time series identified by metric name and key/value pairs)
|
||||
@ -85,8 +82,15 @@ Prometheus's main features are:
|
||||
%autosetup -D -a2 -p1 -n prometheus-%{version}
|
||||
|
||||
%build
|
||||
%goprep github.com/prometheus/prometheus
|
||||
GOPATH=%{_builddir}/go promu build -v
|
||||
%ifarch i586 s390x armv7hl armv7l armv7l:armv6l:armv5tel armv6hl
|
||||
export BUILD_CGO_FLAG="--cgo"
|
||||
%endif
|
||||
export GOFLAGS="-buildmode=pie"
|
||||
promu build -v $BUILD_CGO_FLAG
|
||||
|
||||
%check
|
||||
./prometheus --version
|
||||
./promtool --version
|
||||
|
||||
%install
|
||||
install -D -m0755 %{_builddir}/prometheus-%{version}/prometheus %{buildroot}/%{_bindir}/prometheus
|
||||
@ -98,9 +102,6 @@ install -D -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/prometheus/prometheus.y
|
||||
install -d -m 0755 %{buildroot}%{_sbindir}
|
||||
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 0644 %{SOURCE5} %{buildroot}%{_fillupdir}/sysconfig.prometheus
|
||||
|
||||
@ -114,7 +115,6 @@ install -Dd -m 0750 %{buildroot}%{_localstatedir}/lib/prometheus/data
|
||||
install -Dd -m 0750 %{buildroot}%{_localstatedir}/lib/prometheus/metrics
|
||||
|
||||
install -D -m0644 %{SOURCE7} %{buildroot}/%{_defaultlicensedir}/%{name}/npm_licenses.tar.bz2
|
||||
%gofilelist
|
||||
|
||||
%fdupes %{buildroot}/%{_prefix}
|
||||
|
||||
@ -146,7 +146,6 @@ install -D -m0644 %{SOURCE7} %{buildroot}/%{_defaultlicensedir}/%{name}/npm_lice
|
||||
%{_bindir}/promtool
|
||||
%{_unitdir}/prometheus.service
|
||||
%{_sbindir}/rcprometheus
|
||||
%{_datarootdir}/prometheus
|
||||
%{_fillupdir}/sysconfig.prometheus
|
||||
%dir %attr(0700,prometheus,prometheus) %{_sharedstatedir}/prometheus
|
||||
%dir %attr(0700,prometheus,prometheus) %{_sharedstatedir}/prometheus/data
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1253e3a02d6a6c774686cb414d69f17b52f6e1b8cd2ca47cd3690cf522061251
|
||||
size 168914
|
||||
oid sha256:06bc551e0dae9777b5ee7f346832c65dad931508b63ae8142dd3f0dfee65f288
|
||||
size 97478
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3425b96304551b524854f9d08d4dbaa70df3e04343b772373040b7217c81b2c7
|
||||
size 6411184
|
3
prometheus-3.1.0.tar.gz
Normal file
3
prometheus-3.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ed412dc48bff63dd3ca5843d54204563b3187ac1aff1be01985fc48bac88cd59
|
||||
size 5100610
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2d85b4fb98ec75410384d4d270de0f83554f41ecfe448c2f1c061f975161025c
|
||||
size 14596283
|
||||
oid sha256:bc64bd5b6e124d5fb679213eced680efbba7460b3d2df61b2e0dbd6bd7270e8f
|
||||
size 15340029
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:986a7cd4b5ed99f051b5406e27b1e5d2262fcb3dfad2efa356a3ebaad3800351
|
||||
size 3679048
|
3
web-ui-3.1.0.tar.gz
Normal file
3
web-ui-3.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:51ed212b299ad034be825dd3a1d4522e9a8c905f605e8560349b8251fd12566c
|
||||
size 8618124
|
Loading…
x
Reference in New Issue
Block a user