Skip to content

Latest commit

 

History

History
181 lines (159 loc) · 12 KB

CHANGELOG.md

File metadata and controls

181 lines (159 loc) · 12 KB

2.1.2

  • Server: changed helper timestamp() for arguments order, now first date, second divider - timestamp(date, '-:')
  • Server: changed algorithm for analyze command line arguments. Now for config parameter with value you must use format --PARNAME value, format -PARNAME reserved for flags
  • Server: send alert when config reloaded
  • Server: store uptime for N days

2.1.1

  • Christmas Edition
  • Server: fixed uptime positions sorting
  • Server: added config parameter uptimeUpdateInterval, default amd minimal value is 5 min
  • Server: fixed spam for uptime
  • Client: fixed for version number

2.1.0

  • Server: added interaction with a block height from Mina Explorer
  • Server: added interaction with the latest block from Mina Explorer
  • Server: changed config for telegram and discord definition, updated functions for sending alerts and price
  • Server: removed config parameters telegramToken, telegramChatID, telegramChatIDAlert, discordWebHook
  • Server: added config parameters telegram, discord
  • Server: added config options for telegram: token, tokenInfo, tokenAlert, chatIDInfo, chatIDAlert
  • Server: added config options for discord: webhook, webhookInfo, webhookAlert, botName
  • Server: to config parameters alertToTelegram, alertToDiscrod added value PRICE. Parameter price:targets deprecated
  • Server: to config parameters alertToTelegram, alertToDiscrod added value REWARDS
  • Server: to config parameters alertToTelegram, alertToDiscrod added value UPTIME
  • Server: removed config parameter balanceSendInterval
  • Server: added config parameter channel:info to define which alerts will send to the info channel
  • Server: changed reconnect interval to comparable node from 1s to 30s
  • Server: changed parameter comparison. Now this parameter has a new structure
  • Server: added response for Monitor Version
  • Server: added watcher for config file
  • Server: config parameters memAlert, memRestart deprecated. You must use new parameters: memory:alert, memory:restart
  • Server: config parameters hangIntervalAlert, hangInterval deprecated. You must use new parameters: hang:alert, hang:restart
  • Server: added response about server start mode https with value true or false
  • Server: added support for static files for webserver
  • Server: added config parameter webRoot. With this parameter you can set a webRoot folder other than default (the same where the monitor is installed)

2.0.3

  • Server: added support for time interval string values for parameter restartAfterNotSynced
  • Server: improved check for Fork. Now check work if all control values gt zero
  • Server: default value for config parameter blockDiffToRestart changed to 10
  • Server: default value for config parameter blockDiff changed to 3

2.0.2

  • Server: added restart by long uptime with config parameter restartAfterUptime. The value must be defined in milliseconds or internal time string format . Default value is 0 (no restart)
  • Server: added config parameter name. Now you can define a name for you node, if name is not define, Monitor will use a hostname
  • Server: improvements for singing messages
  • Server: command node index --init now updated config file if one exists
  • Server: added config parameter comparison
  • Server: added alert with rule COMPARE for alerting when node height is different from comparable nodes
  • Server: changed algorithm for memory observing

2.0.1

  • Server: fixed snark worker controller for first start, issue #7
  • Server: fixed spams when snark worker controller can not start sw
  • Server: fixed issue for set telegramChatID from command line

2.0.0

  • Server: changed data exchange protocol from http(s) to ws(s)

  • Server: added command line arguments support. Now you can rewrite config parameters with command line arguments

  • Server: refactoring code, switch to CommonJS modules

  • Server: improved alerter for HANG state detecting

  • Server: added logic to disable HANG alert/restart when hangInterval, hangIntervalAlert is 0

  • Server: added control for mina stopped with journalctl and write this event to the log

  • Server: added alert to telegram and/or discord about mina daemon stops by failure (info from journalctl)

  • Server: added response for request sync-state. Return daemon sync state (SYNCED, BOOTSTRAP, ...) or UNKNOWN

  • Server: added helper function timeParser(t) for parsing time, defined in short string (ex: 1d3h23m45s, 30m, 10s, 2h30s)

  • Server: config parameter restartAfterNotSynced must be defined in milliseconds or short time string (ex: 30m)

  • Server: changed alerts events to Telegram and Discord. Value NON_SYNCED is deprecated, to alert change sync status use value STATUS

  • Server: changed config property price:interval to price:sendInterval

  • Server: removed collecting Mina Explorer Height, config parameter observeExplorer deprecated

  • Server: config parameter blockDiff now can be 0 to disable fork checking

  • Server: config parameter blockDiffToRestart now can be 0 to disable restart node when fork detected

  • Client: changed data exchange protocol from http(s) to ws(s)

  • Client: added support short string time format in config

  • Client: config parameters inervals:* are deprecated

  • Client: config parameters price:* are deprecated

  • Client: config parameters proxy, useProxy are deprecated

  • Client: config parameters hosts, useHost are deprecated. You must use parameter host: "server_ip_or_name:port"

  • Client: config parameter useHttps are deprecated. You must use parameter https: true|false

  • Client: fixed color for uptime position label for 120+ places

