Sha256: 655aa4695c51ad48a34003c7923bab5002d95e559e6f4101d35638b31f4d3005
Contents?: true
Size: 371 Bytes
Versions: 1
Compression:
Stored size: 371 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 # Get a log-based metric result = api_instance.get_logs_metric(metric_id) p result rescue DatadogAPIClient::V2::APIError => e puts "Error when calling LogsMetricsAPI->get_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/GetLogsMetric.rb |