Skip to content

Commit e73a9a2

Browse files
committed
prep for 1.3.0 release
1 parent 183e343 commit e73a9a2

File tree

4 files changed

+19
-8
lines changed

4 files changed

+19
-8
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#### General
66

7-
- [ ] Update Changelog following the conventions laid out on [Keep A Changelog](http://keepachangelog.com/)
7+
- [ ] Update Changelog following the conventions laid out on [Our CHANGELOG Guidelines ](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md)
88

99
- [ ] Update README with any necessary configuration snippets
1010

@@ -24,5 +24,4 @@
2424

2525
#### Purpose
2626

27-
#### Known Compatability Issues
28-
27+
#### Known Compatibility Issues

CHANGELOG.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
11
# Change Log
22
This project adheres to [Semantic Versioning](http://semver.org/).
33

4-
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
4+
This CHANGELOG follows the format listed at [Our CHANGELOG Guidelines ](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md).
5+
Which is based on [Keep A Changelog](http://keepachangelog.com/)
56

67
## [Unreleased]
78

9+
## [1.3.0] - 2017-09-09
10+
### Added
11+
- metrics-zookeeper-cluster.rb: new script to gather metrics from a zookeeper cluster (@fsniper)
12+
13+
### Changed
14+
- metrics-zookeeper-cluster.rb: use the plugin name + version as the default user agent over some arbitrary version of curl (@majormoses)
15+
- updated PR template and CHANGELOG with new CHANGELOG guideline location (@majormoses)
16+
17+
### Fixed
18+
- spelling in PR template (@majormoses)
19+
820
## [1.2.0] - 2017-08-28
921
### Added
1022
- check-zookeper-cluster
1123
- Ruby 2.4.1 testing
12-
- metrics-zookeeper-cluster.rb
1324

1425
## [1.1.0] - 2017-03-23
1526
- add `check-zookeeper-mode` to check if zookeeper is in the expected mode (@karthik-altiscale)
@@ -49,7 +60,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
4960
### Added
5061
- initial release
5162

52-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-zookeeper/compare/1.1.0...HEAD
63+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-zookeeper/compare/1.3.0...HEAD
64+
[1.3.0]: https://github.com/sensu-plugins/sensu-plugins-zookeeper/compare/1.2.0...1.3.0
5365
[1.2.0]: https://github.com/sensu-plugins/sensu-plugins-zookeeper/compare/1.1.0...1.2.0
5466
[1.1.0]: https://github.com/sensu-plugins/sensu-plugins-zookeeper/compare/1.0.0...1.1.0
5567
[1.0.0]: https://github.com/sensu-plugins/sensu-plugins-zookeeper/compare/0.1.0...1.0.0

bin/metrics-zookeeper-cluster.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class ZookeeperMetrics < Sensu::Plugin::Metric::CLI::Graphite
4141
long: '--scheme SCHEME',
4242
default: 'zookeeper'
4343

44-
def follow_url(uri_str, agent = 'curl/7.43.0', max_attempts = 10, timeout = 10)
44+
def follow_url(uri_str, agent = "sensu-plugins-zookeeper/#{SensuPluginsZookeeper::Version::VER_STRING}", max_attempts = 10, timeout = 10)
4545
attempts = 0
4646
cookie = nil
4747

lib/sensu-plugins-zookeeper/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module SensuPluginsZookeeper
22
module Version
33
MAJOR = 1
4-
MINOR = 2
4+
MINOR = 3
55
PATCH = 0
66

77
VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')

0 commit comments

Comments
 (0)