-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update integration tests to use raw JSON data (#319)
- Loading branch information
Showing
10 changed files
with
219 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,19 @@ | ||
{ | ||
"awslogs": { | ||
"data": "H4sIAAAAAAAAAHWPwQqCQBCGX0Xm7EFtK+smZBEUgXoLCdMhFtKV3akI8d0bLYmibvPPN3wz00CJxmQnTO41whwWQRIctmEcB6sQbFC3CjW3XW8kxpOpP+OC22d1Wml1qZkQGtoMsScxaczKN3plG8zlaHIta5KqWsozoTYw3/djzwhpLwivWFGHGpAFe7DL68JlBUk+l7KSN7tCOEJ4M3/qOI49vMHj+zCKdlFqLaU2ZHV2a4Ct/an0/ivdX8oYc1UVX860fQDQiMdxRQEAAA==" | ||
} | ||
"messageType": "DATA_MESSAGE", | ||
"owner": "123456789123", | ||
"logGroup": "testLogGroup", | ||
"logStream": "testLogStream", | ||
"subscriptionFilters": ["testFilter"], | ||
"logEvents": [ | ||
{ | ||
"id": "eventId1", | ||
"timestamp": 1440442987000, | ||
"message": "[ERROR] First test message" | ||
}, | ||
{ | ||
"id": "eventId2", | ||
"timestamp": 1440442987001, | ||
"message": "[ERROR] Second test message" | ||
} | ||
] | ||
} |
27 changes: 24 additions & 3 deletions
27
aws/logs_monitoring/tests/snapshots/cloudwatch_log_coldstart.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,26 @@ | ||
{ | ||
"awslogs": { | ||
"data": "H4sIAAAAAAAAAK2QT2/aQBDFv4pl9Yjj2dnZf9yIcKNIpa2w20tA1RovqSUbU3sppVG+exZIJVQlh0i5rd7svPeb9xC3bhjsvSsOWxeP4+mkmPyYZXk+ucniUdztN64PsgRGqFAZYyDITXd/03e7bZikdj+kjW3LyqaD7/p2SFZNt6v21q9+Ju632/jzQu57Z9uwgYCQgkyB0rsPnyZFlhdLu8aSOaaJl5osVhpWUmkC6/h6bRUGi2FXDqu+3vq623ysG+/6IR7fxe3hnLE8hWTH91F/iOsqZHFBWmrOyIAGkMQZCia4BMkADXKmGBE3EkkoprRQEoUCpJDn69CMt204kgnDUJMQBowe/Wss2OfFZF5Ec/drF77eVuOoKlGJtVaJNZwSUswm2mhISsnLNVUrVroy+h7QwxHj6Pn6xSZ+HL0ALJWgI6siw4wyCjkpFSCNVhoIECUHQ8xoVPw1YAbsEjj7PH0r7jvQvVrnf3Tz7OuXt/e58NNdb/2pUXalZNQOC39dN42roosJwGkwc23XH6K8/uuCiDqaXQfR/omeB98GF3LprN9uan/pgXBlzv7HVpaPT8e9Sb4+AwAA" | ||
"messageType": "DATA_MESSAGE", | ||
"owner": "601427279990", | ||
"logGroup": "/aws/lambda/storms-cloudwatch-event", | ||
"logStream": "2020/06/04/[$LATEST]af2b1e1843b84a2d80c67840ae3ffa72", | ||
"subscriptionFilters": [ | ||
"myevent" | ||
], | ||
"logEvents": [ | ||
{ | ||
"id": "35486831490800643125153606102923171443962457178576257024", | ||
"timestamp": 1591284559098, | ||
"message": "START RequestId: db275f87-a934-471a-8980-b63bf4dc1beb Version: $LATEST\\n" | ||
}, | ||
{ | ||
"id": "35486831490867545360749197972347778598780402263094198273", | ||
"timestamp": 1591284559101, | ||
"message": "END RequestId: db275f87-a934-471a-8980-b63bf4dc1beb\\n" | ||
}, | ||
{ | ||
"id": "35486831490867545360749197972347778598780402263094198274", | ||
"timestamp": 1591284559101, | ||
"message": "REPORT RequestId: db275f87-a934-471a-8980-b63bf4dc1beb\\tDuration: 1.76 ms\\tBilled Duration: 100 ms\\tMemory Size: 128 MB\\tMax Memory Used: 48 MB\\tInit Duration: 120.96 ms\\t\\n" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
95 changes: 92 additions & 3 deletions
95
aws/logs_monitoring/tests/snapshots/cloudwatch_log_lambda_invocation.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,94 @@ | ||
{ | ||
"awslogs": { | ||
"data": "H4sIAAAAAAAAAO1aa2/bOBb9K4KxH2OF74cG/ZCiaafAdqZIMsDuxoFBSVSiGVny6uE0U/S/7yVlN3FsJ3bizKDdwoDjkFfk5TmX90Hx82Bim8Zc2rObqR1EgzdHZ0fjD8enp0fvjgcHg+q6tDU0C4QZkURqrRE0F9Xlu7rqptBzaK6bw8JM4tQcXtmiqIZpdTksq9QOUzsb+iZMPvUPnba1NRN4iiCCDhE9RPzw/B//PDo7Pj27IChO0yzlhqQJS0SspUkQUQhZYzVK3bxNFzdJnU/bvCrf5kVr62YQnQ8emvfCT3w8s2XrZD8P8hTmp5xizKXAGGumBCFKMkSpkoIJoqVWnGpNNNaaKqUE0pQwQoUCHdocEGvNBBaPuaKMwBeMww4WSM6XN0R0iPgZFhFFERUhxvQ/ozZDKo5ZooapiMmQZYgPTYLl0GTSktggxLN41L45fv3bu1F7nqZhW5vEjvP0FcWScMHgG3ElhNaYBdDfTE3puoEfTUBPoQlTsDzCubgIPo8GoGvbNaNBNBqkNu4uR4OD0ULVvtW0BrCLPpo2ubJpkFRlUxU2qLp22rXBdd5eBV4L19PaT+1o8GVUDr4cPA9L/Sws2d+CpenaysP089nZRwCvrTsLaPpx6/dl3uamyP+06W3X1uj/UrXB1A2dl5eBGz4o8rg2dW6bveAt0TeI99bonViTOuCW7DTI6moS2HIWzEwdnFRV+woPuRUYZkuGSYIJ0Yal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z74Oz3BqbvUE2Cigg+vodF8CuYdvzUWZsa47xiV/zo5+ndw5q9oufbHX8eM2tP+/bKTR9IobiWGipUiEhPo7F/KRIG7FukmACP48j9quNfKfCwAAA==" | ||
} | ||
"messageType": "DATA_MESSAGE", | ||
"owner": "601427279990", | ||
"logGroup": "/aws/lambda/hello-dog-node-dev-hello12x", | ||
"logStream": "2020/03/05/[$LATEST]20bddfd5a2dc4c6b97ac02800eae90d0", | ||
"subscriptionFilters": ["hello-dog-node-dev-hello12x"], | ||
"logEvents": [ | ||
{ | ||
"id": "35311576111948622874033876462979853992919938886093242368", | ||
"timestamp": 1583425836114, | ||
"message": "2020-03-05T16:30:36.113Z\tf08bb4c8-d6b2-4f05-ac17-af7e2ba005fb\tDEBUG\t[dd.trace_id=3172564172058669914 dd.span_id=14292093692483532556] {\"status\":\"debug\",\"message\":\"datadog:Patched console output with trace context\"}\n" | ||
}, | ||
{ | ||
"id": "35311576111948622874033876462979853992919938886093242369", | ||
"timestamp": 1583425836114, | ||
"message":"2020-03-05T16:30:36.114Z\tf08bb4c8-d6b2-4f05-ac17-af7e2ba005fb\tDEBUG\t[dd.trace_id=3172564172058669914 dd.span_id=14292093692483532556] {\"autoPatchHTTP\":true,\"tracerInitialized\":true,\"status\":\"debug\",\"message\":\"datadog:Not patching HTTP libraries\"}\n" | ||
}, | ||
{ | ||
"id": "35311576111948622874033876462979853992919938886093242370", | ||
"timestamp": 1583425836114, | ||
"message": "2020-03-05T16:30:36.114Z\tf08bb4c8-d6b2-4f05-ac17-af7e2ba005fb\tDEBUG\t[dd.trace_id=3172564172058669914 dd.span_id=14292093692483532556] {\"status\":\"debug\",\"message\":\"datadog:Reading trace context from env var Root=1-5e61292c-cc1229a4dfbeae1043928548;Parent=c657b77d9514f70c;Sampled=1\"}\n" | ||
}, | ||
{ | ||
"id": "35311576111948622874033876462979853992919938886093242371", | ||
"timestamp": 1583425836114, | ||
"message":"2020-03-05T16:30:36.114Z\tf08bb4c8-d6b2-4f05-ac17-af7e2ba005fb\tDEBUG\t[dd.trace_id=3172564172058669914 dd.span_id=14292093692483532556] {\"parentID\":\"14292093692483532556\",\"sampleMode\":2,\"source\":\"xray\",\"traceID\":\"6899143064054564168\",\"status\":\"debug\",\"message\":\"datadog:read trace context from environment\"}\n" | ||
}, | ||
{ | ||
"id": "35311576111948622874033876462979853992919938886093242372", | ||
"timestamp": 1583425836114, | ||
"message":"{\"e\":1583425836.114,\"m\":\"aws.lambda.enhanced.invocations\",\"t\":[\"region:us-east-1\",\"account_id:601427279990\",\"functionname:hello-dog-node-dev-hello12x\",\"cold_start:false\",\"memorysize:128\",\"runtime:nodejs12.x\"],\"v\":1}\n" | ||
}, | ||
{ | ||
"id": "35311576112305434797210366433244425485282312670188929029", | ||
"timestamp": 1583425836130, | ||
"message":"2020-03-05T16:30:36.130Z\tf08bb4c8-d6b2-4f05-ac17-af7e2ba005fb\tDEBUG\t[dd.trace_id=6899143064054564168 dd.span_id=14292093692483532556] {\"status\":\"debug\",\"message\":\"datadog:set trace context from xray with parent 14292093692483532556 from segment\"}\n" | ||
}, | ||
{ | ||
"id": "35311576113197464605151591358905854216188247130428145670", | ||
"timestamp": 1583425836170, | ||
"message": "2020-03-05T16:30:36.131Z\tf08bb4c8-d6b2-4f05-ac17-af7e2ba005fb\tDEBUG\t[dd.trace_id=6899143064054564168 dd.span_id=14292093692483532556] {\"status\":\"debug\",\"message\":\"datadog:set trace context from xray with parent 14292093692483532556 from segment\"}\n" | ||
}, | ||
{ | ||
"id": "35311576113197464605151591358905854216188247130428145671", | ||
"timestamp": 1583425836170, | ||
"message":"2020-03-05T16:30:36.131Z\tf08bb4c8-d6b2-4f05-ac17-af7e2ba005fb\tDEBUG\t[dd.trace_id=6899143064054564168 dd.span_id=14292093692483532556] {\"status\":\"debug\",\"message\":\"datadog:set trace context from xray with parent 14292093692483532556 from segment\"}\n" | ||
}, | ||
{ | ||
"id":"35311576113197464605151591358905854216188247130428145672", | ||
"timestamp": 1583425836170, | ||
"message": "2020-03-05T16:30:36.131Z\tf08bb4c8-d6b2-4f05-ac17-af7e2ba005fb\tDEBUG\t[dd.trace_id=6899143064054564168 dd.span_id=14292093692483532556] {\"status\":\"debug\",\"message\":\"datadog:set trace context from xray with parent 14292093692483532556 from segment\"}\n" | ||
}, | ||
{ | ||
"id":"35311576113197464605151591358905854216188247130428145673", | ||
"timestamp": 1583425836170, | ||
"message":"2020-03-05T16:30:36.131Z\tf08bb4c8-d6b2-4f05-ac17-af7e2ba005fb\tDEBUG\t[dd.trace_id=6899143064054564168 dd.span_id=14292093692483532556] {\"status\":\"debug\",\"message\":\"datadog:Attempting to find parent for datadog trace trace\"}\n" | ||
}, | ||
{ | ||
"id": "35311576113197464605151591358905854216188247130428145674", | ||
"timestamp": 1583425836170, | ||
"message": "2020-03-05T16:30:36.131Z\tf08bb4c8-d6b2-4f05-ac17-af7e2ba005fb\tDEBUG\t[dd.trace_id=6899143064054564168 dd.span_id=14292093692483532556] {\"status\":\"debug\",\"message\":\"datadog:Applying lambda context to datadog traces\"}\n" | ||
}, | ||
{ | ||
"id": "35311576113643479509122203821736568581641214360547753995", | ||
"timestamp": 1583425836190, | ||
"message":"2020-03-05T16:30:36.172Z\tf08bb4c8-d6b2-4f05-ac17-af7e2ba005fb\tINFO\t[dd.trace_id=6899143064054564168 dd.span_id=2927617725217152879] Request Headers undefined\n"},{"id":"35311576113643479509122203821736568581641214360547753996","timestamp":1583425836190,"message":"2020-03-05T16:30:36.172Z\tf08bb4c8-d6b2-4f05-ac17-af7e2ba005fb\tINFO\t[dd.trace_id=6899143064054564168 dd.span_id=2927617725217152879] Root=1-5e61292c-cc1229a4dfbeae1043928548;Parent=c657b77d9514f70c;Sampled=1\n" | ||
}, | ||
{ | ||
"id": "35311576113643479509122203821736568581641214360547753997", | ||
"timestamp": 1583425836190, | ||
"message": "{\"e\":1583425836.172,\"m\":\"hello.js10x.dog-2\",\"t\":[\"dd_lambda_layer:datadog-nodev12.14.1\"],\"v\":10}\n" | ||
}, | ||
{ | ||
"id": "35311576123455807396475678004012284621606493423179137038", | ||
"timestamp": 1583425836630, | ||
"message":"2020-03-05T16:30:36.592Z\tf08bb4c8-d6b2-4f05-ac17-af7e2ba005fb\tINFO\t[dd.trace_id=6899143064054564168 dd.span_id=3694123456155101779] 8103.047457805628\n" | ||
}, | ||
{ | ||
"id":"35311576123478108141674208627153820339879141784685117455", | ||
"timestamp": 1583425836631, | ||
"message":"2020-03-05T16:30:36.631Z\tf08bb4c8-d6b2-4f05-ac17-af7e2ba005fb\tINFO\t[dd.trace_id=6899143064054564168 dd.span_id=2927617725217152879] Finishing Span\n" | ||
}, | ||
{ | ||
"id":"35311576125685881916328740318165856448871329573777178640", | ||
"timestamp": 1583425836730, | ||
"message": "{\"traces\":[[{\"trace_id\":\"5fbeae1043928548\",\"span_id\":\"334429b608902a53\",\"parent_id\":\"28a0fccf55b49f6f\",\"name\":\"calculation-long-number\",\"resource\":\"calculation-long-number\",\"error\":0,\"meta\":{\"language\":\"javascript\"},\"metrics\":{\"_sample_rate\":1,\"_sampling_priority_v1\":2},\"start\":1583425836164691700,\"duration\":458278320,\"service\":\"hello-dog-node-dev-hello12x\"},{\"trace_id\":\"5fbeae1043928548\",\"span_id\":\"181f42c1d3d93cbb\",\"parent_id\":\"483385e6470b5e23\",\"name\":\"recursive-func\",\"resource\":\"recursive-func\",\"error\":0,\"meta\":{\"language\":\"javascript\"},\"metrics\":{\"_sample_rate\":1,\"_sampling_priority_v1\":2},\"start\":1583425836623188200,\"duration\":13428,\"service\":\"hello-dog-node-dev-hello12x\"},{\"trace_id\":\"5fbeae1043928548\",\"span_id\":\"483385e6470b5e23\",\"parent_id\":\"533f613e4feb701d\",\"name\":\"recursive-func\",\"resource\":\"recursive-func\",\"error\":0,\"meta\":{\"language\":\"javascript\"},\"metrics\":{\"_sample_rate\":1,\"_sampling_priority_v1\":2},\"start\":1583425836623169000,\"duration\":35645,\"service\":\"hello-dog-node-dev-hello12x\"},{\"trace_id\":\"5fbeae1043928548\",\"span_id\":\"1fae9bd5a709ca8b\",\"parent_id\":\"2eeae625ac1cc300\",\"name\":\"recursive-func\",\"resource\":\"recursive-func\",\"error\":0,\"meta\":{\"language\":\"javascript\"},\"metrics\":{\"_sample_rate\":1,\"_sampling_priority_v1\":2},\"start\":1583425836623226000,\"duration\":9277,\"service\":\"hello-dog-node-dev-hello12x\"},{\"trace_id\":\"5fbeae1043928548\",\"span_id\":\"2eeae625ac1cc300\",\"parent_id\":\"533f613e4feb701d\",\"name\":\"recursive-func\",\"resource\":\"recursive-func\",\"error\":0,\"meta\":{\"language\":\"javascript\"},\"metrics\":{\"_sample_rate\":1,\"_sampling_priority_v1\":2},\"start\":1583425836623211000,\"duration\":26367,\"service\":\"hello-dog-node-dev-hello12x\"},{\"trace_id\":\"5fbeae1043928548\",\"span_id\":\"533f613e4feb701d\",\"parent_id\":\"28a0fccf55b49f6f\",\"name\":\"recursive-func\",\"resource\":\"recursive-func\",\"error\":0,\"meta\":{\"language\":\"javascript\"},\"metrics\":{\"_sample_rate\":1,\"_sampling_priority_v1\":2},\"start\":1583425836623111700,\"duration\":127197,\"service\":\"hello-dog-node-dev-hello12x\"},{\"trace_id\":\"5fbeae1043928548\",\"span_id\":\"5e88d3a8bef94ac9\",\"parent_id\":\"28a0fccf55b49f6f\",\"name\":\"dns.lookup\",\"resource\":\"0.0.0.0\",\"error\":0,\"meta\":{\"span.kind\":\"client\",\"dns.hostname\":\"0.0.0.0\",\"dns.address\":\"0.0.0.0\"},\"metrics\":{\"_sample_rate\":1,\"_sampling_priority_v1\":2},\"start\":1583425836123944000,\"duration\":499751709,\"service\":\"hello-dog-node-dev-hello12x-dns\"},{\"trace_id\":\"5fbeae1043928548\",\"span_id\":\"65aaa955aa6a5773\",\"parent_id\":\"28a0fccf55b49f6f\",\"name\":\"dns.lookup\",\"resource\":\"169.254.79.2\",\"error\":0,\"meta\":{\"span.kind\":\"client\",\"dns.hostname\":\"169.254.79.2\",\"dns.address\":\"169.254.79.2\"},\"metrics\":{\"_sample_rate\":1,\"_sampling_priority_v1\":2},\"start\":1583425836623786500,\"duration\":218750,\"service\":\"hello-dog-node-dev-hello12x-dns\"},{\"trace_id\":\"5fbeae1043928548\",\"span_id\":\"5ceec4bec34feffa\",\"parent_id\":\"47e81ba4338c9b28\",\"name\":\"dns.lookup\",\"resource\":\"www.google.com\",\"error\":0,\"meta\":{\"span.kind\":\"client\",\"dns.hostname\":\"www.google.com\",\"dns.address\":\"172.217.15.68\"},\"metrics\":{\"_sample_rate\":1,\"_sampling_priority_v1\":2},\"start\":1583425836164049000,\"duration\":460493896,\"service\":\"hello-dog-node-dev-hello12x-dns\"},{\"trace_id\":\"5fbeae1043928548\",\"span_id\":\"47e81ba4338c9b28\",\"parent_id\":\"536370893130141b\",\"name\":\"tcp.connect\",\"resource\":\"www.google.com:443\",\"error\":0,\"meta\":{\"span.kind\":\"client\",\"tcp.remote.host\":\"www.google.com\",\"tcp.remote.port\":\"443\",\"tcp.family\":\"IPv4\",\"out.host\":\"www.google.com\",\"out.port\":\"443\",\"tcp.local.address\":\"169.254.76.1\",\"tcp.local.port\":\"37484\"},\"metrics\":{\"_sample_rate\":1,\"_sampling_priority_v1\":2},\"start\":1583425836163914000,\"duration\":479066650,\"service\":\"hello-dog-node-dev-hello12x-tcp\"},{\"trace_id\":\"5fbeae1043928548\",\"span_id\":\"536370893130141b\",\"parent_id\":\"28a0fccf55b49f6f\",\"name\":\"http.request\",\"resource\":\"GET\",\"error\":0,\"meta\":{\"span.kind\":\"client\",\"http.method\":\"GET\",\"http.url\":\"https://www.google.com/\",\"http.status_code\":\"200\"},\"metrics\":{\"_sample_rate\":1,\"_sampling_priority_v1\":2},\"start\":1583425836124274200,\"duration\":577401367,\"service\":\"hello-dog-node-dev-hello12x-http-client\",\"type\":\"http\"},{\"trace_id\":\"5fbeae1043928548\",\"span_id\":\"28a0fccf55b49f6f\",\"parent_id\":\"c657b77d9514f70c\",\"name\":\"aws.lambda\",\"resource\":\"handler.hello\",\"error\":0,\"meta\":{\"cold_start\":\"false\",\"function_arn\":\"arn:aws:lambda:us-east-1:601427279990:function:hello-dog-node-dev-hello12x\",\"request_id\":\"f08bb4c8-d6b2-4f05-ac17-af7e2ba005fb\",\"resource_names\":\"hello-dog-node-dev-hello12x\",\"language\":\"javascript\"},\"metrics\":{\"_sample_rate\":1,\"_sampling_priority_v1\":2},\"start\":1583425836123549200,\"duration\":578297119,\"service\":\"hello-dog-node-dev-hello12x\"}]]}\n"},{"id":"35311576126131896820299352780996570814324296803896786961","timestamp":1583425836750,"message":"END RequestId: f08bb4c8-d6b2-4f05-ac17-af7e2ba005fb\n" | ||
}, | ||
{ | ||
"id": "35311576126131896820299352780996570814324296803896786962", | ||
"timestamp": 1583425836750, | ||
"message": "REPORT RequestId: f08bb4c8-d6b2-4f05-ac17-af7e2ba005fb\tDuration: 619.31 ms\tBilled Duration: 700 ms\tMemory Size: 128 MB\tMax Memory Used: 118 MB\t\nXRAY TraceId: 1-5e61292c-cc1229a4dfbeae1043928548\tSegmentId: 07a85e713f6302b2\tSampled: true\t\n" | ||
} | ||
] | ||
} |
Oops, something went wrong.