class SkywireNodeMonitor::App
Included Modules
Defined in:
skywire-node-monitor.cr
Constant Summary
-
DB_HOST =
ENV.fetch("APP_DB_HOST", "localhost")
-
DB_NAME =
ENV.fetch("APP_DB_NAME", "test")
-
DB_PASSWORD =
ENV.fetch("APP_DB_PASSWORD", "xxxxxxxxxx")
-
DB_PORT =
ENV["APP_DB_PORT"]?.try(&.to_i32) || 28015
-
DB_TABLE_NAME =
ENV.fetch("APP_DB_TABLE_NAME", "nodes_metrics")
-
DB_USER =
ENV.fetch("APP_DB_USER", "skywirenode")
-
DISCOVERY_QUERY =
ENV.fetch("APP_DISCOVERY_QUERY", "/conn/getAll")
-
DISCOVERY_URI =
ENV.fetch("APP_DISCOVERY_URI", "http://testnet.skywire.skycoin.com:8001")
-
TICK_TIME_SECOND =
(ENV["APP_TICK_TIME_SECOND"]?.try(&.to_i32) || 60).seconds
Instance Method Summary
Instance Method Detail
def
write_stats(json_str : String)
#