Sha256: bf622622b6ec3dbe32c5ac0d8036dc6f076a992c5ab5cac0e9d348b357492c9d

Contents?: true

Size: 656 Bytes

Versions: 30

Compression:

Stored size: 656 Bytes

Contents

# Search RUM events returns "OK" response with pagination

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::RUMAPI.new

body = DatadogAPIClient::V2::RUMSearchEventsRequest.new({
  filter: DatadogAPIClient::V2::RUMQueryFilter.new({
    from: "now-15m",
    query: "@type:session AND @session.type:user",
    to: "now",
  }),
  options: DatadogAPIClient::V2::RUMQueryOptions.new({
    time_offset: 0,
    timezone: "GMT",
  }),
  page: DatadogAPIClient::V2::RUMQueryPageOptions.new({
    limit: 2,
  }),
  sort: DatadogAPIClient::V2::RUMSort::TIMESTAMP_ASCENDING,
})
api_instance.search_rum_events_with_pagination(body) { |item| puts item }

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
datadog_api_client-2.29.1 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.28.1 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.27.1 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.26.1 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.26.0 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.25.0 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.24.0 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.22.0 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.21.0 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.20.0 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.19.0 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.18.0 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.17.0 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.16.0 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.15.0 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.14.0 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.13.0 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.12.0 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.11.0 examples/v2/rum/SearchRUMEvents_574690310.rb
datadog_api_client-2.10.0 examples/v2/rum/SearchRUMEvents_574690310.rb