prometheus-splash 0.8.6 → 0.9.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a4460d32852ffefae8779559dda23549d1897b4a9426ad5d79d5f7d5fa439f9
4
- data.tar.gz: b5feaa825627a05bfce7809730e5ebd728d0555320e7a8aeebce7dc24ad1df62
3
+ metadata.gz: 13eaca07cd4d8de11c4eb5b54798a59d2a16d2b258eab9e800405b9333b7caba
4
+ data.tar.gz: 00170e2f5a7e8b51ec9b4b638e75ed8a5dd53ba6f5a644a752f83f0c0eb77179
5
5
  SHA512:
6
- metadata.gz: da96fbe45265e982b74e741b4472bd3a61064c09f05b600cce13acf3340cb76bcf8b49843b169be6097b5e9422e32a5d942581e20cc3c03a5a413ccdffd93948
7
- data.tar.gz: f86edff60f5ab1851fd25255055e16ee6244006a2e010f431a2107f35e50eb81ed6e13e3aa4695e9f9cedf309414977022d4d708ff0ab3e54f39b942a2bf3485
6
+ metadata.gz: 848fcec8f9d390cbd59fdd5104d32667fe03a581ee6597de6bcdd64dc923863d1a821ec417285816bcf093a955b668fa563934b599691292eceee9bfa8e3affa
7
+ data.tar.gz: 5541a02ed39ae1a86e1602886a9a0eb1590d6bae431517fd8d0a2b91ce1a62092dd641f0dac8a6d496b5b46490cf176cb2cb7707c997b1e671ca40ae55984109
@@ -7,7 +7,7 @@ module Splash
7
7
  module Constants
8
8
 
9
9
  # Current splash version
10
- VERSION = "0.8.6"
10
+ VERSION = "0.9.0"
11
11
  # the path to th config file, not overridable by config
12
12
  CONFIG_FILE = "/etc/splash.yml"
13
13
  # the default execution trace_path if backend file
@@ -100,9 +100,9 @@ module Splash
100
100
  else
101
101
  sched,value = @config.daemon_procmon_scheduling.flatten
102
102
  @log.item "Initializing logs monitorings & notifications."
103
- @log_result = LogScanner::new
104
103
  @server.send sched,value do
105
104
  begin
105
+ @log_result = LogScanner::new
106
106
  session = get_session
107
107
  @metric_manager.inc_logs_monitoring
108
108
  @log.trigger "Logs monitoring for Scheduling : #{sched.to_s} #{value.to_s}", session
@@ -122,9 +122,9 @@ module Splash
122
122
  else
123
123
  sched,value = @config.daemon_logmon_scheduling.flatten
124
124
  @log.item "Initializing processes monitorings & notifications."
125
- @process_result = ProcessScanner::new
126
125
  @server.send sched,value do
127
126
  begin
127
+ @process_result = ProcessScanner::new
128
128
  session = get_session
129
129
  @metric_manager.inc_processes_monitoring
130
130
  @log.trigger "Processes monitoring for Scheduling : #{sched.to_s} #{value.to_s}", session
@@ -358,7 +358,7 @@ module Splash
358
358
  # @return [Boolean]
359
359
  def check_unicode_term
360
360
  return false unless ENV.include? "TERM"
361
- if ENV.values_at("LC_ALL","LC_CTYPE","LANG").compact.first.include?("UTF-8") and ENV.values_at('TERM').first.include? "xterm" then
361
+ if ENV.values_at("LC_ALL","LC_CTYPE","LANG").compact.include?("UTF-8") and ENV.values_at('TERM').include? "xterm" then
362
362
  return true
363
363
  else
364
364
  return false
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prometheus-splash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.6
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Romain GEORGES
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-13 00:00:00.000000000 Z
11
+ date: 2022-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -519,7 +519,7 @@ homepage: https://github.com/Ultragreen/prometheus-splash
519
519
  licenses:
520
520
  - BSD-2-Clause
521
521
  metadata: {}
522
- post_install_message:
522
+ post_install_message:
523
523
  rdoc_options: []
524
524
  require_paths:
525
525
  - lib
@@ -534,8 +534,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
534
534
  - !ruby/object:Gem::Version
535
535
  version: '0'
536
536
  requirements: []
537
- rubygems_version: 3.2.3
538
- signing_key:
537
+ rubygems_version: 3.1.2
538
+ signing_key:
539
539
  specification_version: 4
540
540
  summary: Supervision with Prometheus of Logs and Asynchronous tasks orchestration
541
541
  for Services or Hosts