Deux v0.1.0 Deux.Ping View Source
Handle the redis sources and services integirty checks
Link to this section Summary
Link to this section Functions
Adds the remote ping source, load local reports and start worker
Params
- name: the name of the given source
- request: the url from the redis service to connect
- mode: (default :status) to monitor mode
:status
: it monitors succesful statuses:body
: it monitors the complete body from a response
Examples
iex> srv = Deux.Ping.add(name: "localhost", url: "http://127.0.0.1:3000", mode: :body)