[Tarantool-patches] [PATCH] crash: extend report with instance data

Alexander Turenko alexander.turenko at tarantool.org
Tue Dec 29 19:34:05 MSK 2020


On Mon, Dec 28, 2020 at 09:17:29PM +0300, Cyrill Gorcunov via Tarantool-patches wrote:
> Product team would prefer to have more data to
> be included into a crash report.
> 
> So we add "instance" key with appropriate values
> (just like regular feedback entry has). For example
> 
> | {
> |   "crashdump": {
> |     "version": "1",
> |     "data": {
> |       "uname": {
> |         "sysname": "Linux",
> |         "release": "5.9.14-100.fc32.x86_64",
> |         "version": "#1 SMP Fri Dec 11 14:30:38 UTC 2020",
> |         "machine": "x86_64"
> |       },
> |       "instance": {
> |         "server_id": "336bfbfd-9e71-4728-91e3-ba84aec4d7ea",
> |         "cluster_id": "176f3669-488f-46a5-a744-1be0b8a31029",
> |         "uptime": "3"
> |       },
> |       "build": {
> |         "version": "2.7.0-183-g02970b402",
> |         "cmake_type": "Linux-x86_64-Debug"
> |       },
> |       "signal": {
> |         "signo": 11,
> |         "si_code": 0,
> |         "si_addr": "0x3e800095fb9",
> |         "backtrace": "#0  0x6317ab in crash_collect+bf...",
> |         "timestamp": "2020-12-28 21:09:29 MSK"
> |       }
> |     }
> |   }
> | }
> 
> Closes #5668
> 
> Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
> ---
> issue https://github.com/tarantool/tarantool/issues/5668
> branch gorcunov/gh-5668-crash-extend

LGTM.

Pushed to master.

CCed Kirill.

WBR, Alexander Turenko.


More information about the Tarantool-patches mailing list