Hello community,
here is the log from the commit of package prometheus-ha_cluster_exporter for
openSUSE:Leap:15.2 checked in at 2020-02-25 12:18:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/prometheus-ha_cluster_exporter (Old)
and
/work/SRC/openSUSE:Leap:15.2/.prometheus-ha_cluster_exporter.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "prometheus-ha_cluster_exporter"
Tue Feb 25 12:18:30 2020 rev:1 rq:778879 version:1.0.0beta6
Changes:
--------
New Changes file:
--- /dev/null 2019-12-19 10:12:34.003146842 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.prometheus-ha_cluster_exporter.new.26092/prometheus-ha_cluster_exporter.changes
2020-02-25 12:18:39.496615888 +0100
@@ -0,0 +1,213 @@
+-------------------------------------------------------------------
+Wed Feb 12 10:22:03 2020 UTC - [email protected]
+
+- Release 1.0.0beta6
+
+ ## Changed
+ - Revert full Source url usage and reinstate OBS source service in the build
pipeline (#129)
+
+-------------------------------------------------------------------
+Tue Feb 11 14:18:15 2020 UTC - [email protected]
+
+- Release 1.0.0beta5
+
+ ## Fixed
+ - Source url in spec file (#128)
+
+-------------------------------------------------------------------
+Tue Feb 11 11:50:22 2020 UTC - [email protected]
+
+- Release 1.0.0beta4
+
+ ## Changed
+ - Use a full source url in the spec file (#127)
+
+-------------------------------------------------------------------
+Mon Feb 10 17:23:30 2020 UTC - [email protected]
+
+- Release 1.0.0beta3
+
+ ## Added
+ - Copyright notice to README and RPM spec file. (#126)
+
+-------------------------------------------------------------------
+Mon Feb 10 13:40:46 UTC 2020 - Stefano Torresi <[email protected]>
+
+- SR to Factory and SLES 15 SP2 (jsc#SLE-10545)
+
+-------------------------------------------------------------------
+Wed Feb 5 16:58:21 2020 UTC - [email protected]
+
+- Release 1.0.0beta2
+
+ ## Changed
+ - **BC Break**: Default TCP listening port changed again from 9964 to 9664
due to a typo. (#124)
+ - **BC Break**: Many refactorings to multiple metrics that didn't comply
with Prometheus vetting process. (#123)
+
+
+-------------------------------------------------------------------
+Tue Feb 4 10:16:05 2020 UTC - [email protected]
+
+- Release 1.0.0-beta
+
+ ## Changed
+ - **BC Break** - Metrics timestamps are now opt-in and disabled by default.
The old behaviour can be kept via the `--enable-timestamps` CLI flag / config
option. (#118)
+ - **BC Break** - Default TCP listening port changed from 9002 to 9964. The
old behaviour can be kept via the `--port` CLI flags / config option. (#122)
+
+-------------------------------------------------------------------
+Fri Dec 13 15:20:50 2019 UTC - [email protected]
+
+- Release 0.4.0
+
+ ## Added
+ - Added more new DRBD metrics (#106 #108)
+
+ ## Changed
+ - OBS builds don't reuse the binaries built in Travis anymore, due to
compliance requirements (#105)
+
+ ## Fixed
+ - Various grammar/typos in the docs (#103, #104, #106)
+
+ ## Removed
+ - Useless warning about missing DRBD split-brain notifications directory
(#110)
+
+-------------------------------------------------------------------
+Thu Nov 28 12:40:53 2019 UTC - [email protected]
+
+- Release 0.3.0
+
+ ## Added
+ - Brand new `ha_cluster_drbd_split_brain` metric (#100)
+ - Travis "Build & release" job automatically publishes built assets to GH
releases and deploys tags in OBS. (#102)
+
+ ## Changed
+ - **BC Break** - Refactor Pacemaker location constraints metric (#99)
+
+ ## Fixed
+ - DRBD default path now corresponds with the DBRD packages of the distros we
use and support (#101)
+
+-------------------------------------------------------------------
+Fri Nov 15 11:47:43 UTC 2019 - [email protected]
+
+- Update to version 0.2.0:
+ * make drbd resource label usage consistent
+ * make the resource and node name/id labels match across all the metrics
that have it
+ * document possible values
+ * comment regex usage
+ * add test case for edge case not previously covered
+ * update metrics doc
+ * add ha_cluster_sbd_devices_total metric
+ * minor readme fixes
+ * make collector initalization error handling cleaner
+ * add /usr/etc to the scanned config dirs
+ * readme changes
+ * fix typo in config example
+ * make more clear that what is being added are directories
+ * improve help
+ * initialize flags in init instead of main
+ * integrate config with cli flags
+ * rename var for consistency
+ * add sample config and run go fmt
+ * use an alias for better clarity
+ * add static configuration support via spf13/viper library
+ * fix config_last_change pacemaker metric due to Prometheus limitations
+ * Improves DRBD Percent Sync Doc (Float values).
+ * Fix DRBD test message
+ * Change DRBD percent from int to Float
+
+-------------------------------------------------------------------
+Thu Oct 31 09:50:57 UTC 2019 - [email protected]
+
+- Update to version 0.1.0:
+ * add doc
+ * Update metrics on constraints
+ * check for binary existence
+ * Add -address listen, log -level flag
+ * Implement constraint ban metric
+ * Implement Delta metric percentInSync
+ * Update pacemaker_metrics.go
+ * Implement metric and doc
+ * Add needed struct and test parsing xml
+ * Implement skeleton and fake data
+ * Implement Migration threshold metric
+ * Add landing page to exporter
+ * Add documentation about metric
+ * Implement failcount metric population with data
+ * Implement metric structs and needed tests
+ * add testdata
+
+-------------------------------------------------------------------
+Fri Oct 25 15:20:57 UTC 2019 - [email protected]
+
+- Update to version 0.0.9:
+ ## Added
+ - All the metrics are now timestamped (#67)
+ - New `ha_cluster_pacemaker_stonith_enabled` metric (#68)
+ - Comprehensive [metrics
documentation](https://github.com/ClusterLabs/ha_cluster_exporter/blob/0.0.9/doc/metrics.md)
+ - RPM package spec and SystemD unit are now in the repo rather than in the
OBS package.
+
+ ## Changed
+ - Extensive refactoring to implement `prometheus.Collector` API (#66)
+ - Various metrics and their labels were renamed (#61, #62)
+ - Removed Go vendoring mode (#76)
+
+ ## Fixed
+ - Metrics no longer need to be reset (#60)
+ - TravisCI configuration (#74)
+
+
+-------------------------------------------------------------------
+Fri Oct 18 09:01:28 UTC 2019 - Dario Maiocchi <[email protected]>
+
+- update to 0.0.8 Release Github: DRBD Metrics and other minor improvements
+
+-------------------------------------------------------------------
+Wed Oct 2 15:50:37 UTC 2019 - Dario Maiocchi <[email protected]>
+
+- remove user and group from systemd unit file. (cause breakage on exporter)
+
+-------------------------------------------------------------------
+Wed Oct 2 14:51:02 UTC 2019 - Dario Maiocchi <[email protected]>
+
+- update to 0.0.7 Releases Github: SBD metrics
+
+-------------------------------------------------------------------
+Mon Sep 30 16:55:19 UTC 2019 - Dario Maiocchi <[email protected]>
+
+- update to 0.0.6 Rel GitHub: corosync metrics
+
+-------------------------------------------------------------------
+Wed Sep 18 15:57:00 UTC 2019 - Dario Maiocchi <[email protected]>
+
+- update to 0.0.5 Released GitHub version. Metrics improvements
+
+-------------------------------------------------------------------
+Tue Sep 17 13:48:21 UTC 2019 - Ayoub Belarbi <[email protected]>
+
+- Version bump to 0.0.4
+- Start prometheus-ha_cluster_exporter systemd service after pacemaker service
+
+-------------------------------------------------------------------
+Tue Sep 17 12:00:20 UTC 2019 - Ayoub Belarbi <[email protected]>
+
+- fix source file name
+
+-------------------------------------------------------------------
+Tue Sep 17 11:32:35 UTC 2019 - Dario Maiocchi <[email protected]>
+
++++ 16 more lines (skipped)
++++ between /dev/null
++++ and
/work/SRC/openSUSE:Leap:15.2/.prometheus-ha_cluster_exporter.new.26092/prometheus-ha_cluster_exporter.changes
New:
----
_service
prometheus-ha_cluster_exporter-1.0.0beta6.tar.gz
prometheus-ha_cluster_exporter.changes
prometheus-ha_cluster_exporter.spec
vendor.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ prometheus-ha_cluster_exporter.spec ++++++
#
# Copyright (c) 2019 SUSE LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
Name: prometheus-ha_cluster_exporter
# Version will be processed via set_version source service
Version: 1.0.0beta6
Release: 0
License: Apache-2.0
Summary: Prometheus exporter for Pacemaker HA clusters metrics
Group: System/Monitoring
Url: https://github.com/ClusterLabs/ha_cluster_exporter
Source: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
ExclusiveArch: aarch64 x86_64 ppc64le s390x
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: go >= 1.11
Provides: ha_cluster_exporter = %{version}-%{release}
Provides: prometheus(ha_cluster_exporter) = %{version}-%{release}
# Unlike C/C++ packages, Golang packages do not have header files. They are
statically built so the main package is also the devel package.
Provides: %{name}-devel = %{version}
Provides: %{name}-devel-static = %{version}
# Make sure that the binary is not getting stripped.
%undefine _build_create_debug
%define __arch_install_post export NO_BRP_STRIP_DEBUG=true
%description
Prometheus exporter for Pacemaker HA clusters metrics
%prep
%setup -q # unpack project sources
%setup -q -T -D -a 1 # unpack go dependencies in vendor.tar.gz, which was
prepared by the source services
%define shortname ha_cluster_exporter
%build
# s390x GOARCH doesn't support PIE
%ifnarch s390x
export GOFLAGS="-buildmode=pie"
%endif
go build -mod=vendor -ldflags="-s -w -X main.version=%{version}" -o %{shortname}
%install
# Install the binary.
install -D -m 0755 %{shortname} "%{buildroot}%{_bindir}/%{shortname}"
# Install the systemd unit
install -D -m 0644 %{shortname}.service %{buildroot}%{_unitdir}/%{name}.service
# Install compat wrapper for legacy init systems
install -Dd -m 0755 %{buildroot}%{_sbindir}
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rc%{name}
%pre
%service_add_pre %{name}.service
%post
%service_add_post %{name}.service
%preun
%service_del_preun %{name}.service
%postun
%service_del_postun %{name}.service
%files
%defattr(-,root,root)
%doc *.md
%doc doc/*
%if 0%{?suse_version} >= 1500
%license LICENSE
%else
%doc LICENSE
%endif
%{_bindir}/%{shortname}
%{_unitdir}/%{name}.service
%{_sbindir}/rc%{name}
%changelog
++++++ _service ++++++
<services>
<service name="tar_scm" mode="disabled">
<param
name="url">git://github.com/ClusterLabs/ha_cluster_exporter.git</param>
<param name="scm">git</param>
<param name="revision">1.0.0beta6</param>
<param name="exclude">.git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="filename">prometheus-ha_cluster_exporter</param>
</service>
<service name="set_version" mode="disabled">
<param name="version">1.0.0beta6</param>
<param name="file">prometheus-ha_cluster_exporter.spec</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service name="go_modules" mode="disabled" />
</services>