Sha256: ae35544b1a59fb4fd08a9f185ccbf6dfb331f214c6e60bf07edc98eecb924bcd

Contents?: true

Size: 411 Bytes

Versions: 1

Compression:

Stored size: 411 Bytes

Contents

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::MetricsAPI.new
metric_name = "dist.http.endpoint.request" # String | The name of the metric.

begin
  # List distinct metric volumes by metric name
  result = api_instance.list_volumes_by_metric_name(metric_name)
  p result
rescue DatadogAPIClient::V2::APIError => e
  puts "Error when calling MetricsAPI->list_volumes_by_metric_name: #{e}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-1.7.0 examples/generated/v2/metrics/ListVolumesByMetricName.rb