dsrvlabs / vatz

Node management integration tools in purpose of maximizing node's uptime for any protocols
https://www.dsrvlabs.com/
GNU General Public License v3.0
30 stars 15 forks source link

Store plugin's executing information #388

Closed rootwarp closed 1 year ago

rootwarp commented 1 year ago

Checklist

Please describe, what it's about or related Problem with

A clear description of what feature need to be developed or enhanced in Vatz

When a plugin is executed, executing information should be managed in SQLite for maintenance reason.

Describe the output that you are expecting for above

A clear and concise description of what you expect to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

N/A

Additional context

Add any other context or screenshots about the feature request here.

rootwarp commented 1 year ago

@xellos00 As you know, we are not storing executing information of the plugin. And I think it could be better to store and track information at the DB.

For the starting point, I'll track the PID of the plugin. Do you have any other ideas to store?

xellos00 commented 1 year ago

@rootwarp Guess that's best idea, no matter what I think it's a requirement to set up DB. but Let's have a meeting at some point. I will ping you. for more discussions.

xellos00 commented 1 year ago

Plugin info - config - DB


CLI STOP, KILL
enable/disable

@meetrick Good to see through DB get .

xellos00 commented 1 year ago

Plugin info - config - DB

  • AS-IS VATZ get <- Config
  • To-BE Config push -> DB VATZ get <- DB

CLI STOP, KILL enable/disable

@meetrick Good to see through DB get .

Let's put a vote.

xellos00 commented 1 year ago

Plugin info - config - DB

  • AS-IS VATZ get <- Config
  • To-BE Config push -> DB VATZ get <- DB

CLI STOP, KILL enable/disable @meetrick Good to see through DB get .

Let's put a vote.

  • AS-IS πŸ‘πŸ½
  • To-BE ❀️

Output by vote

To-BE Config push -> DB VATZ get <- DB

xellos00 commented 1 year ago

@rootwarp As we previously vote, I will take this issue to migration feature config.yaml.

xellos00 commented 1 year ago

Tasks

xellos00 commented 1 year ago
  1. Yaml νŒŒμΌμ— μžˆλŠ” 것은 DB 에 넣지 μ•ŠλŠ”λ‹€. 1.1 각 Config yaml은 λ”°λ‘œ DB 에 μ €μž₯ν•˜μ§€ μ•ŠλŠ”λ‹€. 1.2 좔후에 각 μ‚¬μš©μ„±κ³Ό κΈ°λŠ₯을 생각해 λ‹€μ‹œ 회의λ₯Ό μ§„ν–‰ν•œλ‹€.

@xellos00


@rootwarp & @xellos00