Sha256: 9229f20728114d8e86a0b049f568f7fd3bd4e553b118886b7b08dc90c53fa788

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 Bytes

Contents

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::MetricsAPI.new
metric_name = "metric_name_example" # String | Name of the metric for which to get metadata.

begin
  # Get metric metadata
  result = api_instance.get_metric_metadata(metric_name)
  p result
rescue DatadogAPIClient::V1::APIError => e
  puts "Error when calling MetricsAPI->get_metric_metadata: #{e}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-1.7.0 examples/generated/v1/metrics/GetMetricMetadata.rb