--- http_interactions: - request: method: post uri: https://api.datadoghq.com/api/v2/logs/config/metrics body: encoding: UTF-8 string: '{"data":{"id":"ruby-Update_a_log_based_metric_returns_OK_response-1608596226","attributes":{"filter":{"query":"source:ruby-Update_a_log_based_metric_returns_OK_response-1608596226"},"compute":{"aggregation_type":"count"}},"type":"logs_metrics"}}' headers: User-Agent: - datadog-api-client-ruby/1.0.0.beta.2.dev (ruby 2.7.1; os darwin19.6.0; arch x86_64) Content-Type: - application/json Accept: - application/json Expect: - '' response: status: code: 200 message: OK headers: Date: - Tue, 22 Dec 2020 00:17:06 GMT Content-Type: - application/json;charset=utf-8 Content-Length: - '259' Connection: - keep-alive Vary: - Accept-Encoding Pragma: - no-cache Cache-Control: - no-cache Set-Cookie: - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Tue, 29-Dec-2020 00:17:06 GMT; secure; HttpOnly X-Dd-Version: - '35.3583277' X-Ratelimit-Limit: - '100' X-Ratelimit-Period: - '3600' X-Ratelimit-Reset: - '2574' X-Ratelimit-Remaining: - '77' Content-Disposition: - inline X-Dd-Debug: - 2NNUQsZpZeC5yOEHnEH8LSn5LhjKmDDM31iXmBawo7O6opYjviLgi+mfUoMNw5sj Dd-Pool: - dogweb Content-Security-Policy: - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report X-Frame-Options: - SAMEORIGIN X-Content-Type-Options: - nosniff Strict-Transport-Security: - max-age=15724800; body: encoding: UTF-8 string: '{"data":{"id":"ruby_Update_a_log_based_metric_returns_OK_response_1608596226","attributes":{"filter":{"query":"source:ruby-Update_a_log_based_metric_returns_OK_response-1608596226"},"group_by":[],"compute":{"aggregation_type":"count"}},"type":"logs_metrics"}}' recorded_at: Tue, 22 Dec 2020 00:17:06 GMT - request: method: patch uri: https://api.datadoghq.com/api/v2/logs/config/metrics/ruby_Update_a_log_based_metric_returns_OK_response_1608596226 body: encoding: UTF-8 string: '{"data":{"id":"ruby_Update_a_log_based_metric_returns_OK_response_1608596226","type":"logs_metrics","attributes":{"filter":{"query":"source:ruby-Update_a_log_based_metric_returns_OK_response-1608596226-updated"}}}}' headers: User-Agent: - datadog-api-client-ruby/1.0.0.beta.2.dev (ruby 2.7.1; os darwin19.6.0; arch x86_64) Content-Type: - application/json Accept: - application/json Expect: - '' response: status: code: 200 message: OK headers: Date: - Tue, 22 Dec 2020 00:17:07 GMT Content-Type: - application/json;charset=utf-8 Content-Length: - '267' Connection: - keep-alive Vary: - Accept-Encoding Pragma: - no-cache Cache-Control: - no-cache Set-Cookie: - DD-PSHARD=233; Max-Age=604800; Path=/; expires=Tue, 29-Dec-2020 00:17:07 GMT; secure; HttpOnly X-Dd-Version: - '35.3583277' X-Ratelimit-Limit: - '100' X-Ratelimit-Period: - '3600' X-Ratelimit-Reset: - '2573' X-Ratelimit-Remaining: - '76' Content-Disposition: - inline X-Dd-Debug: - gxfSlUtZJz4/cDPBxW1+YhseAnu5514ckuMWbI3rl8N4exeAZPF+KTE0BQhrBgSI Dd-Pool: - dogweb Content-Security-Policy: - frame-ancestors 'self'; report-uri https://api.datadoghq.com/csp-report X-Frame-Options: - SAMEORIGIN X-Content-Type-Options: - nosniff Strict-Transport-Security: - max-age=15724800; body: encoding: UTF-8 string: '{"data":{"id":"ruby_Update_a_log_based_metric_returns_OK_response_1608596226","attributes":{"filter":{"query":"source:ruby-Update_a_log_based_metric_returns_OK_response-1608596226-updated"},"group_by":[],"compute":{"aggregation_type":"count"}},"type":"logs_metrics"}}' recorded_at: Tue, 22 Dec 2020 00:17:06 GMT recorded_with: VCR 6.0.0