Sha256: 1ad08e897e91746d4bca2ff0be72b6b936c9a2443d57fb1315e2553362c9ee10
Contents?: true
Size: 481 Bytes
Versions: 1
Compression:
Stored size: 481 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 edit metadata. body = DatadogAPIClient::V1::MetricMetadata.new # MetricMetadata | New metadata. begin # Edit metric metadata result = api_instance.update_metric_metadata(metric_name, body) p result rescue DatadogAPIClient::V1::APIError => e puts "Error when calling MetricsAPI->update_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/UpdateMetricMetadata.rb |