Skip to content

Commit

Permalink
Bump 1.5.0. Add mtr & redis check
Browse files Browse the repository at this point in the history
  • Loading branch information
stratacast committed Oct 6, 2022
1 parent 3f97412 commit 8d6904a
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 1 deletion.
7 changes: 7 additions & 0 deletions changelog.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ have to proceed with a following `List.first/1` to get the map.

There will likely also be some upcoming improvements changes as the library is reviewed.

== 2022-10-06 v1.5.0

=== Added

* MTR check added: https://nodeping.com/mtr_check.html
* Redis check added: https://nodeping.com/redis_check.html

== 2022-03-24 v1.4.0

=== Added
Expand Down
21 changes: 21 additions & 0 deletions lib/nodeping/checktypes/mtr.ex
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
defmodule NodePing.Checktypes.Mtr do
@moduledoc false

@enforce_keys [:target]
defstruct [
:target,
label: "",
autodiag: false,
ipv6: false,
type: "MTR",
interval: 15,
enabled: false,
public: false,
runlocations: nil,
homeloc: false,
threshold: 5,
sens: 5,
dep: nil,
notifications: nil
]
end
23 changes: 23 additions & 0 deletions lib/nodeping/checktypes/redis.ex
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
defmodule NodePing.Checktypes.Redis do
@moduledoc false

@enforce_keys [:target, :redistype]
defstruct [
:target,
:redistype,
label: "",
autodiag: false,
type: "REDIS",
interval: 15,
hosts: [],
sentinelname: nil,
enabled: false,
public: false,
runlocations: nil,
homeloc: false,
threshold: 5,
sens: 5,
dep: nil,
notifications: nil
]
end
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule NodePing.MixProject do
def project do
[
app: :nodeping,
version: "1.4.0",
version: "1.5.0",
elixir: "~> 1.10",
start_permanent: Mix.env() == :prod,
description: description(),
Expand Down

0 comments on commit 8d6904a

Please sign in to comment.