logoalt Hacker News

Instrumenting my espresso machine with OpenTelemetry

20 pointsby g0xA52A2Alast Thursday at 8:06 AM8 commentsview on HN

Comments

alexpotatotoday at 10:50 AM

> So the plugin is split across the ESP32's two cores. The control loop and its sensor event handlers own core 0. The exporter gets its own FreeRTOS task pinned to core 1, where a blocking TLS handshake can never touch extraction:

I spent several years working on the technical side of HFT trading operations and this is also an issue with exchange gateways.

e.g. you want both to be true:

- fastest possible path through the gateway

- the ability to log EXACTLY when messages flowed through

The way this was accomplished was to split each direction (e.g. in and out) to a single core and then have an additional core for logging.

jamietannatoday at 12:16 PM

FYI the code snippets have no indentation

echelon_musktoday at 11:24 AM

Makes me think the world has gone mad, even as an on-off coffee drinker myself.

Far too much technology is encroaching into our lives. I know this is for the sake of an advert, but it feels absurd.

Your espresso is sour? Add some milk and get on with your life!

Gigachadtoday at 9:50 AM

Feels like AI slop writing

show 2 replies