Telemetry events emitted by Limen.
Handlers run synchronously in the request process, so they must be cheap and
must not block. Every event's metadata includes the :instance name.
Attach heavier consumers to a sampled source instead, such as a
Limen.DecisionLog.Sink.
Events
[:limen, :decision]- every evaluated request, in every mode.- Measurements:
:duration(native time units),:score. - Metadata:
:decision(aLimen.Decision),:conn.
- Measurements:
[:limen, :challenge, :issued]- a challenge page was served.- Measurements:
:difficulty. - Metadata:
:identity.
- Measurements:
[:limen, :challenge, :verified]- a challenge solution was checked.- Measurements:
:count(always 1). - Metadata:
:result(:okor{:error, reason}),:method(:powor:wait),:identity.
- Measurements:
[:limen, :ban, :added]- a prefix was banned, or flagged for the maze.- Measurements:
:ttl(seconds). - Metadata:
:prefix,:reason,:origin(:policy,:admin,:trapor:remote),:action(:denyor:maze),:expires_at.
- Measurements:
[:limen, :maze, :served]- a maze response ended.- Measurements:
:duration(native time units),:bytes,:chunks. - Metadata:
:result(:complete,:deadlinewhen the rest was sent at once, or:closedwhen the client went away),:path,:identity.
- Measurements:
[:limen, :maze, :refused]- a client sent to the maze got an immediate429instead.- Measurements:
:count(always 1). - Metadata:
:reason(:fullbeyond:max_concurrent,:admissionwhen the:admitfunction turned it away),:path,:identity.
- Measurements:
[:limen, :state, :saturated]- a capped table refused a new key; requests for it fall back to approximate state.- Measurements:
:count(always 1). - Metadata:
:table.
- Measurements:
[:limen, :state, :rotated]- a time window moved to a new epoch.- Measurements:
:cleared(entries dropped). - Metadata:
:window,:epoch.
- Measurements:
[:limen, :asn, :loaded]- IP-to-ASN data was loaded, seeLimen.Signal.Asn.Loader.- Measurements:
:duration(native time units, building included),:ranges,:bytes. - Metadata:
:source({:file, path},{:url, url}or:rows).
- Measurements:
[:limen, :asn, :checked]- the:urlwas checked for new data.- Measurements:
:duration(native time units). - Metadata:
:url,:result(:updated,:unchanged,:postponedor:error) and:reason(why it was postponed or failed, elsenil).
- Measurements:
[:limen, :fcrdns, :resolved]- a crawler verification finished, seeLimen.Signal.Fcrdns.- Measurements:
:duration(native time units). - Metadata:
:ip,:crawler(the name it claimed),:result(:verified,:failedor:errorfor a transient DNS error),:host(the verified host, elsenil) and:reason(why it failed, elsenil).
- Measurements: