Object representing an event.

Hierarchy

  • Event

Constructors

Properties

additionalProperties?: {
    [key: string]: any;
}

A container for additional, undeclared properties. This is a holder for any undeclared properties as specified with the 'additionalProperties' keyword in the OAS document.

Type declaration

  • [key: string]: any
alertType?: EventAlertType

If an alert event is enabled, set its type. For example, error, warning, info, success, user_update, recommendation, and snapshot.

dateHappened?: number

POSIX timestamp of the event. Must be sent as an integer (that is no quotes). Limited to events up to 18 hours in the past and two hours in the future.

deviceName?: string

A device name.

host?: string

Host name to associate with the event. Any tags associated with the host are also applied to this event.

id?: number

Integer ID of the event.

idStr?: string

Handling IDs as large 64-bit numbers can cause loss of accuracy issues with some programming languages. Instead, use the string representation of the Event ID to avoid losing accuracy.

payload?: string

Payload of the event.

priority?: v1.EventPriority

The priority of the event. For example, normal or low.

sourceTypeName?: string

The type of event being posted. Option examples include nagios, hudson, jenkins, my_apps, chef, puppet, git, bitbucket, etc. The list of standard source attribute values available here.

tags?: string[]

A list of tags to apply to the event.

text?: string

The body of the event. Limited to 4000 characters. The text supports markdown. To use markdown in the event text, start the text block with %%% \n and end the text block with \n %%%. Use msg_text with the Datadog Ruby library.

title?: string

The event title.

url?: string

URL of the event.

Generated using TypeDoc