View Source PhoenixDDoS.Telemetry (PhoenixDDoS v1.1.20)
PhoenixDDoS Telemetry events list
Initialization Events
[:phoenix_ddos, :engine, :init]- when the PhoenixDDoS supervisor is startedMeasurements:
:system_time- The system's time when the engine initalized:protections_count- The amount of activated protections
note: since this event is fire very soon in a typical phoenix startup, you might not be able to catch it.
Jail Events
[:phoenix_ddos, :jail, :new]- an ip was sent to jail, being block for a certain amount of time regardeless of quotasMeasurements:
:system_time- The system's time when the event occured
Metas:
:ip- blocked ip:protection- The protection name and configuration that caught this ip
[:phoenix_ddos, :jail, :count]- when the number of ip in jail increaseMeasurements:
:system_time- The system's time when the event occured:total- The total amount of ip currently in jail
Request Events
[:phoenix_ddos, :request, :new]- request being processed by phoenix ddos engineMeasurements::system_time- The system's time when the event occured
:ip- ip source fo request:method- http method:path- path (ex: /users/12):route- phoenix route (ex: /users/:id):decision- either:pass:blockor:jail