Sha256: af0211accf83fc25b116136a1f0f1bb2630e8a679c77272fb9276cdfb78cdebb
Contents?: true
Size: 802 Bytes
Versions: 16
Compression:
Stored size: 802 Bytes
Contents
# Search spans returns "OK" response require "datadog_api_client" api_instance = DatadogAPIClient::V2::SpansAPI.new body = DatadogAPIClient::V2::SpansListRequest.new({ data: DatadogAPIClient::V2::SpansListRequestData.new({ attributes: DatadogAPIClient::V2::SpansListRequestAttributes.new({ filter: DatadogAPIClient::V2::SpansQueryFilter.new({ from: "now-15m", query: "*", to: "now", }), options: DatadogAPIClient::V2::SpansQueryOptions.new({ timezone: "GMT", }), page: DatadogAPIClient::V2::SpansListRequestPage.new({ limit: 25, }), sort: DatadogAPIClient::V2::SpansSort::TIMESTAMP_ASCENDING, }), type: DatadogAPIClient::V2::SpansListRequestType::SEARCH_REQUEST, }), }) p api_instance.list_spans(body)
Version data entries
16 entries across 16 versions & 1 rubygems