Sha256: c93556cdf1658c492a21f9627165754f7683ae50230548f4324f7216198aa941

Contents?: true

Size: 360 Bytes

Versions: 1

Compression:

Stored size: 360 Bytes

Contents

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::LogsMetricsAPI.new
metric_id = "metric_id_example" # String | The name of the log-based metric.

begin
  # Delete a log-based metric
  api_instance.delete_logs_metric(metric_id)
rescue DatadogAPIClient::V2::APIError => e
  puts "Error when calling LogsMetricsAPI->delete_logs_metric: #{e}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

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