Deux v0.1.1 Deux.Ping View Source
Handle the ping 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: tesla request tuple list
- 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", request: [method: :get, url: "http://127.0.0.1:3000"], mode: :body)