Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Probably not optimal diff storage #85

Open
n0str opened this issue Apr 13, 2020 · 0 comments
Open

Probably not optimal diff storage #85

n0str opened this issue Apr 13, 2020 · 0 comments

Comments

@n0str
Copy link
Member

n0str commented Apr 13, 2020

db.getCollection('events:5e4ff518628a6c714515f4da').find({groupHash:"3c88bb39615d9a5dd67d5d17d597c92084974d8f4a05ce2510c2849f9daaa317"})

https://beta.hawk.so/project/5e4ff518628a6c714515f4da/event/5e55300c2ea83d67f04af78d/5e554bc12ea83d67f04cad65/overview

Event content

{
    "_id" : ObjectId("5e55300c2ea83d67f04af78d"),
    "groupHash" : "3c88bb39615d9a5dd67d5d17d597c92084974d8f4a05ce2510c2849f9daaa317",
    "totalCount" : 30,
    "catcherType" : "errors/javascript",
    "payload" : {
        "title" : "Не удалось получить свойство \"length\" ссылки, значение которой не определено или является NULL",
        "release" : "fd008cef",
        "timestamp" : 1582641161.718,
        "context" : {},
        "user" : null,
        "get" : null,
        "addons" : {
            "window" : {
                "innerWidth" : 1058,
                "innerHeight" : 909
            }
        },
        "backtrace" : [ 
...

Repetitions look like this:

{
    "_id" : ObjectId("5e55305a2ea83d67f04af80d"),
    "groupHash" : "3c88bb39615d9a5dd67d5d17d597c92084974d8f4a05ce2510c2849f9daaa317",
    "payload" : {
        "timestamp" : 1582641241.677,
        "context" : {},
        "user" : null,
        "get" : null,
        "addons" : {
            "window" : {
                "innerWidth" : 1829,
                "innerHeight" : 938
            }
        },
        "backtrace" : [ 
            {
                "sourceCode" : [ 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {
                        "content" : ""
                    }, 
                    {}, 
                    {}, 
                    {
                        "content" : ""
                    }, 
                    {}, 
                    {}, 
                    {}
                ]
            }, 
            {
                "sourceCode" : [ 
                    {}, 
                    {}, 
                    {
                        "content" : ""
                    }, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}
                ]
            }, 
            {
                "sourceCode" : [ 
                    {}, 
                    {}, 
                    {
                        "content" : ""
                    }, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}
                ]
            }, 
            {
                "sourceCode" : [ 
                    {}, 
                    {}, 
                    {
                        "content" : ""
                    }, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}
                ]
            }, 
            {
                "sourceCode" : [ 
                    {}, 
                    {}, 
                    {
                        "content" : ""
                    }, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}
                ]
            }, 
            {
                "sourceCode" : [ 
                    {}, 
                    {}, 
                    {
                        "content" : ""
                    }, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}
                ]
            }, 
            {
                "sourceCode" : [ 
                    {}, 
                    {}, 
                    {
                        "content" : ""
                    }, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}
                ]
            }, 
            {
                "sourceCode" : [ 
                    {}, 
                    {
                        "content" : ""
                    }, 
                    {}, 
                    {}, 
                    {
                        "content" : ""
                    }, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}
                ]
            }, 
            {
                "sourceCode" : [ 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {
                        "content" : ""
                    }, 
                    {}, 
                    {
                        "content" : ""
                    }, 
                    {}, 
                    {
                        "content" : ""
                    }, 
                    {}, 
                    {
                        "content" : ""
                    }
                ]
            }, 
            {
                "sourceCode" : [ 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {
                        "content" : ""
                    }, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}, 
                    {}
                ]
            }
        ]
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant