Sha256: 6b54ebd69c62bda5d2b47e47f9e88f57b36e165115b3eb3eef53d17c47378e2b
Contents?: true
Size: 539 Bytes
Versions: 1
Compression:
Stored size: 539 Bytes
Contents
# Paginate Monthly Usage Attribution require "datadog_api_client" api_instance = DatadogAPIClient::V1::UsageMeteringAPI.new # there is a valid "monthly_usage_attribution" response MONTHLY_USAGE_ATTRIBUTION_METADATA_PAGINATION_NEXT_RECORD_ID = ENV["MONTHLY_USAGE_ATTRIBUTION_METADATA_PAGINATION_NEXT_RECORD_ID"] opts = { next_record_id: MONTHLY_USAGE_ATTRIBUTION_METADATA_PAGINATION_NEXT_RECORD_ID, } p api_instance.get_monthly_usage_attribution((Time.now + -3 * 86400), MonthlyUsageAttributionSupportedMetrics::INFRA_HOST_USAGE, opts)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.9.0 | examples/v1/usage-metering/GetMonthlyUsageAttribution_3738504447.rb |