SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 
Changelog for golang-github-prometheus-prometheus-2.42.0-2.2.i586.rpm :

* Tue Feb 28 2023 Johannes Kastl - fix building web assets (boo#1208752)- adjust packaging to build webassets locally, outside of OBS
* to get the UI working, newer versions of prometheus need the react app assets
* as running `npm install` inside of OBS is not possible, the required dependencies need to be prepared outside of OBS
* added a PACKAGING_README.md file, that explains how the new web-ui-
*.tar.gz and npm_licenses.tar.bz2 tarballs can be created
* Thu Feb 02 2023 Johannes Kastl - update to 2.42.0: This release comes with a bunch of feature coverage for native histograms and breaking changes. If you are trying native histograms already, we recommend you remove the `wal` directory when upgrading. Because the old WAL record for native histograms is not backward compatible in v2.42.0, this will lead to some data loss for the latest data. Additionally, if you scrape \"float histograms\" or use recording rules on native histograms in v2.42.0 (which writes float histograms), it is a one-way street since older versions do not support float histograms.
* [CHANGE]
*
*breaking
*
* TSDB: Changed WAL record format for the experimental native histograms. #11783
* [FEATURE] Add \'keep_firing_for\' field to alerting rules. [#11827]
* [FEATURE] Promtool: Add support of selecting timeseries for TSDB dump. #11872
* [ENHANCEMENT] Agent: Native histogram support. #11842
* [ENHANCEMENT] Rules: Support native histograms in recording rules. #11838
* [ENHANCEMENT] SD: Add container ID as a meta label for pod targets for Kubernetes. #11844
* [ENHANCEMENT] SD: Add VM size label to azure service discovery. #11650
* [ENHANCEMENT] Support native histograms in federation. #11830
* [ENHANCEMENT] TSDB: Add gauge histogram support. [#11783] #11840 #11814
* [ENHANCEMENT] TSDB/Scrape: Support FloatHistogram that represents buckets as float64 values. #11522 #11817 #11716
* [ENHANCEMENT] UI: Show individual scrape pools on /targets page. #11142
* Tue Jan 10 2023 Johannes Kastl - 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 AATT 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, bsc#1208049).- 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 07 2022 Julio González Gil - Build firewalld-prometheus-config only for SUSE Linux Enterprise 15, 15.1 and 15.2, and require firewalld for it- firewalld-prometheus-config needs to be a Recommends, not a Requires, as prometheus does not require it to run
* Fri Mar 18 2022 Witek Bedyk - Create firewalld-prometheus-config subpackage (bsc#1197042, jsc#SLE-24374, jsc#SLE-24375)
* Mon Mar 07 2022 Witek Bedyk - Update vendor tarball with prometheus/client_golang 1.12.1 (bsc#1196338)
* Added 0003-Bump-client_golang-to-1.12.1.patch
* Tue Feb 22 2022 Witek Bedyk - Fix Firewalld configuration file location (bsc#1196300)
* Fri Feb 18 2022 Witek Bedyk - Require Go 1.16+- Do not build on s390 architecture.
* Wed Jan 19 2022 Witek Bedyk - Updated patches: + Changed:
* 0002-Default-settings.patch + Removed:
* 0003-Add-Uyuni-service-discovery.patch- Use obs-service-go_modules- Upgrade to upstream version 2.32.1 (jsc#SLE-22863) + Bugfixes:
* Scrape: Fix reporting metrics when sample limit is reached during the report. #9996
* Scrape: Ensure that scrape interval and scrape timeout are always set. #10023
* TSDB: Expose and fix bug in iterators\' Seek() method. #10030- Upgrade to upstream version 2.32.0 + Change:
* remote-write: Change default max retry time from 100ms to 5 seconds. #9634 + Features:
* Agent: New mode of operation optimized for remote-write only scenarios, without local storage.
* Promtool: Add promtool check service-discovery command. #8970 + Enhancements:
* Promtool: Improve test output. #8064
* Promtool: Use kahan summation for better numerical stability.
* Remote-write: Reuse memory for marshalling. #9412
* Scrape: Add scrape_body_size_bytes scrape metric behind the - -enable-feature=extra-scrape-metrics flag. #9569
* TSDB: Add windows arm64 support. #9703
* TSDB: Optimize query by skipping unneeded sorting in TSDB.
* Templates: Support int and uint as datatypes for template formatting. #9680
* UI: Prefer rate over rad, delta over deg, and count over cos in autocomplete. #9688 + Bugfixes:
* TSDB: Add more size checks when writing individual sections in the index. #9710
* PromQL: Make deriv() return zero values for constant series.
* TSDB: Fix panic when checkpoint directory is empty. #9687
* TSDB: Fix panic, out of order chunks, and race warning during WAL replay. #9856
* UI: Correctly render links for targets with IPv6 addresses that contain a Zone ID. #9853
* Promtool: Fix checking of authorization.credentials_file and bearer_token_file fields. #9883
* Uyuni SD: Fix null pointer exception during initialization.
* TSDB: Fix queries after a failed snapshot replay. #9980- Upgrade to upstream version 2.31.1 + Bugfix:
* SD: Fix a panic when the experimental discovery manager receives targets during a reload. #9656- Upgrade to upstream version 2.31.0 + Change:
* UI: Remove standard PromQL editor in favour of the codemirror-based editor. #9452 + Features:
* PromQL: Add trigonometric functions and atan2 binary operator. #9239 #9248 #9515
* Remote: Add support for exemplar in the remote write receiver endpoint. #9319 #9414
* SD: Add PuppetDB service discovery. #8883
* SD: Add Uyuni service discovery. #8190
* Web: Add support for security-related HTTP headers. #9546 + Enhancements:
* Azure SD: Add proxy_url, follow_redirects, tls_config. #9267
* Backfill: Add --max-block-duration in promtool create-blocks-from rules. #9511
* Config: Print human-readable sizes with unit instead of raw numbers. #9361
* HTTP: Re-enable HTTP/2. #9398
* Kubernetes SD: Warn user if number of endpoints exceeds limit. #9467
* OAuth2: Add TLS configuration to token requests. #9550
* PromQL: Several optimizations. #9365 #9360 #9362 #9552
* PromQL: Make aggregations deterministic in instant queries.
* Rules: Add the ability to limit number of alerts or series.
* SD: Experimental discovery manager to avoid restarts upon reload.
* UI: Debounce timerange setting changes. #9359 + Bugfixes:
* Backfill: Apply rule labels after query labels. #9421
* Scrape: Resolve conflicts between multiple exported label prefixes. #9479 #9518
* Scrape: Restart scrape loops when __scrape_interval__ is changed. #9551
* TSDB: Fix memory leak in samples deletion. #9151
* UI: Use consistent margin-bottom for all alert kinds. #9318- Upgrade to upstream version 2.30.3 + Bugfixes:
* TSDB: Fix panic on failed snapshot replay. #9438
* TSDB: Don\'t fail snapshot replay with exemplar storage disabled when the snapshot contains exemplars. #9438- Upgrade to upstream version 2.30.2 + Bugfix:
* TSDB: Don\'t error on overlapping m-mapped chunks during WAL replay. #9381- Upgrade to upstream version 2.30.1 + Enhancements:
* Remote Write: Redact remote write URL when used for metric label. #9383
* UI: Redact remote write URL and proxy URL passwords in the /config page. #9408 + Bugfixes:
* promtool rules backfill: Prevent creation of data before the start time. #9339
* promtool rules backfill: Do not query after the end time.
* Azure SD: Fix panic when no computername is set. #9387- Upgrade to upstream version 2.30.0 + Features:
* experimental TSDB: Snapshot in-memory chunks on shutdown for faster restarts. #7229
* experimental Scrape: Configure scrape interval and scrape timeout via relabeling using __scrape_interval__ and __scrape_timeout__ labels respectively. #8911
* Scrape: Add scrape_timeout_seconds and scrape_sample_limit metric. #9247 #9295 + Enhancements:
* Scrape: Add --scrape.timestamp-tolerance flag to adjust scrape timestamp tolerance when enabled via - -scrape.adjust-timestamps. #9283
* Remote Write: Improve throughput when sending exemplars.
* TSDB: Optimise WAL loading by removing extra map and caching min-time #9160
* promtool: Speed up checking for duplicate rules. #9262/#9306
* Scrape: Reduce allocations when parsing the metrics. #9299
* docker_sd: Support host network mode #9125 + Bugfixes:
* Exemplars: Fix panic when resizing exemplar storage from 0 to a non-zero size. #9286
* TSDB: Correctly decrement prometheus_tsdb_head_active_appenders when the append has no samples. #9230
* promtool rules backfill: Return 1 if backfill was unsuccessful. #9303
* promtool rules backfill: Avoid creation of overlapping blocks. #9324
* config: Fix a panic when reloading configuration with a null relabel action. #9224- Upgrade to upstream version 2.29.2 + Bugfixes:
* Fix Kubernetes SD failing to discover Ingress in Kubernetes v1.22. #9205
* Fix data race in loading write-ahead-log (WAL). #9259- Upgrade to upstream version 2.29.1 + Bugfixes:
* TSDB: align atomically accessed int64 to prevent panic in 32-bit archs. #9192- Upgrade to upstream version 2.29.0 + Changes:
* Promote --storage.tsdb.allow-overlapping-blocks flag to stable. #9117
* Promote --storage.tsdb.retention.size flag to stable. #9004 + Features:
* Add Kuma service discovery. #8844
* Add present_over_time PromQL function. #9097
* Allow configuring exemplar storage via file and make it reloadable. #8974
* UI: Allow selecting time range with mouse drag. #8977
* promtool: Add feature flags flag --enable-feature. #8958
* promtool: Add file_sd file validation. #8950 + Enhancements:
* Reduce blocking of outgoing remote write requests from series garbage collection. #9109
* Improve write-ahead-log decoding performance. #9106
* Improve append performance in TSDB by reducing mutexes usage.
* Allow configuring max_samples_per_send for remote write metadata. #8959
* Add __meta_gce_interface_ipv4_ meta label to GCE discovery. #8978
* Add __meta_ec2_availability_zone_id meta label to EC2 discovery. #8896
* Add __meta_azure_machine_computer_name meta label to Azure discovery. #9112
* Add __meta_hetzner_hcloud_labelpresent_ meta label to Hetzner discovery. #9028
* promtool: Add compaction efficiency to promtool tsdb analyze reports. #8940
* promtool: Allow configuring max block duration for backfilling via --max-block-duration flag. #8919
* UI: Add sorting and filtering to flags page. #8988
* UI: Improve alerts page rendering performance. #9005 + Bugfixes:
* Log when total symbol size exceeds 2^32 bytes, causing compaction to fail, and skip compaction. #9104
* Fix incorrect target_limit reloading of zero value. #9120
* Fix head GC and pending readers race condition. #9081
* Fix timestamp handling in OpenMetrics parser. #9008
* Fix potential duplicate metrics in /federate endpoint when specifying multiple matchers. #8885
* Fix server configuration and validation for authentication via client cert. #9123
* Allow start and end again as label names in PromQL queries. They were disallowed since the introduction of AATT timestamp feature. #9119- Upgrade to upstream version 2.28.1 + Bugfixes:
* HTTP SD: Allow charset specification in Content-Type header.
* HTTP SD: Fix handling of disappeared target groups. #9019
* Fix incorrect log-level handling after moving to go-kit/log.- Upgrade to upstream version 2.28.0 + Change:
* UI: Make the new experimental PromQL editor the default. + Features:
* Linode SD: Add Linode service discovery. #8846
* HTTP SD: Add generic HTTP-based service discovery. #8839
* Kubernetes SD: Allow configuring API Server access via a kubeconfig file. #8811
* UI: Add exemplar display support to the graphing interface.
* Consul SD: Add namespace support for Consul Enterprise. #8900 + Enhancements:
* Promtool: Allow silencing output when importing / backfilling data. #8917
* Consul SD: Support reading tokens from file. #8926
* Rules: Add a new .ExternalURL alert field templating variable, containing the external URL of the Prometheus server. #8878
* Scrape: Add experimental body_size_limit scrape configuration setting to limit the allowed response body size for target scrapes. #8833 #8886
* Kubernetes SD: Add ingress class name label for ingress discovery. #8916
* UI: Show a startup screen with progress bar when the TSDB is not ready yet. #8662 #8908 #8909 #8946
* SD: Add a target creation failure counter prometheus_target_sync_failed_total and improve target creation failure handling. #8786
* TSDB: Improve validation of exemplar label set length. #8816
* TSDB: Add a prometheus_tsdb_clean_start metric that indicates whether a TSDB lockfile from a previous run still existed upon startup. #8824 + Bugfixes:
* UI: In the experimental PromQL editor, fix autocompletion and parsing for special float values and improve series metadata fetching. #8856
* TSDB: When merging chunks, split resulting chunks if they would contain more than the maximum of 120 samples. #8582
* SD: Fix the computation of the prometheus_sd_discovered_targets metric when using multiple service discoveries. #8828
* Mon Sep 20 2021 Johannes Segitz - Added hardening to systemd service(s) (bsc#1181400). Modified:
* prometheus.service
* Thu Jul 08 2021 Witek Bedyk - Provide and reload firewalld configuration only for: + openSUSE Leap 15.0, 15.1, 15.2 + SUSE SLE15, SLE15 SP1, SLE15 SP2
* Wed May 19 2021 Daniel Molkentin - Refresh patches + Changed:
* 0001-Do-not-force-the-pure-Go-name-resolver.patch
* 0002-Default-settings.patch
* 0003-Add-Uyuni-service-discovery.patch- Upgrade to upstream version 2.27.1 (jsc#SLE-18254) + Bugfix:
* SECURITY: Fix arbitrary redirects under the /new endpoint (CVE-2021-29622, bsc#1186242)- Upgrade to upstream version 2.27.0 + Features:
* Promtool: Retroactive rule evaluation functionality. #7675
* Configuration: Environment variable expansion for external labels. Behind --enable-feature=expand-external-labels flag. #8649
* TSDB: Add a flag(--storage.tsdb.max-block-chunk-segment-size) to control the max chunks file size of the blocks for small Prometheus instances. #8478
* UI: Add a dark theme. #8604
* AWS Lightsail Discovery: Add AWS Lightsail Discovery. #8693
* Docker Discovery: Add Docker Service Discovery. #8629
* OAuth: Allow OAuth 2.0 to be used anywhere an HTTP client is used. #8761
* Remote Write: Send exemplars via remote write. Experimental and disabled by default. #8296 + Enhancements:
* Digital Ocean Discovery: Add __meta_digitalocean_vpc label. #8642
* Scaleway Discovery: Read Scaleway secret from a file. #8643
* Scrape: Add configurable limits for label size and count. #8777
* UI: Add 16w and 26w time range steps. #8656
* Templating: Enable parsing strings in humanize functions. #8682 + Bugfixes:
* UI: Provide errors instead of blank page on TSDB Status Page. #8654 #8659
* TSDB: Do not panic when writing very large records to the WAL. #8790
* TSDB: Avoid panic when mmaped memory is referenced after the file is closed. #8723
* Scaleway Discovery: Fix nil pointer dereference. #8737
* Consul Discovery: Restart no longer required after config update with no targets. #8766
* Tue May 04 2021 Witek Bedyk - Add tarball with vendor modules and web assets- Uyuni: Read formula data from exporters map- Uyuni: Add support for TLS targets + Changed:
* 0003-Add-Uyuni-service-discovery.patch
* 0002-Default-settings.patch Changed
* 0003-Add-Uyuni-service-discovery.patch- Upgrade to upstream version 2.26.0 + Changes
* Alerting: Using Alertmanager v2 API by default. #8626
* Prometheus/Promtool: Binaries are now printing help and usage to stdout instead of stderr. #8542 + Features
* Remote: Add support for AWS SigV4 auth method for remote_write. #8509
* PromQL: Allow negative offsets. Behind --enable-feature=promql-negative-offset flag. #8487
* UI: Add advanced auto-completion, syntax highlighting and linting to graph page query input. #8634 + Enhancements
* PromQL: Add last_over_time, sgn, clamp functions. #8457
* Scrape: Add support for specifying type of Authorization header credentials with Bearer by default. #8512
* Scrape: Add follow_redirects option to scrape configuration. #8546
* Remote: Allow retries on HTTP 429 response code for remote_write. #8237 #8477
* Remote: Allow configuring custom headers for remote_read. #8516
* UI: Hitting Enter now triggers new query. #8581
* UI: Better handling of long rule and names on the /rules and /targets pages. #8608 #8609
* UI: Add collapse/expand all button on the /targets page. #8486- Upgrade to upstream version 2.25.0 + Features
* Include a new `--enable-feature=` flag that enables experimental features. + Enhancements
* Add optional name property to testgroup for better test failure output. #8440
* Add warnings into React Panel on the Graph page. #8427
* TSDB: Increase the number of buckets for the compaction duration metric. #8342
* Remote: Allow passing along custom remote_write HTTP headers. #8416
* Mixins: Scope grafana configuration. #8332
* Kubernetes SD: Add endpoint labels metadata. #8273
* UI: Expose total number of label pairs in head in TSDB stats page. #8343
* TSDB: Reload blocks every minute, to detect new blocks and enforce retention more often. #8343 + Bug fixes
* API: Fix global URL when external address has no port. #8359
* Deprecate unused flag --alertmanager.timeout. #8407- Upgrade to upstream version 2.24.1 + Enhancements
* Cache basic authentication results to significantly improve performance of HTTP endpoints.- Upgrade to upstream version 2.24.0 + Features
* Add TLS and basic authentication to HTTP endpoints. #8316
* promtool: Add check web-config subcommand to check web config files. #8319
* promtool: Add tsdb create-blocks-from openmetrics subcommand to backfill metrics data from an OpenMetrics file. #8084 + Enhancements
* HTTP API: Fast-fail queries with only empty matchers. #8288
* HTTP API: Support matchers for labels API. #8301
* promtool: Improve checking of URLs passed on the command line. #7956
* SD: Expose IPv6 as a label in EC2 SD. #7086
* SD: Reuse EC2 client, reducing frequency of requesting credentials. #8311
* TSDB: Add logging when compaction takes more than the block time range. #8151
* TSDB: Avoid unnecessary GC runs after compaction. #8276- Upgrade to upstream version 2.23.0 + Changes
* UI: Make the React UI default. #8142
* Remote write: The following metrics were removed/renamed in remote write. #6815 > prometheus_remote_storage_succeeded_samples_total was removed and prometheus_remote_storage_samples_total was introduced for all the samples attempted to send. > prometheus_remote_storage_sent_bytes_total was removed and replaced with prometheus_remote_storage_samples_bytes_total and prometheus_remote_storage_metadata_bytes_total. > prometheus_remote_storage_failed_samples_total -> prometheus_remote_storage_samples_failed_total . > prometheus_remote_storage_retried_samples_total -> prometheus_remote_storage_samples_retried_total. > prometheus_remote_storage_dropped_samples_total -> prometheus_remote_storage_samples_dropped_total. > prometheus_remote_storage_pending_samples -> prometheus_remote_storage_samples_pending.
* Remote: Do not collect non-initialized timestamp metrics. #8060 + Enhancements
* Remote write: Added a metric prometheus_remote_storage_max_samples_per_send for remote write. #8102
* TSDB: Make the snapshot directory name always the same length. #8138
* TSDB: Create a checkpoint only once at the end of all head compactions. #8067
* TSDB: Avoid Series API from hitting the chunks. #8050
* TSDB: Cache label name and last value when adding series during compactions making compactions faster. #8192
* PromQL: Improved performance of Hash method making queries a bit faster. #8025
* promtool: tsdb list now prints block sizes. #7993
* promtool: Calculate mint and maxt per test avoiding unnecessary calculations. #8096
* SD: Add filtering of services to Docker Swarm SD. #8074
* Tue Mar 09 2021 Witek Bedyk - Uyuni: `hostname` label is now set to FQDN instead of IP + Changed:
* 0003-Add-Uyuni-service-discovery.patch
* Mon Nov 09 2020 Stefano Torresi - Update to upstream version 2.22.1- Update packaging
* Remove systemd and shadow hard requirements
* use systemd-sysusers to configure the user in a dedicated \'system-user-prometheus\' subpackage
* add \'prometheus\' package alias
* Mon Aug 31 2020 Patrick Seidensal - Update package with changes from `server:monitoring` bsc#1175478 Left out removal of firewalld related configuration files as SLE-15-SP1\'s `firewalld` package does not contain prometheus configuration yet.
* Fri Jul 31 2020 Witek Bedyk - Update 0003-Add-Uyuni-service-discovery.patch: + Add support for Prometheus exporters proxy
* Wed Jun 03 2020 Joao Cavalheiro - Update change log and spec file + Modified spec file: default to golang 1.14 to avoid \"have choice\" build issues in OBS. + Rebase and update patches for version 2.18.0 + Changed:
* 0001-Do-not-force-the-pure-Go-name-resolver.patch
* 0002-Default-settings.patch Changed
* 0003-Add-Uyuni-service-discovery.patch- Update to 2.18.0 + Features
* Tracing: Added experimental Jaeger support #7148 + Changes
* Federation: Only use local TSDB for federation (ignore remote read). #7096
* Rules: `rule_evaluations_total` and `rule_evaluation_failures_total` have a `rule_group` label now. #7094 + Enhancements
* TSDB: Significantly reduce WAL size kept around after a block cut. #7098
* Discovery: Add `architecture` meta label for EC2. #7000 + Bug fixes
* UI: Fixed wrong MinTime reported by /status. #7182
* React UI: Fixed multiselect legend on OSX. #6880
* Remote Write: Fixed blocked resharding edge case. #7122
* Remote Write: Fixed remote write not updating on relabel configs change. #7073- Changes from 2.17.2 + Bug fixes
* Federation: Register federation metrics #7081
* PromQL: Fix panic in parser error handling #7132
* Rules: Fix reloads hanging when deleting a rule group that is being evaluated #7138
* TSDB: Fix a memory leak when prometheus starts with an empty TSDB WAL #7135
* TSDB: Make isolation more robust to panics in web handlers #7129 #7136- Changes from 2.17.1 + Bug fixes
* TSDB: Fix query performance regression that increased memory and CPU usage #7051- Changes from 2.17.0 + Features
* TSDB: Support isolation #6841
* This release implements isolation in TSDB. API queries and recording rules are guaranteed to only see full scrapes and full recording rules. This comes with a certain overhead in resource usage. Depending on the situation, there might be some increase in memory usage, CPU usage, or query latency. + Enhancements
* PromQL: Allow more keywords as metric names #6933
* React UI: Add normalization of localhost URLs in targets page #6794
* Remote read: Read from remote storage concurrently #6770
* Rules: Mark deleted rule series as stale after a reload #6745
* Scrape: Log scrape append failures as debug rather than warn #6852
* TSDB: Improve query performance for queries that partially hit the head #6676
* Consul SD: Expose service health as meta label #5313
* EC2 SD: Expose EC2 instance lifecycle as meta label #6914
* Kubernetes SD: Expose service type as meta label for K8s service role #6684
* Kubernetes SD: Expose label_selector and field_selector #6807
* Openstack SD: Expose hypervisor id as meta label #6962 + Bug fixes
* PromQL: Do not escape HTML-like chars in query log #6834 #6795
* React UI: Fix data table matrix values #6896
* React UI: Fix new targets page not loading when using non-ASCII characters #6892
* Remote read: Fix duplication of metrics read from remote storage with external labels #6967 #7018
* Remote write: Register WAL watcher and live reader metrics for all remotes, not just the first one #6998
* Scrape: Prevent removal of metric names upon relabeling #6891
* Scrape: Fix \'superfluous response.WriteHeader call\' errors when scrape fails under some circonstances #6986
* Scrape: Fix crash when reloads are separated by two scrape intervals #7011- Changes from 2.16.0 + Features
* React UI: Support local timezone on /graph #6692
* PromQL: add absent_over_time query function #6490
* Adding optional logging of queries to their own file #6520 + Enhancements
* React UI: Add support for rules page and \"Xs ago\" duration displays #6503
* React UI: alerts page, replace filtering togglers tabs with checkboxes #6543
* TSDB: Export metric for WAL write errors #6647
* TSDB: Improve query performance for queries that only touch the most recent 2h of data. #6651
* PromQL: Refactoring in parser errors to improve error messages #6634
* PromQL: Support trailing commas in grouping opts #6480
* Scrape: Reduce memory usage on reloads by reusing scrape cache #6670
* Scrape: Add metrics to track bytes and entries in the metadata cache #6675
* promtool: Add support for line-column numbers for invalid rules output #6533
* Avoid restarting rule groups when it is unnecessary #6450 + Bug fixes
* React UI: Send cookies on fetch() on older browsers #6553
* React UI: adopt grafana flot fix for stacked graphs #6603
* React UI: broken graph page browser history so that back button works as expected #6659
* TSDB: ensure compactionsSkipped metric is registered, and log proper error if one is returned from head.Init #6616
* TSDB: return an error on ingesting series with duplicate labels #6664
* PromQL: Fix unary operator precedence #6579
* PromQL: Respect query.timeout even when we reach query.max-concurrency #6712
* PromQL: Fix string and parentheses handling in engine, which affected React UI #6612
* PromQL: Remove output labels returned by absent() if they are produced by multiple identical label matchers #6493
* Scrape: Validate that OpenMetrics input ends with `# EOF` #6505
* Remote read: return the correct error if configs can\'t be marshal\'d to JSON #6622
* Remote write: Make remote client `Store` use passed context, which can affect shutdown timing #6673
* Remote write: Improve sharding calculation in cases where we would always be consistently behind by tracking pendingSamples #6511
* Ensure prometheus_rule_group metrics are deleted when a rule group is removed #6693- Changes from 2.15.2 + Bug fixes
* TSDB: Fixed support for TSDB blocks built with Prometheus before 2.1.0. #6564
* TSDB: Fixed block compaction issues on Windows. #6547- Changes from 2.15.1 + Bug fixes
* TSDB: Fixed race on concurrent queries against same data. #6512- Changes from 2.15.0 + Features
* API: Added new endpoint for exposing per metric metadata `/metadata`. #6420 #6442 + Changes
* Discovery: Removed `prometheus_sd_kubernetes_cache_
*` metrics. Additionally `prometheus_sd_kubernetes_workqueue_latency_seconds` and `prometheus_sd_kubernetes_workqueue_work_duration_seconds` metrics now show correct values in seconds. #6393
* Remote write: Changed `query` label on `prometheus_remote_storage_
*` metrics to `remote_name` and `url`. #6043 + Enhancements
* TSDB: Significantly reduced memory footprint of loaded TSDB blocks. #6418 #6461
* TSDB: Significantly optimized what we buffer during compaction which should result in lower memory footprint during compaction. #6422 #6452 #6468 #6475
* TSDB: Improve replay latency. #6230
* TSDB: WAL size is now used for size based retention calculation. #5886
* Remote read: Added query grouping and range hints to the remote read request #6401
* Remote write: Added `prometheus_remote_storage_sent_bytes_total` counter per queue. #6344
* promql: Improved PromQL parser performance. #6356
* React UI: Implemented missing pages like `/targets` #6276, TSDB status page #6281 #6267 and many other fixes and performance improvements.
* promql: Prometheus now accepts spaces between time range and square bracket. e.g `[ 5m]` #6065 + Bug fixes
* Config: Fixed alertmanager configuration to not miss targets when configurations are similar. #6455
* Remote write: Value of `prometheus_remote_storage_shards_desired` gauge shows raw value of desired shards and it\'s updated correctly. #6378
* Rules: Prometheus now fails the evaluation of rules and alerts where metric results collide with labels specified in `labels` field. #6469
* API: Targets Metadata API `/targets/metadata` now accepts empty `match_targets` parameter as in the spec. #6303- Changes from 2.14.0 + Features
* API: `/api/v1/status/runtimeinfo` and `/api/v1/status/buildinfo` endpoints added for use by the React UI. #6243
* React UI: implement the new experimental React based UI. #5694 and many more
* Can be found by under `/new`.
* Not all pages are implemented yet.
* Status: Cardinality statistics added to the Runtime & Build Information page. #6125 + Enhancements
* Remote write: fix delays in remote write after a compaction. #6021
* UI: Alerts can be filtered by state. #5758 + Bug fixes
* Ensure warnings from the API are escaped. #6279
* API: lifecycle endpoints return 403 when not enabled. #6057
* Build: Fix Solaris build. #6149
* Promtool: Remove false duplicate rule warnings when checking rule files with alerts. #6270
* Remote write: restore use of deduplicating logger in remote write. #6113
* Remote write: do not reshard when unable to send samples. #6111
* Service discovery: errors are no longer logged on context cancellation. #6116, #6133
* UI: handle null response from API properly. #6071- Changes from 2.13.1 + Bug fixes
* Fix panic in ARM builds of Prometheus. #6110
* promql: fix potential panic in the query logger. #6094
* Multiple errors of http: superfluous response.WriteHeader call in the logs. #6145- Changes from 2.13.0 + Enhancements
* Metrics: renamed prometheus_sd_configs_failed_total to prometheus_sd_failed_configs and changed to Gauge #5254
* Include the tsdb tool in builds. #6089
* Service discovery: add new node address types for kubernetes. #5902
* UI: show warnings if query have returned some warnings. #5964
* Remote write: reduce memory usage of the series cache. #5849
* Remote read: use remote read streaming to reduce memory usage. #5703
* Metrics: added metrics for remote write max/min/desired shards to queue manager. #5787
* Promtool: show the warnings during label query. #5924
* Promtool: improve error messages when parsing bad rules. #5965
* Promtool: more promlint rules. #5515 + Bug fixes
* UI: Fix a Stored DOM XSS vulnerability with query history [CVE-2019-10215](http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-10215). #6098
* Promtool: fix recording inconsistency due to duplicate labels. #6026
* UI: fixes service-discovery view when accessed from unhealthy targets. #5915
* Metrics format: OpenMetrics parser crashes on short input. #5939
* UI: avoid truncated Y-axis values. #6014- Changes from 2.12.0 + Features
* Track currently active PromQL queries in a log file. #5794
* Enable and provide binaries for `mips64` / `mips64le` architectures. #5792 + Enhancements
* Improve responsiveness of targets web UI and API endpoint. #5740
* Improve remote write desired shards calculation. #5763
* Flush TSDB pages more precisely. tsdb#660
* Add `prometheus_tsdb_retention_limit_bytes` metric. tsdb#667
* Add logging during TSDB WAL replay on startup. tsdb#662
* Improve TSDB memory usage. tsdb#653, tsdb#643, tsdb#654, tsdb#642, tsdb#627 + Bug fixes
* Check for duplicate label names in remote read. #5829
* Mark deleted rules\' series as stale on next evaluation. #5759
* Fix JavaScript error when showing warning about out-of-sync server time. #5833
* Fix `promtool test rules` panic when providing empty `exp_labels`. #5774
* Only check last directory when discovering checkpoint number. #5756
* Fix error propagation in WAL watcher helper functions. #5741
* Correctly handle empty labels from alert templates. #5845
* Wed May 13 2020 Joao Cavalheiro - Update Uyuni/SUSE Manager service discovery patch + Modified 0003-Add-Uyuni-service-discovery.patch: + Adapt service discovery to the new Uyuni API endpoints + Modified spec file: force golang 1.12 to fix build issues in SLE15SP2
* Mon Jan 27 2020 Witek Bedyk - Update to Prometheus 2.11.2
 
ICM