1.1.4

  • Server: added snark worker controller

  • Server: added request for node response time

  • Server: improved work of the alerter for detecting forks

  • Server: use stored state for responses

  • Client: updated for using new responses

1.1.3

  • Server: fixed exception alert in uptime module when service is down

1.1.2

  • Fixed memory leaks for setTimeout circular links
  • Server: added process.memory to get mem request

1.1.1

  • Server: improved alerts for FORK states

  • Server: added alert for NO PEERS state

  • Server: node info now stored into local object every time interval defined in consfig.nodeInfoCollectInterval

  • Server: added config property config.blockSpeedDistance with default value 10 to calculate blockchain speed

  • Server: information about mina now return from stored object

  • Server: added request for node health, request return empty array if OK or filled array with critical states

  • Server: alerter now use stored node info

  • Server: improved alerts for HANG state

  • Server: added config properties hangInterval, hangIntervalAlert, config option restartAfterPrev is deprecated, use hangInterval

  • Server: added config options memAlert, memRestart as a percent value (0 - 100)

  • Client: added reaction for node health request

  • Client: Node health now is displaying in sync status block

1.0.5 -> 1.1.0

  • Server: fixed uptime sender for using publicKeyDelegators

  • Server: fixed alerter module for forward for when unvalidated length is 0

  • Server: changed possible values for config.restartStateSyncedRules to ["MAX", "FORK", "FORWARD-FORK", "HANG"]

  • Server: config props restartAfterMax, restartAfterUnv is deprecated, use blockDiffToRestart

  • Server: added alert to DISCORD (used discord webhooks)

  • Server: added config props alertToTelegram, alertToDiscord. Possible values: ["NOT-SYNCED", "MAX", "FORK", "FORWARD-FORK", "HANG", "EXPLORER", "RESTART", "BALANCE"]

  • Server: moved request to coingecko from client to server

  • Server: added config.price parameter

  • Client: added flashing for maxHeight, unvalidateHeight, explorerHeight when difference present with the current height

  • Client: high/low price now showing all-time high/low

  • Client: added price change in currency, added colored arrow for indicate price change

  • Client: next config props deprecated and not used: cpu, net, mem, blockchain, node, info, time

  • Client: added new config props: system (server info and time), resources (cpu, net, ram), daemon (data from Mina GraphQL: node info, blockchain status)

  • Client: changed CPU temperature view

  • Client: changed block height view

  • Client: added border radius to panels

  • Client: progress bar for epoch now showing time left

  • Client: added config check. If config contains errors, Monitor puts to the console error message

  • Client: reorder blocks with config.blocks option

  • Client: optimized build scripts. (Important, required npm i)

1.0.4

  • Server: added request for delegators

  • Server: added new config props publicKeyDelegators

  • Server: added check for chain exist in node.mjs:getBlockSpeed()

  • Server: added check for forward fork (block height more than unvalidated)

  • Server: added request to Explorer GraphQL to get won blocks for current epoch

  • Client: show delegations count and total stack for current and next epoch

  • Client: added price data from coingecko.com

  • Client: change style for scrollbars

  • Client: new config props price: {currency, interval}

  • Client: updated uptime, the position value now more pronounced

  • Client: fixed using dark theme

  • Client: added won blocks for current epoch into EPOCH panel

1.0.3

  • Server: The node will don't more restart is the block height different from Explorer.

  • Server: Alert for difference height to Explorer height now enabled/disabled with config parameter observeExplorer

  • Server: For restart in not SYNCED now uses parameter restartAfterNotSynced from config file.

  • Server: The Node will not restart when non-synced for states defined in config parameter restartStateException. This is an array. Recommended set it to ["BOOTSTRAP"].

  • Server: Changed rules for restart node in synced. Added rules for difference with max block length, unvalidated block length, and equal to previous block height

  • Server: Removed config parameter redtartAfter

  • Server: Now you must use parameters restartAfterMax, restartAfterUnv, restartAfterPrev (restartAfterMax, restartAfterUnv parameters must have value in minutes, restartAfterPrev - integer, how many times the alert must go off before the mine is restarted)

  • Server: You can enable restart rules for synced mode with the config parameter restartStateSyncedRules. This parameter must have value as an array and can contain the next values: ['MAX', 'UNV', 'PREV']

  • Server: Added alerts to telegram for: difference block height from max block and unvalidated block, and equals to previous retrieved block height

  • Client: Split RAM usage chart to two separate charts: free, usage.

  • Client: Block producer and snark worker now have a short name, you can click on these to copy to clipboard full name.

  • Client: Added block speed, showed in BLOCK HEIGHT panel

  • Client: Fixed work with server if one started on https. To config added key useHttps with true or false values.

  • Client: Fixed network chart for align max value and split to two different charts

1.0.2

  • Added cpu threads load chart
  • Re-disposition RAM and CPU panels content
  • Added https server creation. Use server conf option https to set paths to cert and key
  • Added dark/light modes
  • Visual improvements

1.0.1

  • Added php proxy server
  • Added uptime values from sidecar (parsed from http://uptime.minaprotocol.com)
  • The module for obtaining information about the CPU and RAM has been rewritten

1.0.0

  • First release