PricingDocs

Announcing Electron Support

Today, we're excited to launch Electron support for bitdrift Capture. Capture gives developers a novel twist on traditional observability – empowering devices to intelligently buffer and selectively send data – offering material cost savings and unprecedented flexibility for developers. You can send whatever logs, traces, and events you want from your Electron app (and update them in real time) all without worrying about storing and paying for heaps and heaps of noisy data.

Electron Hero Image

Capture is not just for mobile!

bitdrift turns the traditional observability model on its head: instead of mass sending events from your devices and mining for insights later, we give the client the ability to intelligently retain and sift through data via our Ring Buffer. This means you don’t need to worry about carefully choosing which events and metrics you send, lest you get saddled with an observability bill the size of a small country’s GDP. You can instrument and log anything – even if you don’t know it will be valuable in advance – and then retroactively decide what data to retain or discard. It’s a completely different way of thinking about observability. Up to now, the magic of Capture has only been available to iOS and Android mobile applications (including React Native). But desktop applications have all of the same observability issues! With our Capture for Electron release, Electron based desktop applications can now benefit from our novel approach to real-time observability.

Getting started with Electron

Getting an Electron app integrated requires just a few lines of code.
bash

npm install @bitdrift/electron
javascript

import { init, SessionStrategy } from '@bitdrift/electron';

init("<your-api-key>", SessionStrategy.Activity);
javascript

import { info } from '@bitdrift/electron';

// Log line with LogLevel of Info
info('Hello world!', { key: 'value' });
Our initial release includes basic out-of-the-box signals including session replay, which will get you up and running quickly.

The future of desktop observability

Observing desktop applications has often been an afterthought of existing frameworks and systems. By adding Electron as a first class citizen to Capture, our goal is to provide desktop application developers with a rich set of real-time tools to understand and fix customer issues. Capture is changing the mobile observability game by adding a control plane and local storage on every mobile device, providing extremely detailed telemetry when you need it, and none when you don’t. If the lack of Electron support was keeping you away, now is the time to give us a try! Interested in learning more? Check out the sandbox to get a hands-on feel for what working with Capture is like or get in touch with us for a demo. Please join us in Slack as well to ask questions and give feedback!

Stay in the know, sign up to the bitdrift newsletter.

Author