sensu-plugins-haproxy 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/bin/check-haproxy.rb +1 -1
- data/bin/metrics-haproxy.rb +5 -5
- data/lib/sensu-plugins-haproxy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 957f34325be952bcf0e1bfb980fa3f25ed67edd23d66bcbf0ed15c25a5c3d2b8
|
4
|
+
data.tar.gz: 00ff920d91777118af5392344d26f7f465dba5443dc6be951fd38ff63ce5858d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9b6cc38278007eb3d4f477730ebe810fddc2470e09d1a5d5d8214b788c3475977dff6e06819bf8a1aa25505d6ef2dd1177e0c5e74a740d42b780c33216d068a
|
7
|
+
data.tar.gz: 3d8ec6d41fcc4733ccf0947b4e05bd55350e0a220f4a09fe5a2ce4e62933488b59b433fdd0f5513486be58b31963a3832b591e57162f640ac282ebe3d079c954
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,11 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|
7
7
|
|
8
8
|
## [Unreleased]
|
9
9
|
|
10
|
+
## [2.0.2] - 2020-03-09
|
11
|
+
|
12
|
+
### Changed
|
13
|
+
- Fixed frozen_string_literal issues
|
14
|
+
|
10
15
|
## [2.0.1] - 2020-03-06
|
11
16
|
|
12
17
|
### Changed
|
@@ -100,7 +105,8 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|
100
105
|
### Added
|
101
106
|
- initial release
|
102
107
|
|
103
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/2.0.
|
108
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/2.0.2...HEAD
|
109
|
+
[2.0.2]:https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/2.0.1...2.0.2
|
104
110
|
[2.0.1]:https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/2.0.0...2.0.1
|
105
111
|
[2.0.0]:https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/1.4.0...2.0.0
|
106
112
|
[1.4.0]:https://github.com/sensu-plugins/sensu-plugins-haproxy/compare/1.3.0...1.4.0
|
data/bin/check-haproxy.rb
CHANGED
data/bin/metrics-haproxy.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
|
-
# frozen_string_literal:
|
2
|
+
# frozen_string_literal: false
|
3
3
|
|
4
4
|
#
|
5
5
|
# metrics-haproxy.rb
|
@@ -39,10 +39,10 @@ class HAProxyMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
39
39
|
# Check http://cbonte.github.io/haproxy-dconv/1.7/management.html#9.1 for
|
40
40
|
# haproxy stats CSV format.
|
41
41
|
|
42
|
-
TYPE_FRONTEND = '0'
|
43
|
-
TYPE_BACKEND = '1'
|
44
|
-
TYPE_SERVER = '2'
|
45
|
-
TYPE_LISTENER = '3'
|
42
|
+
TYPE_FRONTEND = '0'.freeze
|
43
|
+
TYPE_BACKEND = '1'.freeze
|
44
|
+
TYPE_SERVER = '2'.freeze
|
45
|
+
TYPE_LISTENER = '3'.freeze
|
46
46
|
# All fields are listed here for ease of long term maintenance.
|
47
47
|
# Format: field_index => %w(haproxy-name friendly-name)
|
48
48
|
CSV_FIELDS = {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-haproxy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sensu-Plugins and contributors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sensu-plugin
|