Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Most log messages are useless 99.99% of the time.

Things are useless until first crash happens, same thing applies to replication, you don't need replication until your servers start crashing.

> But logs shouldn't be your primary source of data, metrics should be.

There are different types of data related to the product:

    * product data - what's in your db
    * logs - human readable details of a journey for a single request
    * metrics - approximate health state of overall system, where storing high cardinality values are bad (e.g. customer_uuid)
    * traces - approximate details of a single request to be able to analyze request journey through systems, where storing high cardinality values might still be bad.

Logs are useful, but costly. Just like everything else which makes system more reliable


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: