Sha256: e4b2fdb6537eee2ee16c3f99cf2701c1b7dcff760e2e60cce849a93fdba0abe1

Contents?: true

Size: 312 Bytes

Versions: 12

Compression:

Stored size: 312 Bytes

Contents

# Get a quick list of events returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::EventsAPI.new
opts = {
  filter_query: "datadog-agent",
  filter_from: "2020-09-17T11:48:36+01:00",
  filter_to: "2020-09-17T12:48:36+01:00",
  page_limit: 5,
}
p api_instance.list_events(opts)

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
datadog_api_client-2.29.1 examples/v2/events/ListEvents_2663715109.rb
datadog_api_client-2.28.1 examples/v2/events/ListEvents_2663715109.rb
datadog_api_client-2.27.1 examples/v2/events/ListEvents_2663715109.rb
datadog_api_client-2.26.1 examples/v2/events/ListEvents_2663715109.rb
datadog_api_client-2.26.0 examples/v2/events/ListEvents_2663715109.rb
datadog_api_client-2.25.0 examples/v2/events/ListEvents_2663715109.rb
datadog_api_client-2.24.0 examples/v2/events/ListEvents_2663715109.rb
datadog_api_client-2.22.0 examples/v2/events/ListEvents_2663715109.rb
datadog_api_client-2.21.0 examples/v2/events/ListEvents_2663715109.rb
datadog_api_client-2.20.0 examples/v2/events/ListEvents_2663715109.rb
datadog_api_client-2.19.0 examples/v2/events/ListEvents_2663715109.rb
datadog_api_client-2.18.0 examples/v2/events/ListEvents_2663715109.rb