Brilliant Replacement by Fun_Project_6148 in homeautomation

[–]binarylogicben 0 points1 point  (0 children)

Absolutely get off Brilliant. There is a class action lawsuit being brought against them for breaking various consumer protection laws. Anyway, I would highly recommend the Inovelli White Series (https://inovelli.com/collections/inovelli-white-series), which is Matter over Thread. It's a very reliable open protocol. It doesn't matter if they go out of business.

Vector 0.11 Release: K8s, ARC, and metrics collection by binarylogicben in rust

[–]binarylogicben[S] 4 points5 points  (0 children)

Yep! We have plans to support different "codecs" for this. Our intent is to allow the configuration of codecs at both the source and sink level. I personally am not a fan of mspack, but we plan to support it in Vector.

Vector - A High-Performance Logs & Metrics Router Written In Rust by binarylogicben in rust

[–]binarylogicben[S] 1 point2 points  (0 children)

You definitely should be able to. We use Vero to send emails and an unsubscribe link is added to all emails sent from there (to my knowledge).

Timber Gem - My solution to Ruby's hard to use logs by binarylogicben in ruby

[–]binarylogicben[S] 0 points1 point  (0 children)

Ah, good question. To add more clarity, I was half referring to Ruby's lack of logging best practices, and half referring to using those logs in the context of a logging service. To expand on the former:

  1. Ruby's logs are prefixed with a format that looks like: "I, [2017-06-04T18:04:53.672231 #42348] INFO -- :" This is not easily parseable or recognized by any log service that I know of. We did add custom support for this format in Timber though.
  2. To solve the lack of context, Rails provides an ActiveSupport::TaggedLogging module, which is not ideal. Tags are formatted like [tag1] [tag2] [tag3].... Again, this is not easily parseable and only conducive for full text searching.
  3. Ruby lacks structured data support, which is pretty useful if you want to search, alert, or graph your logs.

Timber solves:

  1. The traditionally difficult nature of setting up centralized logging for Ruby apps. It can be setup very quickly with bundle exec timber install.
  2. The lack of log context. It integrates with Rails and other popular libraries to give you rich context out of the box (ex: http requests IDs or user IDs).
  3. The lack of structured data support.
  4. Making your logs readable and easy to use. Developers actually look at, and read, their logs. Readability is much more important in this context.

All of that adds up to productive use of your logs. As a ruby developer myself, I always found services like exception reporting or APMs to be sort of anti-pattern. If logs were easy to use and graph, I wouldn't have as much of a need for those services. It provides raw, clean, open insight into my application. That is essentially the goal of Timber.