farmbot_os/farmbot_telemetry/lib/farmbot_telemetry/event_classes/dns_event_class.ex

23 lines
507 B
Elixir

defmodule FarmbotTelemetry.DNSEventClass do
@moduledoc """
Classification of events pertaining to dns resolution accross the various
networked systems in the application including:
* ntp
* Farmbot http token fetching
* Farmbot http rest interface
* Farmbot AMQP interface
"""
@behaviour FarmbotTelemetry.EventClass
@impl FarmbotTelemetry.EventClass
def matrix(),
do: [
ntp: [:nxdomain],
http: [:nxdomain],
token: [:nxdomain],
amqp: [:nxdomain]
]
end