Sha256: 4d6b55de972cacb1c54ce73542c763f4b8bdb81897438e5facd03cec07fb3d1f

Contents?: true

Size: 287 Bytes

Versions: 3

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

3 entries across 3 versions & 1 rubygems

Version Path
datadog_api_client-2.19.0 examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb
datadog_api_client-2.18.0 examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb
datadog_api_client-2.17.0 examples/v2/usage-metering/GetUsageLambdaTracedInvocations.rb