View Source DatadogHttp.Events.Event (Datadog HTTP v0.0.3)

Datadog event data structure.

Link to this section Summary

Link to this section Types

@type alert_type() ::
  :error
  | :warning
  | :info
  | :success
  | :user_update
  | :recommendation
  | :snapshot
@type event_priority() :: :normal | :low
@type t() :: %DatadogHttp.Events.Event{
  aggregation_key: String.t(),
  alert_type: alert_type(),
  date_happened: integer() | DateTime,
  device_name: String.t(),
  host: String.t(),
  id: integer(),
  id_str: String.t(),
  priority: event_priority(),
  related_event_id: integer(),
  source_type_name: String.t(),
  tags: [String.t()],
  text: String.t(),
  title: String.t()
}

Link to this section Functions

Link to this function

new(map_or_kwlist, opts \\ [])

View Source
@spec new(ExConstructor.map_or_kwlist(), Keyword.t()) :: %DatadogHttp.Events.Event{
  aggregation_key: term(),
  alert_type: term(),
  date_happened: term(),
  device_name: term(),
  host: term(),
  id: term(),
  id_str: term(),
  priority: term(),
  related_event_id: term(),
  source_type_name: term(),
  tags: term(),
  text: term(),
  title: term()
}