lawik

lawik

Nerves Core Team

My expectation is that if you use a service you probably use Sentry. Seems like a very common choice. But I’d love to hear if the truth is more diverse.

I am thinking about possibilities for integrating error reporting with NervesHub. And while we could certainly build a NervesHubLink extension for sending errors up to NervesHub it may be more helpful and a lot more bang-for-the-buck if we can integrate with what people actually use and then correlate the device identifiers and show “hey, UND00234238 has reported 1000 errors today”.

So let me know how you detect problems, report errors, all that, if you don’t mind. If you feel the need to weigh in but don’t have production Nerves devices, please be clear about that :smiley:

Showing Posts 1 to 3

Nezteb

Nezteb

I’ve been meaning to try out :tower for this: tower | Hex

Regardless of specific implementation, I love the idea of error reporting providers as a behaviour.

amclain

amclain

We’ve used Sentry, DataDog, custom Grafana stuff…

The Redwire Labs Nerves project generator comes with Sentry commented out in the template because it’s the simplest one we’ve integrated with. If I recall, the Sentry library doesn’t report GenServer crashes during init by default, but we have some code that catches and reports those.

I do wish NervesHub handled the error reporting. It would be great for consolidating SaaS services, and one less connection we have to instruct users to whitelist.

lawik

lawik OP

Nerves Core Team

Yeah, NervesHub directly taking in error reports might be the result. I have a hunch that Sentry is quite common among existing systems. But I could also see a variant of ingesting errors via Sentry for those cases, assuming our error handling is something compatible enough.

The neat thing with error reporting is that it is additional signal for deployments to be smarter about devices misbheaving after an update.

Over time we can consider metrics vs user’s configured thresholds, error reports, log lines at error level. It becomes a very multi-faceted “health” concept. And it lets us determine when a deployment should back off.

— All posts loaded —

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 91898 914
New
AstonJ
The obligatory hello world thread! Who are you and where are you from? :stuck_out_tongue:
4616 55835 594
New
byu
@chrismccord : I just saw the Extract AGENTS.md from Phoenix.new into phx.new generator commit to the phoenix project. My initial shotgu...
New
arcanemachine
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
alexslade
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog It says that Fly is going all-in on sprites, which is a worry ...
New
Herve37
We’re evaluating API mocking tools for OpenAPI-based projects and would love to hear what other teams are using. We’re particularly inte...
New
matt-savvy
Is there a word for the ~> symbol used in Version strings? Do you also just call it a Squiggle Arrow™ ?!
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews