https://github.com/drobban/service_status
wip. Register services to monitor.
https://github.com/drobban/service_status
Last synced: about 2 months ago
JSON representation
wip. Register services to monitor.
- Host: GitHub
- URL: https://github.com/drobban/service_status
- Owner: drobban
- Created: 2024-06-04T18:09:19.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-06-13T08:44:17.000Z (12 months ago)
- Last Synced: 2025-04-12T05:58:52.125Z (about 2 months ago)
- Language: Elixir
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ServiceStatus
Monitors registered web-services.
supply url and interval given in seconds and you will recieve events informing about status.
## Installation
```elixir
def deps do
[
{:service_status, git: "[email protected]:drobban/service_status.git", ref: "9cb5b18b1c81a"}
]
end
```## Example
```elixir
iex> ServiceStatus.register("google", %ServiceStatus.Config{
iex> interval: 180,
iex> url: "https://google.com",
iex> client: self(),
iex> internal_id: 1
iex> })
:ok```