Class: DatadogAPIClient::V2::EventAttributes

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



88
89
90
# File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 88

def additional_properties
  @additional_properties
end

#aggregation_keyObject

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_happenedObject

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_nameObject

A device name.



32
33
34
# File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 32

def device_name
  @device_name
end

#durationObject

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_objectObject

The event title.



38
39
40
# File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 38

def event_object
  @event_object
end

#evtObject

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

#hostnameObject

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

#monitorObject

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_groupsObject

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_idObject

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

#priorityObject

The priority of the event alert. Legacy events use normal or low. Alert events use 1 (highest priority) through 5 (lowest priority).



58
59
60
# File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 58

def priority
  @priority
end

Related event ID.



61
62
63
# File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 61

def related_event_id
  @related_event_id
end

#serviceObject

Service that triggered the event.



64
65
66
# File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 64

def service
  @service
end

#source_type_nameObject

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.



69
70
71
# File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 69

def source_type_name
  @source_type_name
end

#sourcecategoryObject

Identifier for the source of the event, such as a monitor alert, an externally-submitted event, or an integration.



72
73
74
# File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 72

def sourcecategory
  @sourcecategory
end

#statusObject

The event status. Legacy events can use failure, error, warning, info, success, user_update, recommendation, or snapshot. Alert events can use error, warn, or ok.



77
78
79
# File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 77

def status
  @status
end

#tagsObject

A list of tags to apply to the event.



80
81
82
# File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 80

def tags
  @tags
end

#timestampObject

POSIX timestamp of your event in milliseconds.



83
84
85
# File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 83

def timestamp
  @timestamp
end

#titleObject

The event title.



86
87
88
# File 'lib/datadog_api_client/v2/models/event_attributes.rb', line 86

def title
  @title
end