--- http_interactions: - request: method: post uri: https://app.datadoghq.com/api/v1/series?api_key= body: encoding: UTF-8 string: '{"series":[{"metric":"chef.run.success","points":[[1468585604,1.0]],"type":"counter","host":"chef.handler.datadog.test-tags","device":null}]}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Content-Type: - application/json response: status: code: 202 message: Accepted headers: Content-Type: - text/json Date: - Fri, 15 Jul 2016 12:26:40 GMT Dd-Pool: - propjoe Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff Content-Length: - '16' Connection: - keep-alive body: encoding: UTF-8 string: '{"status": "ok"}' http_version: recorded_at: Fri, 15 Jul 2016 12:26:44 GMT - request: method: post uri: https://app.datadoghq.com/api/v1/series?api_key= body: encoding: UTF-8 string: '{"series":[{"metric":"chef.run.failure","points":[[1468585604,0.0]],"type":"counter","host":"chef.handler.datadog.test-tags","device":null}]}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Content-Type: - application/json response: status: code: 202 message: Accepted headers: Content-Type: - text/json Date: - Fri, 15 Jul 2016 12:26:40 GMT Dd-Pool: - propjoe Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff Content-Length: - '16' Connection: - keep-alive body: encoding: UTF-8 string: '{"status": "ok"}' http_version: recorded_at: Fri, 15 Jul 2016 12:26:44 GMT - request: method: post uri: https://app.datadoghq.com/api/v1/series?api_key= body: encoding: UTF-8 string: '{"series":[{"metric":"chef.resources.total","points":[[1468585604,0.0]],"type":"gauge","host":"chef.handler.datadog.test-tags","device":null}]}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Content-Type: - application/json response: status: code: 202 message: Accepted headers: Content-Type: - text/json Date: - Fri, 15 Jul 2016 12:26:40 GMT Dd-Pool: - propjoe Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff Content-Length: - '16' Connection: - keep-alive body: encoding: UTF-8 string: '{"status": "ok"}' http_version: recorded_at: Fri, 15 Jul 2016 12:26:44 GMT - request: method: post uri: https://app.datadoghq.com/api/v1/series?api_key= body: encoding: UTF-8 string: '{"series":[{"metric":"chef.resources.updated","points":[[1468585604,0.0]],"type":"gauge","host":"chef.handler.datadog.test-tags","device":null}]}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Content-Type: - application/json response: status: code: 202 message: Accepted headers: Content-Type: - text/json Date: - Fri, 15 Jul 2016 12:26:40 GMT Dd-Pool: - propjoe Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff Content-Length: - '16' Connection: - keep-alive body: encoding: UTF-8 string: '{"status": "ok"}' http_version: recorded_at: Fri, 15 Jul 2016 12:26:44 GMT - request: method: post uri: https://app.datadoghq.com/api/v1/series?api_key= body: encoding: UTF-8 string: '{"series":[{"metric":"chef.resources.elapsed_time","points":[[1468585604,5.0]],"type":"gauge","host":"chef.handler.datadog.test-tags","device":null}]}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Content-Type: - application/json response: status: code: 202 message: Accepted headers: Content-Type: - text/json Date: - Fri, 15 Jul 2016 12:26:41 GMT Dd-Pool: - propjoe Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff Content-Length: - '16' Connection: - keep-alive body: encoding: UTF-8 string: '{"status": "ok"}' http_version: recorded_at: Fri, 15 Jul 2016 12:26:44 GMT - request: method: post uri: https://app.datadoghq.com/api/v1/events?api_key= body: encoding: UTF-8 string: '{"msg_text":"Chef updated 0 resources out of 0 resources total.","date_happened":1468585604,"msg_title":"Chef completed in 5 seconds on chef.handler.datadog.test-tags ","priority":"low","parent":null,"tags":["custom-prefix-env:hostile","custom-prefix-role:highlander"],"aggregation_key":"chef.handler.datadog.test-tags","alert_type":"success","event_type":"config_management.run","source_type_name":"chef","title":"Chef completed in 5 seconds on chef.handler.datadog.test-tags ","text":"Chef updated 0 resources out of 0 resources total.","host":"chef.handler.datadog.test-tags","device":null}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Content-Type: - application/json response: status: code: 202 message: Accepted headers: Content-Type: - text/plain; charset=utf-8 Date: - Fri, 15 Jul 2016 12:26:41 GMT Dd-Pool: - propjoe Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff Content-Length: - '401' Connection: - keep-alive body: encoding: UTF-8 string: '{"status":"ok","event":{"id":628649205653986705,"title":"Chef completed in 5 seconds on chef.handler.datadog.test-tags ","text":"Chef updated 0 resources out of 0 resources total.","date_happened":1468585604,"handle":null,"priority":"low","related_event_id":null,"tags":["custom-prefix-env:hostile","custom-prefix-role:highlander"],"url":"https://app.datadoghq.com/event/event?id=628649205653986705"}}' http_version: recorded_at: Fri, 15 Jul 2016 12:26:44 GMT - request: method: put uri: https://app.datadoghq.com/api/v1/tags/hosts/chef.handler.datadog.test-tags?api_key=&application_key=&source=chef body: encoding: UTF-8 string: '{"tags":["custom-prefix-env:hostile","custom-prefix-role:highlander"]}' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Content-Type: - application/json response: status: code: 201 message: Created headers: Cache-Control: - no-cache Content-Type: - application/json Date: - Fri, 15 Jul 2016 12:26:42 GMT Dd-Pool: - dogweb_sameorig Pragma: - no-cache Strict-Transport-Security: - max-age=15724800; X-Content-Type-Options: - nosniff X-Dd-Debug: - zQvcGkDLyR4m97VlDZoL6TkDDJcHi5I48BguYFvYR1g= X-Frame-Options: - SAMEORIGIN Content-Length: - '114' Connection: - keep-alive body: encoding: UTF-8 string: '{"host": "chef.handler.datadog.test-tags", "tags": ["custom-prefix-env:hostile", "custom-prefix-role:highlander"]}' http_version: recorded_at: Fri, 15 Jul 2016 12:26:44 GMT recorded_with: VCR 3.0.0