Sha256: 3f9b65e6e0cf0bb66917bb427c210c4dcd05f35ae97e1ef16b2c9b77e1ea5428

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 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 tags by metric name
  result = api_instance.list_tags_by_metric_name(metric_name)
  p result
rescue DatadogAPIClient::V2::APIError => e
  puts "Error when calling MetricsAPI->list_tags_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/ListTagsByMetricName.rb