prometheus-splash 0.8.6 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/splash/constants.rb +1 -1
- data/lib/splash/daemon/orchestrator.rb +2 -2
- data/lib/splash/helpers.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13eaca07cd4d8de11c4eb5b54798a59d2a16d2b258eab9e800405b9333b7caba
|
4
|
+
data.tar.gz: 00170e2f5a7e8b51ec9b4b638e75ed8a5dd53ba6f5a644a752f83f0c0eb77179
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 848fcec8f9d390cbd59fdd5104d32667fe03a581ee6597de6bcdd64dc923863d1a821ec417285816bcf093a955b668fa563934b599691292eceee9bfa8e3affa
|
7
|
+
data.tar.gz: 5541a02ed39ae1a86e1602886a9a0eb1590d6bae431517fd8d0a2b91ce1a62092dd641f0dac8a6d496b5b46490cf176cb2cb7707c997b1e671ca40ae55984109
|
data/lib/splash/constants.rb
CHANGED
@@ -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
|
data/lib/splash/helpers.rb
CHANGED
@@ -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.
|
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.
|
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-
|
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
|
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
|