Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #1 and #23 #24

Merged
merged 4 commits into from
Jul 26, 2021
Merged

Fixes #1 and #23 #24

merged 4 commits into from
Jul 26, 2021

Conversation

vincenzopalazzo
Copy link
Member

This required deleting the old metrics directory and the new payload looks like the following one

{
   "channels_info": {},
   "color": "02bf81",
   "metric_name": "metric_one",
   "node_id": "032eccf880ef6acd49efb6c881c6fd81e2e381799f0ee012853016e6d6b9efe947",
   "os_info": {
      "architecture": "x86_64",
      "os": "Linux Mint",
      "version": "20.1 (Ulyssa)"
   },
   "timezone": "CEST",
   "up_time": [
      {
         "channels": 0,
         "event": "on_start",
         "forwards": {
            "completed": 0,
            "failed": 0
         },
         "timestamp": 1627301916
      }
  

Fixes #1
Fixes #23

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
@vincenzopalazzo vincenzopalazzo added enhancement New feature or request format_change Require a change in a JSON format of the payload refactoring Some idea to make refactoring of the plugin labels Jul 26, 2021
@vincenzopalazzo vincenzopalazzo self-assigned this Jul 26, 2021
@vincenzopalazzo vincenzopalazzo merged commit 6c0a77a into main Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request format_change Require a change in a JSON format of the payload refactoring Some idea to make refactoring of the plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

update: up_time record Load stored data when a node is started
1 participant