Skip to content

Instantly share code, notes, and snippets.

@instplanet
Last active July 31, 2020 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save instplanet/fba74010b81bad57668650de8c8ef47e to your computer and use it in GitHub Desktop.
Save instplanet/fba74010b81bad57668650de8c8ef47e to your computer and use it in GitHub Desktop.
[
{
"insertId": "t56kj4f6hg9qq",
"jsonPayload": {
"loggerName": "RequestLogger",
"res": {
"body": {
"errors": [
"Could not find user with specified CPF/CNPJ"
],
"success": false,
"datetime": "2020-07-31 13:53:04",
"requestId": "0c545743adec4469318dd2b0844d5897"
}
},
"level": "info",
"message": "POST /api/v1/sales-confirmations 422 4ms",
"responseTime": 4,
"req": {
"body": {
"0": "%",
"1": "7",
"2": "B",
"3": "%",
"4": "0",
"5": "D",
"6": "%",
"7": "0",
"8": "A",
"9": "%",
"10": "0",
"11": "9",
"12": "%",
"13": "2",
"14": "2",
"15": "c",
"16": "l",
"17": "i",
"18": "e",
"19": "n",
"20": "t",
"21": "_",
"22": "i",
"23": "d",
"24": "%",
"25": "2",
"26": "2",
"27": "%",
"28": "3",
"29": "A",
"30": "%",
"31": "2",
"32": "0",
"33": "%",
"34": "2",
"35": "2",
"36": "0",
"37": "8",
"38": "6",
"39": "7",
"40": "8",
"41": "8",
"42": "8",
"43": "2",
"44": "9",
"45": "6",
"46": "4",
"47": "%",
"48": "2",
"49": "2",
"50": "%",
"51": "2",
"52": "C",
"53": "%",
"54": "2",
"55": "0",
"56": "%",
"57": "0",
"58": "D",
"59": "%",
"60": "0",
"61": "A",
"62": "%",
"63": "0",
"64": "9",
"65": "%",
"66": "2",
"67": "2",
"68": "c",
"69": "a",
"70": "n",
"71": "c",
"72": "e",
"73": "l",
"74": "l",
"75": "a",
"76": "t",
"77": "i",
"78": "o",
"79": "n",
"80": "%",
"81": "2",
"82": "2",
"83": "%",
"84": "3",
"85": "A",
"86": "%",
"87": "2",
"88": "0",
"89": "f",
"90": "a",
"91": "l",
"92": "s",
"93": "e",
"94": "%",
"95": "2",
"96": "C",
"97": "%",
"98": "2",
"99": "0",
"100": "%",
"101": "0",
"102": "D",
"103": "%",
"104": "0",
"105": "A",
"106": "%",
"107": "0",
"108": "9",
"109": "%",
"110": "2",
"111": "2",
"112": "p",
"113": "r",
"114": "o",
"115": "d",
"116": "u",
"117": "c",
"118": "t",
"119": "_",
"120": "d",
"121": "i",
"122": "s",
"123": "c",
"124": "o",
"125": "u",
"126": "n",
"127": "t",
"128": "s",
"129": "%",
"130": "2",
"131": "2",
"132": "%",
"133": "3",
"134": "A",
"135": "%",
"136": "2",
"137": "0",
"138": "%",
"139": "5",
"140": "B",
"141": "%",
"142": "0",
"143": "D",
"144": "%",
"145": "0",
"146": "A",
"147": "%",
"148": "0",
"149": "9",
"150": "%",
"151": "0",
"152": "9",
"153": "%",
"154": "7",
"155": "B",
"156": "%",
"157": "0",
"158": "D",
"159": "%",
"160": "0",
"161": "A",
"162": "%",
"163": "0",
"164": "9",
"165": "%",
"166": "0",
"167": "9",
"168": "%",
"169": "0",
"170": "9",
"171": "%",
"172": "2",
"173": "2",
"174": "c",
"175": "o",
"176": "d",
"177": "e",
"178": "%",
"179": "2",
"180": "2",
"181": "%",
"182": "3",
"183": "A",
"184": "%",
"185": "2",
"186": "0",
"187": "%",
"188": "2",
"189": "2",
"190": "5",
"191": "f",
"192": "2",
"193": "4",
"194": "1",
"195": "8",
"196": "0",
"197": "2",
"198": "5",
"199": "a",
"200": "0",
"201": "e",
"202": "6",
"203": "0",
"204": "e",
"205": "8",
"206": "0",
"207": "8",
"208": "8",
"209": "3",
"210": "b",
"211": "1",
"212": "9",
"213": "2",
"214": "%",
"215": "2",
"216": "2",
"217": "%",
"218": "2",
"219": "C",
"220": "%",
"221": "2",
"222": "0",
"223": "%",
"224": "0",
"225": "D",
"226": "%",
"227": "0",
"228": "A",
"229": "%",
"230": "0",
"231": "9",
"232": "%",
"233": "0",
"234": "9",
"235": "%",
"236": "0",
"237": "9",
"238": "%",
"239": "2",
"240": "2",
"241": "q",
"242": "u",
"243": "a",
"244": "n",
"245": "t",
"246": "i",
"247": "t",
"248": "y",
"249": "%",
"250": "2",
"251": "2",
"252": "%",
"253": "3",
"254": "A",
"255": "%",
"256": "2",
"257": "0",
"258": "1",
"259": "%",
"260": "0",
"261": "D",
"262": "%",
"263": "0",
"264": "A",
"265": "%",
"266": "0",
"267": "9",
"268": "%",
"269": "0",
"270": "9",
"271": "%",
"272": "7",
"273": "D",
"274": "%",
"275": "2",
"276": "C",
"277": "%",
"278": "0",
"279": "D",
"280": "%",
"281": "0",
"282": "A",
"283": "%",
"284": "7",
"285": "B",
"286": "%",
"287": "0",
"288": "D",
"289": "%",
"290": "0",
"291": "A",
"292": "%",
"293": "0",
"294": "9",
"295": "%",
"296": "0",
"297": "9",
"298": "%",
"299": "0",
"300": "9",
"301": "%",
"302": "2",
"303": "2",
"304": "c",
"305": "o",
"306": "d",
"307": "e",
"308": "%",
"309": "2",
"310": "2",
"311": "%",
"312": "3",
"313": "A",
"314": "%",
"315": "2",
"316": "0",
"317": "%",
"318": "2",
"319": "2",
"320": "5",
"321": "f",
"322": "2",
"323": "4",
"324": "1",
"325": "8",
"326": "0",
"327": "2",
"328": "5",
"329": "a",
"330": "0",
"331": "e",
"332": "6",
"333": "0",
"334": "e",
"335": "8",
"336": "0",
"337": "8",
"338": "8",
"339": "3",
"340": "b",
"341": "1",
"342": "9",
"343": "1",
"344": "%",
"345": "2",
"346": "2",
"347": "%",
"348": "2",
"349": "C",
"350": "%",
"351": "2",
"352": "0",
"353": "%",
"354": "0",
"355": "D",
"356": "%",
"357": "0",
"358": "A",
"359": "%",
"360": "0",
"361": "9",
"362": "%",
"363": "0",
"364": "9",
"365": "%",
"366": "0",
"367": "9",
"368": "%",
"369": "2",
"370": "2",
"371": "q",
"372": "u",
"373": "a",
"374": "n",
"375": "t",
"376": "i",
"377": "t",
"378": "y",
"379": "%",
"380": "2",
"381": "2",
"382": "%",
"383": "3",
"384": "A",
"385": "%",
"386": "2",
"387": "0",
"388": "0",
"389": "%",
"390": "0",
"391": "D",
"392": "%",
"393": "0",
"394": "A",
"395": "%",
"396": "0",
"397": "9",
"398": "%",
"399": "0",
"400": "9",
"401": "%",
"402": "7",
"403": "D",
"404": "%",
"405": "0",
"406": "D",
"407": "%",
"408": "0",
"409": "A",
"410": "%",
"411": "0",
"412": "9",
"413": "%",
"414": "5",
"415": "D",
"416": "%",
"417": "2",
"418": "C",
"419": "%",
"420": "2",
"421": "0",
"422": "%",
"423": "0",
"424": "D",
"425": "%",
"426": "0",
"427": "A",
"428": "%",
"429": "0",
"430": "9",
"431": "%",
"432": "2",
"433": "2",
"434": "a",
"435": "b",
"436": "s",
"437": "o",
"438": "l",
"439": "u",
"440": "t",
"441": "e",
"442": "_",
"443": "d",
"444": "i",
"445": "s",
"446": "c",
"447": "o",
"448": "u",
"449": "n",
"450": "t",
"451": "%",
"452": "2",
"453": "2",
"454": "%",
"455": "3",
"456": "A",
"457": "%",
"458": "2",
"459": "0",
"460": "%",
"461": "7",
"462": "B",
"463": "%",
"464": "0",
"465": "D",
"466": "%",
"467": "0",
"468": "A",
"469": "%",
"470": "0",
"471": "9",
"472": "%",
"473": "0",
"474": "9",
"475": "%",
"476": "2",
"477": "2",
"478": "c",
"479": "o",
"480": "d",
"481": "e",
"482": "%",
"483": "2",
"484": "2",
"485": "%",
"486": "3",
"487": "A",
"488": "%",
"489": "2",
"490": "0",
"491": "%",
"492": "2",
"493": "2",
"494": "%",
"495": "2",
"496": "2",
"497": "%",
"498": "2",
"499": "C",
"500": "%",
"501": "2",
"502": "0",
"503": "%",
"504": "0",
"505": "D",
"506": "%",
"507": "0",
"508": "A",
"509": "%",
"510": "0",
"511": "9",
"512": "%",
"513": "0",
"514": "9",
"515": "%",
"516": "2",
"517": "2",
"518": "v",
"519": "a",
"520": "l",
"521": "u",
"522": "e",
"523": "%",
"524": "2",
"525": "2",
"526": "%",
"527": "3",
"528": "A",
"529": "%",
"530": "2",
"531": "0",
"532": "0",
"533": "%",
"534": "0",
"535": "D",
"536": "%",
"537": "0",
"538": "A",
"539": "%",
"540": "0",
"541": "9",
"542": "%",
"543": "7",
"544": "D",
"545": "%",
"546": "0",
"547": "D",
"548": "%",
"549": "0",
"550": "A",
"551": "%",
"552": "7",
"553": "D"
},
"headers": {
"authorization": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50SWQiOiI1ZWMyZTNhZjAwYmU1MzgyMjE2YjM0NGIiLCJ1bml0SWQiOiIxIiwiaWF0IjoxNTk2MjAwNDIwfQ.L4bXQe9W1a-sCQ2zk2ZUq-iG6Re8T0m2B43WgOydRF8",
"host": "discounts-secure.mercafacil.com",
"x-real-ip": "10.138.0.94",
"cf-visitor": "{\"scheme\":\"https\"}",
"content-length": "554",
"x-forwarded-port": "80",
"cf-ipcountry": "BR",
"x-forwarded-for": "10.138.0.94",
"accept-charset": "utf-8, *;q=0.8",
"x-original-forwarded-for": "2804:d59:813c:1d00:85c3:f97b:cf61:7ef",
"cf-ray": "5bb7cdb23b65eec6-GRU",
"cf-connecting-ip": "2804:d59:813c:1d00:85c3:f97b:cf61:7ef",
"x-request-id": "0c545743adec4469318dd2b0844d5897",
"x-forwarded-host": "discounts-secure.mercafacil.com",
"cf-request-id": "0446bee3600000eec60401f200000001",
"x-scheme": "http",
"cdn-loop": "cloudflare",
"x-forwarded-proto": "http",
"content-type": "application/x-www-form-urlencoded"
}
}
},
"resource": {
"type": "container",
"labels": {
"cluster_name": "mercafacil-cluster",
"pod_id": "thor-85847bf86f-pplcj",
"zone": "us-west1-a",
"namespace_id": "production",
"instance_id": "4349693243160014705",
"container_name": "thor",
"project_id": "tranquil-rite-247716"
}
},
"timestamp": "2020-07-31T13:53:04.453742450Z",
"severity": "INFO",
"labels": {
"container.googleapis.com/namespace_name": "production",
"container.googleapis.com/stream": "stdout",
"container.googleapis.com/pod_name": "thor-85847bf86f-pplcj",
"compute.googleapis.com/resource_name": "gke-mercafacil-cluster-pdv-thor-new-820a0861-hdnf"
},
"logName": "projects/tranquil-rite-247716/logs/thor",
"receiveTimestamp": "2020-07-31T13:53:08.648610168Z"
}
]
[
{
"insertId": "qn97fdf4xv0yr",
"jsonPayload": {
"message": "POST /api/v1/sales-confirmations 200 72ms",
"res": {
"body": {
"datetime": "2020-07-31 13:37:23",
"requestId": "d49f52f33294dc9f5233499e81123fa8",
"success": true
}
},
"responseTime": 72,
"req": {
"body": {
"cancellation": false,
"product_discounts": [
{
"userId": "08678882964",
"code": "5f2418025a0e60e80883b192",
"deletedAt": null,
"endpointType": "Normal",
"updatedAt": "2020-07-31 13:37:23",
"quantity": 1
},
{
"code": "5f2418025a0e60e80883b191",
"updatedAt": "2020-07-31 13:37:23",
"userId": "08678882964",
"endpointType": "Normal",
"quantity": 0,
"deletedAt": null
}
],
"client_id": "08678882964",
"absolute_discount": {
"userId": "08678882964",
"code": "",
"updatedAt": "2020-07-31 13:37:23",
"deletedAt": null,
"value": 0,
"endpointType": "Normal"
}
},
"headers": {
"cookie": "__cfduid=ddd5a032e3b9281fdae8f4b19877328251570493163; _ga=GA1.2.1115477024.1570494068; experimentation_subject_id=ImY3NTU1ZGY4LWY3MmItNGM4My04ZTk5LWFlOWUzY2I0OWNlNSI%3D--297f30d00d525335fe4dee86f5b6c3c50f65c4b3",
"x-forwarded-port": "80",
"cf-visitor": "{\"scheme\":\"https\"}",
"cf-connecting-ip": "186.216.174.224",
"content-type": "application/json",
"cf-ray": "5bb7b6b5ee12db94-GIG",
"x-scheme": "http",
"cf-request-id": "0446b085ac0000db94c99b1200000001",
"cdn-loop": "cloudflare",
"x-real-ip": "10.138.0.97",
"cf-ipcountry": "BR",
"x-original-forwarded-for": "186.216.174.224",
"origin": "https://discounts-secure.mercafacil.com",
"x-forwarded-proto": "http",
"x-forwarded-for": "10.138.0.97",
"authorization": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJhY2NvdW50SWQiOiI1ZWMyZTNhZjAwYmU1MzgyMjE2YjM0NGIiLCJ1bml0SWQiOiIxIiwiaWF0IjoxNTk2MjAwNDIwfQ.L4bXQe9W1a-sCQ2zk2ZUq-iG6Re8T0m2B43WgOydRF8",
"content-length": "271",
"host": "discounts-secure.mercafacil.com",
"x-forwarded-host": "discounts-secure.mercafacil.com",
"x-request-id": "d49f52f33294dc9f5233499e81123fa8"
}
},
"loggerName": "RequestLogger",
"level": "info"
},
"resource": {
"type": "container",
"labels": {
"cluster_name": "mercafacil-cluster",
"project_id": "tranquil-rite-247716",
"container_name": "thor",
"zone": "us-west1-a",
"namespace_id": "production",
"pod_id": "thor-85847bf86f-pplcj",
"instance_id": "4349693243160014705"
}
},
"timestamp": "2020-07-31T13:37:23.192041160Z",
"severity": "INFO",
"labels": {
"container.googleapis.com/pod_name": "thor-85847bf86f-pplcj",
"container.googleapis.com/stream": "stdout",
"compute.googleapis.com/resource_name": "gke-mercafacil-cluster-pdv-thor-new-820a0861-hdnf",
"container.googleapis.com/namespace_name": "production"
},
"logName": "projects/tranquil-rite-247716/logs/thor",
"receiveTimestamp": "2020-07-31T13:37:24.944492543Z"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment