class

Dogapi::Event

Inherits Reference < Object

Metadata class for storing the details of an event

Constructors

new(msg_text : String, options = {} of String => String)

Optional arguments: :date_happened => time in seconds since the epoch (defaults to now) :msg_title => String :priority => String :parent => event ID (integer) :tags => array of Strings :event_object => String :alert_type => 'success', 'error' :event_type => String :source_type_name => String :aggregation_key => String

Source

Instance methods

aggregation_key
Source
aggregation_key=(aggregation_key : Array(String) | Int64 | String | Nil)
Source
date_happened
Source
date_happened=(date_happened : Array(String) | Int64 | String | Nil)
Source
msg_text
Source
msg_text=(msg_text : String)
Source
msg_title
Source
msg_title=(msg_title : Array(String) | Int64 | String | Nil)
Source
parent
Source
parent=(parent : Array(String) | Int64 | String | Nil)
Source
priority
Source
priority=(priority : Array(String) | Int64 | String | Nil)
Source
tags
Source
tags=(tags : Array(String) | Int64 | String | Nil)
Source
to_hash
Source