ForNeVeR / nightwatch

Stays alert while you sleep.
MIT License
6 stars 0 forks source link

Nightwatch should become easily embeddable monitoring server/library #29

Open ForNeVeR opened 5 years ago

ForNeVeR commented 5 years ago

Ideally, Nightwatch flow should be as follows:

  1. Consider I want to monitor a bunch of my services
  2. I do dotnet new nightwatch-dashboard
  3. I get a new template application I should set up
  4. For example, I may write the following configuration:
    let main _ =
       Nightwatch.AppBuilder()
           .ReadConfiguration("./config.yml")
           .MonitorHttpResource("https://fornever.me")
               .WithTelegramNotification("@fvnever")
           .Run()

That way, every time I want to monitor something, I'll either update the configurations and/or code of my existing monitoring apps or create a new monitoring app from scratch.

Users won't need to tinker with config for one-time activities; everything will be configurable from code and ready for deploy from scratch.