Class: DatadogAPIClient::V2::EventAttributes
- Inherits:
 - 
      Object
      
        
- Object
 - DatadogAPIClient::V2::EventAttributes
 
 
- Includes:
 - BaseGenericModel
 
- Defined in:
 - lib/datadog_api_client/v2/models/event_attributes.rb
 
Overview
Object description of attributes from your event.
Instance Attribute Summary collapse
- 
  
    
      #additional_properties  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute additional_properties.
 - 
  
    
      #aggregation_key  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Aggregation key of the event.
 - 
  
    
      #date_happened  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
POSIX timestamp of the event.
 - 
  
    
      #device_name  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A device name.
 - 
  
    
      #duration  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The duration between the triggering of the event and its recovery in nanoseconds.
 - 
  
    
      #event_object  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The event title.
 - 
  
    
      #evt  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The metadata associated with a request.
 - 
  
    
      #hostname  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Host name to associate with the event.
 - 
  
    
      #monitor  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Attributes from the monitor that triggered the event.
 - 
  
    
      #monitor_groups  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
List of groups referred to in the event.
 - 
  
    
      #monitor_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
ID of the monitor that triggered the event.
 - 
  
    
      #priority  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The priority of the event’s monitor.
 - 
  
    
      #related_event_id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Related event ID.
 - 
  
    
      #service  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Service that triggered the event.
 - 
  
    
      #source_type_name  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The type of event being posted.
 - 
  
    
      #sourcecategory  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Identifier for the source of the event, such as a monitor alert, an externally-submitted event, or an integration.
 - 
  
    
      #status  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If an alert event is enabled, its status is one of the following: ‘failure`, `error`, `warning`, `info`, `success`, `user_update`, `recommendation`, or `snapshot`.
 - 
  
    
      #tags  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A list of tags to apply to the event.
 - 
  
    
      #timestamp  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
POSIX timestamp of your event in milliseconds.
 - 
  
    
      #title  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The event title.
 
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
      87 88 89  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 87 def additional_properties @additional_properties end  | 
  
#aggregation_key ⇒ Object
Aggregation key of the event.
      25 26 27  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 25 def aggregation_key @aggregation_key end  | 
  
#date_happened ⇒ Object
POSIX timestamp of the event. Must be sent as an integer (no quotation marks). Limited to events no older than 18 hours.
      29 30 31  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 29 def date_happened @date_happened end  | 
  
#device_name ⇒ Object
A device name.
      32 33 34  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 32 def device_name @device_name end  | 
  
#duration ⇒ Object
The duration between the triggering of the event and its recovery in nanoseconds.
      35 36 37  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 35 def duration @duration end  | 
  
#event_object ⇒ Object
The event title.
      38 39 40  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 38 def event_object @event_object end  | 
  
#evt ⇒ Object
The metadata associated with a request.
      41 42 43  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 41 def evt @evt end  | 
  
#hostname ⇒ Object
Host name to associate with the event. Any tags associated with the host are also applied to this event.
      45 46 47  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 45 def hostname @hostname end  | 
  
#monitor ⇒ Object
Attributes from the monitor that triggered the event.
      48 49 50  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 48 def monitor @monitor end  | 
  
#monitor_groups ⇒ Object
List of groups referred to in the event.
      51 52 53  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 51 def monitor_groups @monitor_groups end  | 
  
#monitor_id ⇒ Object
ID of the monitor that triggered the event. When an event isn’t related to a monitor, this field is empty.
      54 55 56  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 54 def monitor_id @monitor_id end  | 
  
#priority ⇒ Object
The priority of the event’s monitor. For example, ‘normal` or `low`.
      57 58 59  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 57 def priority @priority end  | 
  
#related_event_id ⇒ Object
Related event ID.
      60 61 62  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 60 def @related_event_id end  | 
  
#service ⇒ Object
Service that triggered the event.
      63 64 65  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 63 def service @service end  | 
  
#source_type_name ⇒ Object
The type of event being posted. For example, ‘nagios`, `hudson`, `jenkins`, `my_apps`, `chef`, `puppet`, `git` or `bitbucket`. The list of standard source attribute values is [available here](docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value).
      68 69 70  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 68 def source_type_name @source_type_name end  | 
  
#sourcecategory ⇒ Object
Identifier for the source of the event, such as a monitor alert, an externally-submitted event, or an integration.
      71 72 73  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 71 def sourcecategory @sourcecategory end  | 
  
#status ⇒ Object
If an alert event is enabled, its status is one of the following: ‘failure`, `error`, `warning`, `info`, `success`, `user_update`, `recommendation`, or `snapshot`.
      76 77 78  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 76 def status @status end  | 
  
#tags ⇒ Object
A list of tags to apply to the event.
      79 80 81  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 79 def @tags end  | 
  
#timestamp ⇒ Object
POSIX timestamp of your event in milliseconds.
      82 83 84  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 82 def @timestamp end  | 
  
#title ⇒ Object
The event title.
      85 86 87  | 
    
      # File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 85 def title @title end  |