Sha256: 8f4bac71c4a0046056fedc4a6e83b1a004b02ffd1010db3be1a234768765acf8

Contents?: true

Size: 287 Bytes

Versions: 9

Compression:

Stored size: 287 Bytes

Contents

# Get hourly usage for Lambda traced invocations returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::UsageMeteringAPI.new
opts = {
  end_hr: (Time.now + -3 * 86400),
}
p api_instance.get_usage_lambda_traced_invocations((Time.now + -5 * 86400), opts)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
datadog_api_client-2.28.1 examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb
datadog_api_client-2.27.1 examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb
datadog_api_client-2.26.1 examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb
datadog_api_client-2.26.0 examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb
datadog_api_client-2.25.0 examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb
datadog_api_client-2.24.0 examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb
datadog_api_client-2.22.0 examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb
datadog_api_client-2.21.0 examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb
datadog_api_client-2.20.0 examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb