Hacker News new | ask | show | jobs
by gravypod 2156 days ago
This looks pretty neat. One thing that would be really cool would be support for event logging of protobuf messages. Some way to provide squizy a protobuf bin file that describes all of my messages or something and then a way to generically send you a bunch of protos and have your api serialzie and allow queries and notifications based on these messages.

One thing we have at work is something that's like this:

    message Event {
        enum type {
            UserLoginFailed login_failed
            SpecificApiRequestMade api_request
            ....
        }
    }
Right now we're turning these protos into json and serializing it into a mongodb for easy queries. This way we can do things like "COUNT(*) GROUPED BY login_failed.username" and find accoutns that are being targeted by bots, for example.
1 comments

Thank for feedback, I think we already support that for golang, here example: https://github.com/squzy/test_tracing

That example on dashboard: https://demo.squzy.app/transactions/Y_jLC4hlwirv0PYqvSVG5

It is means you can create custom transaction in specific cases, and you can group by them on that page: https://demo.squzy.app/applications/5eef71dcaac3ab3dc67a4ef3...