-------------------------------------------------------------------
Mon Apr 29 09:53:55 UTC 2019 - Jan Fajerski <jan.fajerski@suse.com>

- add explict glibc-devel-static installation for ppc64le

-------------------------------------------------------------------
Thu Feb 21 10:55:41 UTC 2019 - Jan Fajerski <jan.fajerski@suse.com>

- Update to 2.3.2
  + Bug Fixes:
    * Fix various tsdb bugs (bsc#1126139)
    * Reorder startup and shutdown to prevent panics.
    * Exit with non-zero code on error
    * discovery/kubernetes/ingress: fix scheme discovery
    * Fix race in zookeeper sd
    * Better timeout handling in promql
    * Propogate errors when selecting series from the tsdb
- Update to 2.3.1
  + Bug Fixes:
    * Avoid infinite loop on duplicate NaN values.
    * Fix nil pointer deference when using various API endpoints
    * config: set target group source index during unmarshalling
    * discovery/file: fix logging
    * kubernetes_sd: fix namespace filtering
    * web: restore old path prefix behavior
    * web: remove security headers added in 2.3.0
- Update to 2.3.0
  + marathon_sd: use auth_token and auth_token_file for token-based authentication
    instead of bearer_token and bearer_token_file respectively
  + Metric names for HTTP server metrics changed
  + Features:
    * Add query commands to promtool
    * Add security headers to HTTP server responses
    * Pass query hints via remote read API
    * Basic auth passwords can now be configured via file across all configuration
  + Enhancements:
    * Optimise PromQL and API serialization for memory usage and allocations
    * Limit number of dropped targets in web UI
    * Consul and EC2 service discovery allow using server-side filtering for performance improvement
    * Add advanced filtering configuration to EC2 service discovery
    * marathon_sd: adds support for basic and bearer authentication, plus all
      other common HTTP client options (TLS config, proxy URL, etc.)
    * Provide machine type metadata and labels in GCE service discovery
    * Add pod controller kind and name to Kubernetes service discovery data
    * Move TSDB to flock-based log file that works with Docker containers
  + Bug Fixes:
    * Properly propagate storage errors in PromQL
    * Fix path prefix for web pages
    * Fix goroutine leak in Consul service discovery
    * Fix races in scrape manager
    * Fix OOM for very large k in PromQL topk() queries
    * Make remote write more resilient to unavailable receivers
    * Make remote write shutdown cleanly
    * Don't leak files on errors in TSDB's tombstone cleanup
    * Unary minus expressions now removes the metric name from results
    * Fix bug that lead to wrong amount of samples considered for time range expressions
- Update to 2.2.1
  + Bug Fixes:
    * Fix data loss in TSDB on compaction
    * Correctly stop timer in remote-write path
    * Fix deadlock triggered by loading targets page
    * Fix incorrect buffering of samples on range selection queries
    * Handle large index files on windows properly
- Update to 2.2.0
  + This release introduces improvements to the storage format and fixes a
    regression introduced in 2.1. As a result Prometheus servers upgraded
    to 2.2 cannot be downgraded to a lower version anymore!
  + Rename file SD mtime metric
  + Send target update on empty pod IP in Kubernetes SD
  + Features:
    * Add API endpoint for flags.
    * Add API endpoint for dropped targets.
    * Display annotations on alerts page.
    * Add option to skip head data when taking snapshots
  + Enhancements:
    * Federation performance improvement.
    * Read bearer token file on every scrape.
    * Improve typeahead on /graph page.
    * Change rule file formatting.
    * Set consul server default to localhost:8500.
    * Add dropped Alertmanagers to API info endpoint.
    * Add OS type meta label to Azure SD.
    * Validate required fields in SD configuration.
  + Bug Fixes:
    * Prevent stack overflow on deep recursion in TSDB.
    * Correctly read offsets in index files that are greater than 4GB.
    * Fix scraping behavior for empty labels.
    * Drop metric name for bool modifier.
    * Fix races in discovery.
    * Fix Kubernetes endpoints SD for empty subsets.
    * Throttle updates from SD providers, which caused increased CPU usage and allocations.
    * Fix TSDB block reload issue.
    * Fix PromQL printing of empty without().
    * Don't reset FiredAt for inactive alerts.
    * Fix erroneous file version changes and repair existing data.
- remove pr-3174.patch, has been fixed in https://github.com/prometheus/prometheus/pull/3517
- adjust 0002-Default-settings.patch for updated source files

-------------------------------------------------------------------
Wed Mar 14 07:20:23 UTC 2018 - jan.fajerski@suse.com

- spec: fix directory for fdupes

-------------------------------------------------------------------
Thu Jan 25 10:11:26 UTC 2018 - kkaempf@suse.com

- Update to 2.1.0:
  + Features:
    * New Service Discovery UI showing labels before and after relabelling.
    * New Admin APIs added to v1 to delete, snapshot and remove tombstones.
  + Enhancements:
    * The graph UI autcomplete now includes your previous queries.
    * Federation is now much faster for large numbers of series.
    * Added new metrics to measure rule timings.
    * Rule evaluation times added to the rules UI.
    * Added metrics to measure modified time of file SD files.
    * Kubernetes SD now includes POD UID in discovery metadata.
    * The Query APIs now return optional stats on query execution times.
    * The index now no longer has the 4GiB size limit and is also smaller.
  + Bug Fixes:
    * Remote read read_recent option is now false by default.
    * Pass the right configuration to each Alertmanager (AM) when using
      multiple AM configs.
    * Fix not-matchers not selecting series with labels unset.
    * tsdb: Fix occasional panic in head block.
    * tsdb: Close files before deletion to fix retention issues on Windows
      and NFS.
    * tsdb: Cleanup and do not retry failing compactions.
    * tsdb: Close WAL while shutting down.

-------------------------------------------------------------------
Thu Nov  9 07:30:09 UTC 2017 - tserong@suse.com

- Update to final v2.0.0 release (bsc#1067341):
  + Compared to version 1.x, this release includes a completely rewritten
    storage engine, huge performance improvements, but also many backwards
    incompatible changes.  For more information, read the announcement blog
    post and migration guide:
    - https://prometheus.io/blog/2017/11/08/announcing-prometheus-2-0/
    - https://prometheus.io/docs/prometheus/2.0/migration/
  + Changes:
    * Completely rewritten storage layer, with WAL.  This is not backwards
      compatible with 1.x storage,  and many flags have changed/disappeared.
    * New staleness behavior. Series now marked stale after target scrapes
      no longer return them, and soon after targets disappear from service
      discovery.
    * Rules files use YAML syntax now.  Conversion tool added to promtool.
    * Removed count_scalar, drop_common_labels functions and keep_common
      modifier from PromQL.
    * Rewritten exposition format parser with much higher performance.  The
      Protobuf exposition format is no longer supported.
    * Example console templates updated for new storage and metrics names.
      Examples other than node exporter and Prometheus removed.
    * Admin and lifecycle APIs now disabled by default, can be reenabled via
      flags
    * Flags switched to using Kingpin, all flags are now --flagname rather
      than -flagname.
  + Features:
    * Remote read can be configured to not read data which is available
      locally.  This is enabled by default.
    * Rules can be grouped now.  Rules within a rule group are executed
      sequentially.
    * Added experimental GRPC apis
    * Add timestamp() function to PromQL.
  + Enhancements:
    * Remove remote read from the query path if no remote storage is
      configured.
    * Bump Consul HTTP client timeout to not match the Consul SD watch
      timeout.
    * Go-conntrack added to provide HTTP connection metrics.
  + Bug Fixes:
    * Fix connection leak in Consul SD.

-------------------------------------------------------------------
Tue Nov  7 23:30:46 UTC 2017 - tserong@suse.com

- Update to v2.0.0-rc.3 (bsc#1067030):
  + Enhancements:
    * Remove remote read from the query path if no remote storage
      is configured.
    * Bump Consul HTTP client timeout to not match the Consul SD
      watch timeout.
    * Bump up a too small max block duration to the min block
      duration instead of returning an error.
  + Bug Fixes:
    * Avoid needless padding of 4 zero bytes in index files.
    * Delete old blocks during reload (necessary on MS Windows).
    * Fix regression of alert rules state loss on config reload.
    * Serialize background WAL operations to avoid data races.
  + This also contains bugfixes and remote-storage features from
    the 1.8 branch.

-------------------------------------------------------------------
Fri Oct 27 02:06:17 UTC 2017 - tserong@suse.com

- Update to v2.0.0-rc.2 (bsc#1065377):
  + Enhancements:
    * Handle WAL segments with corrupted header gracefully
    * Stabilize memory usage during WAL replay
  + Changes:
    * Prefix all storage metrics with prometheus_
  + Bug Fixes:
    * Correctly handle label removal in remote read
    * Fix chunk misalignment causing out-of-order samples
    * Fix connection leak in Consul SD
    * Handle invalid chunk dereferences gracefully
    * Prevent potential deadlock during failing querier construction

-------------------------------------------------------------------
Thu Oct 19 00:00:32 UTC 2017 - tserong@suse.com

- Update to v2.0.0-rc.1:
  + Features/Enhancements:
    * Added a warning for time-drift between the browser and the
      prometheus-server.
    * Much faster WAL read-back on restart.
  + Bug Fixes:
    * Fixed Remote-read to not drop the first series.
    * Validate recording-rule names.
    * Fix several races.
    * Only close blocks if there are no iterators accessing it.
- Refresh 0002-Default-settings.patch

-------------------------------------------------------------------
Wed Oct 11 01:13:03 UTC 2017 - tserong@suse.com

- Update to v2.0.0-rc.0:
  + Numerous changes to the new storage layer, the main changes being:
    * Remove `count_scalar`, `keep_common` and `drop_common_labels` functions
    * Breaking change in the index format for better consistency 
    * Fix panic due garbage collected mmap'ed strings 
    * Fix broken snapshots and admin APIs 
    * Send HTTP Accept header when scraping
    * Use the WAL flush interval passed instead of the hardcoded value
  + This release requires a clean storage directory and is not compatible
    with files created by previous beta releases
- Refresh 0002-Default-settings.patch

-------------------------------------------------------------------
Sun Sep 24 15:11:37 UTC 2017 - tserong@suse.com

- Fix loopback address for REST API gateway (bsc#1059462)
  + Added pr-3174.patch

-------------------------------------------------------------------
Fri Sep 22 08:07:50 UTC 2017 - tserong@suse.com

- Update to v2.0.0-beta.5:
  + Bug Fixes:
    *  Remove deadlock on startup when restoring WAL
    * Fix semantical races resulting in invalid persisted files
    * Correctly read back WAL in certain edge cases
    * Prevent crashes caused by changing metric representations in target's
      /metrics
  + Enhancements:
    * Overall memory usage reduction
    * Serve debugging endpoints while TSDB is loading
    * Healthy endpoint correctly reflects liveness during startup
    * Switch to consistent usage of go-kit/log
  + This release may have issues with files written by previous beta releases
- Refresh 0002-Default-settings.patch to apply cleanly again

-------------------------------------------------------------------
Mon Sep 18 12:18:17 UTC 2017 - tserong@suse.com

- Update to v2.0.0-beta.4:
  + Numerous changes to the new storage layer, the main changes being:
    * Single, compacted write ahead log
    * Single in-memory block with garbage collection
    * Improve compression of index files
    * Cache series dropped via metric_relabel_configs
    * Pool byte buffers for scraping
  + Overall the changes achieve a baseline reduction in memory consumption
    and reduce peak memory usage by 30-40% compared to 2.0.0-beta.2
  + This release requires a clean storage directory and is not compatible
    with files created by previous beta releases

-------------------------------------------------------------------
Tue Aug 22 08:10:18 UTC 2017 - tserong@suse.com

- Update to v2.0.0-beta.2
  + vendor: update prometheus/tsdb (Fix panic caused by 0 division)

-------------------------------------------------------------------
Wed Aug 16 02:17:42 UTC 2017 - tserong@suse.com

- Update to v2.0.0-beta.1
  + Includes a new storage layer, which reduces bottlenecks and shows
    considerable performance improvements, but does not work with old v1
    storage data.
- Refresh 0002-Default-settings.patch to apply cleanly again

-------------------------------------------------------------------
Tue May  9 05:32:44 UTC 2017 - tserong@suse.com

- Add systemd unit file and default config (/etc/prometheus/prometheus.yml)
- Run as unprivileged "prometheus" user
- Default to /etc/prometheus for config and /var/lib/prometheus for metrics
  + Added 0002-Default-settings.patch

-------------------------------------------------------------------
Wed Apr 26 09:07:42 UTC 2017 - tserong@suse.com

- Add BuildRequires: glibc-devel-static to fix aarch64 build

-------------------------------------------------------------------
Wed Mar 29 09:50:28 UTC 2017 - moio@suse.com

- Initial version
