Today's Deep-Dive: GlitchTip
Ep. 243

Today's Deep-Dive: GlitchTip

Episode description

Thi episode is discussing GlitchTip, an open-source tool for tracking software errors. It highlights the chaos of dealing with error messages after launching an app and introduces GlitchTip as a digital lifeguard to simplify the process. The page explains GlitchTip’s features, including real-time error tracking, application performance monitoring (APM), and uptime monitoring. It emphasizes the tool’s compatibility with Sentry client SDKs and its focus on simplicity, affordability, and open-source freedom. The document also covers how to get started with GlitchTip, offering two main routes: hosted and self-hosted versions. The self-hosted option is detailed, with a focus on beginner-friendly methods like Docker Compose and managed hosting providers. Essential configuration steps and variables are outlined, including the importance of setting up SSL for security. The page concludes by highlighting GlitchTip’s flexibility and scalability, making it suitable for both beginners and experienced users.

Gain digital sovereignty now and save costs

Let’s have a look at your digital challenges together. What tools are you currently using? Are your processes optimal? How is the state of backups and security updates?

Digital Souvereignty is easily achived with Open Source software (which usually cost way less, too). Our division Safeserver offers hosting, operation and maintenance for countless Free and Open Source tools.

Try it now for 1 Euro - 30 days free!

Download transcript (.srt)
0:00

Welcome back to the deep dive.

0:01

This is the show where we cut through all the noise

0:03

and get you the insights you actually need.

0:06

Okay, picture this for a second.

0:08

You've just launched your amazing new app, right?

0:10

And bam, error messages start flooding in, total scramble.

0:14

Trying to figure out what's breaking,

0:15

where it's breaking, why it's stressful.

0:17

And that feeling, that chaos,

0:19

that's exactly where something like Glitchtip comes in.

0:22

Think of it as your digital lifeguard.

0:25

So today we're doing a deep dive into Glitchtip.

0:28

It's this powerful open-source tool

0:30

for tracking software errors.

0:32

And it promises to make that whole messy job simpler.

0:34

Our mission for you, our listener,

0:36

is pretty straightforward.

0:37

We want you to understand what Glitchtip is, sure,

0:39

but crucially, how to get it up and running.

0:42

Especially if you've never set up

0:43

this kind of software before.

0:44

We're aiming for a really

0:45

beginner-friendly introduction here.

0:46

Let's demystify it, but hang on.

0:48

Before we jump in, just a quick word from our supporter.

0:50

This deep dive is brought to you by safeserver.de.

0:54

These guys are experts in hosting software

0:56

and really helping with your digital transformation journey.

0:59

You can find out more about how they can help you

1:01

over at www.safeserver.de.

1:03

Check them out.

1:04

Okay, let's unpack this thing.

1:06

Expert, maybe start us off.

1:08

From your perspective,

1:09

what's the immediate, like, tangible win

1:11

for someone using a tool like Glitchtip?

1:14

Especially if they're just starting out.

1:15

Yeah, that's a good way to put it.

1:16

I mean, for me, it's about moving away

1:18

from just guessing blindly.

1:20

It helps you get to informed action, you know?

1:23

It takes what often feels like this chaotic mess

1:26

of bugs and turns it into something clear,

1:29

a roadmap you can actually act on.

1:30

So instead of just reacting when users complain,

1:33

Glitchtip lets you proactively spot and fix things,

1:37

often before they become big problems.

1:39

It really is a shortcut to understanding

1:41

what's actually happening inside your application.

1:43

It's health, basically.

1:44

Right, so it's about getting control,

1:45

getting some foresight, it's huge.

1:47

So, okay, at its heart,

1:49

Glitchtip collects errors in real time, right?

1:52

And monitors things.

1:53

It's built to grab every single error from your project,

1:56

organize those pesky bugs into something useful,

2:00

and then shoot you alerts when and where you need them.

2:02

And what's really neat is its compatibility

2:04

with Sentry client SDKs.

2:06

Think of those SDKs as like pre-made kits,

2:09

little libraries, that let your app easily send

2:11

error data and performance info

2:13

to a monitoring service like Glitchtip.

2:16

So if you happen to be using Sentry already,

2:18

or maybe you want that kind of flexibility down the road,

2:20

Glitchtip just slots right in.

2:22

And the big selling point seems to be

2:24

that it's easier to run

2:26

and just simple open source error tracking.

2:30

Glitchtip seems to focus on three main things

2:32

to keep your software happy.

2:34

First up, error tracking.

2:36

This is like its main job, right?

2:38

It reports all those exceptions,

2:40

you know, the unexpected crashes,

2:41

along with important log messages,

2:43

or even things like content security policy violations.

2:45

Right, those CSP violations,

2:47

they're like browser security guards stopping dodgy stuff.

2:50

Exactly, and it pulls all that info

2:52

into one central spot so you can quickly see

2:54

what went wrong and, you know, fix it.

2:56

Okay, second thing.

2:57

Application performance monitoring, APM.

3:01

This sounds great for finding those bottlenecks

3:03

where your app is dragging its feet.

3:04

Yeah, performance is key.

3:06

And Glitchtip seems to take

3:07

this works out of the box approach,

3:09

meaning you don't have to spend ages

3:12

building dashboards or hunting metrics.

3:13

Right, it tries to surface

3:14

the important stuff automatically.

3:16

Yeah, it just helps you find

3:17

like your slowest web requests,

3:20

maybe database calls taking too long,

3:21

other slow transactions,

3:23

stuff that annoys users.

3:24

Exactly, user experience impact.

3:27

And finally, number three, uptime monitoring.

3:31

That sounds pretty self-explanatory.

3:32

Glitchtip can basically ping your site regularly.

3:35

Like a little hello you there.

3:37

Yeah, and it'll warn you

3:38

if it doesn't get a response.

3:40

Or you can flip it, right?

3:40

Your app sends Glitchtip a scheduled

3:42

I'm alive signal.

3:44

A heartbeat, yeah.

3:45

And if Glitchtip doesn't get that ping on time,

3:47

boom, alert via email or webhook.

3:49

I've heard horror stories,

3:51

the site's going down for hours

3:52

because nobody was watching.

3:53

How crucial is this uptime piece

3:55

for, say, smaller teams or solo devs?

3:58

Oh, it's absolutely vital.

3:59

It's like that silent and guardian always watching.

4:02

Imagine, yeah, your web server just quietly dies

4:04

at 3 a.m. without uptime monitoring.

4:06

You might not know till 9 a.m. when a customer calls.

4:09

Right.

4:10

You've just lost six hours of potential business,

4:12

damaged your reputation.

4:14

Glitchtip's simple ping or receiving that heartbeat,

4:18

it can honestly be the difference

4:20

between a tiny blip and a major headache.

4:22

It just adds that layer of professionalism,

4:24

of reliability, super important.

4:26

And, you know, beyond just the features,

4:28

it's worth hitting on Glitchtip's core values again.

4:31

Simplicity, affordability,

4:33

and that freedom you get with open source.

4:35

Right, the open source aspect.

4:36

Yeah, meaning you can see the code, change it,

4:38

use it however you want.

4:39

That gives you a level of control and transparency

4:41

you often just don't get

4:43

with closed source proprietary stuff.

4:46

What's really interesting about Glitchtip, I think,

4:47

beyond just having similar features to bigger players,

4:50

is how it sort of challenges that typical sauce model

4:53

by offering a fully featured self-hosted option.

4:57

See, lots of projects have a free tier,

4:58

but then they lock the good stuff behind a paywall, right?

5:01

Glitchtip really commits to keeping all features available

5:04

even if you run it yourself.

5:05

That's a really good point about transparency and control.

5:08

Definitely appealing.

5:09

And just to quickly clarify something

5:10

they mentioned a lot in the docs, events.

5:13

An event is basically just one time

5:15

your project sends data to Glitchtip.

5:17

That's it.

5:18

Simple as that.

5:19

Yeah, so if 10 different users hit the exact same bug,

5:23

Glitchtip gets 10 separate events.

5:26

Right, helps you gauge the impact.

5:28

Is it one person, or is it widespread?

5:30

Exactly.

5:30

OK.

5:31

OK, so now we know what it is and why it's useful.

5:33

Let's talk about actually getting it.

5:35

How do you get your hands on Glitchtip?

5:37

There are basically two main routes,

5:39

and they cater to different comfort levels, different needs.

5:42

First up is the hosted version.

5:43

This is super straightforward.

5:45

You just go sign up at app.glitchtip.com, and boom,

5:48

they handle all the server stuff, the infrastructure,

5:51

all of it.

5:51

Like renting a furnished apartment, yeah.

5:54

Move in, ready.

5:55

Perfect analogy.

5:56

All the maintenance is done for you.

5:57

They've got different price tiers.

5:59

There's a free plan, up to 1,000 events a month,

6:02

error tracking, unlimited projects,

6:05

unlimited team members, pretty generous.

6:07

That's a good starting point for small projects.

6:10

Totally.

6:10

Then it scales up.

6:12

Smallest $15 a month for 100K events,

6:15

medium is $50 for 500K, large is $250 for up to 3 million

6:20

events a month.

6:21

And they even have discounted plans for nonprofits

6:23

and open source projects, starting at just $5 a month.

6:26

That's great to see, supporting the community.

6:28

Yeah.

6:28

So that's option one, easy peasy hosted.

6:31

Option two, and this is what we'll

6:33

focus on more today for our beginner-friendly angle,

6:36

is the self-hosted version.

6:37

This means you run Glitchtip on your own server.

6:40

And the core software itself, it's free.

6:42

And this choice, hosted versus self-hosted,

6:45

is really key for you, the listener, especially

6:47

if you're learning.

6:47

Hosted gives you that instant gratification, zero setup

6:50

hassle, die right into tracking errors.

6:52

Self-hosting, though, that gives you total control

6:55

over your data, no limits on events,

6:57

and it really fits that open source spirit

6:59

of ownership customization.

7:01

Right.

7:01

So it's about picking what fits you best right now,

7:03

your comfort zone, your goals, how much you

7:05

want to tinker under the hood.

7:07

Exactly.

7:07

And if you are just dipping your toes in,

7:09

maybe thinking about self-hosting,

7:11

we'll walk you through the simplest ways.

7:13

The docs actually point out several paths

7:15

that make it surprisingly doable,

7:17

even if you're not some command line wizard.

7:21

OK.

7:22

So let's get into those accessible self-hosting options.

7:25

The easiest grouts, especially for beginners,

7:28

use tools that really simplify things.

7:31

First one they recommend is Docker Compose.

7:34

Imagine you need several bits of software working together,

7:37

Glitchtip, its database, maybe something else.

7:40

Like a little team of applications.

7:41

Yeah.

7:42

Docker Compose lets you define and run

7:44

that whole team as one single thing using simple commands,

7:48

usually on one server.

7:49

It packages everything up nicely.

7:50

Right.

7:51

The steps are pretty clean.

7:52

Install Docker and Docker Compose.

7:54

Those are tools for running software

7:55

in these isolated packages called containers.

7:58

You copy a sample config file, docker-compose.sample.iml,

8:02

onto your server.

8:03

You edit the environment part.

8:04

We'll get to those settings in a sec.

8:06

And then you just start it with Docker Compose up AED.

8:08

And out of D just means run it in the background.

8:10

Exactly.

8:11

Now, that gets it running.

8:13

But there's a crucial next step, the doc stress.

8:17

Setting up SSL for security.

8:19

Expert, why is getting that HTTPS lock icon

8:23

so vital right away, especially for error tracking?

8:27

Oh, it's absolutely critical.

8:28

SSL, or TLS these days, encrypts the connection between,

8:32

say, your application sending the error

8:34

and your GlitchTip server.

8:36

Think of it like a secure private pipe for that data.

8:39

You're potentially sending sensitive stuff

8:40

about your application's inner workings, maybe parts

8:42

of stack traces, logs.

8:44

Without SSL, TLS, that data is flying across the internet

8:47

in plain text.

8:48

Anyone could potentially grab it and read it.

8:50

Yikes, not good.

8:51

Not good at all.

8:52

So setting up SSL, often using something like Jinx or Apache

8:55

as a proxy, and maybe let's encrypt with StartBot

8:58

to get free certificates.

8:59

It's just non-negotiable.

9:00

Security 101.

9:01

Makes total sense.

9:02

Security first, always.

9:04

OK, so besides Docker Compose, there are also

9:06

these managed hosting providers.

9:08

These sound really beginner-friendly

9:09

because they basically handle almost all the server

9:11

stuff for you.

9:12

Updates, maintenance, the works.

9:14

Taking the infrastructure burden off your shoulders.

9:16

Exactly.

9:17

The docs mention a few.

9:19

Peekapods, described as affordable, managed hosting,

9:23

aimed right at running open source apps like Glitchtip.

9:25

You sign up, punch in a few settings, they handle the rest.

9:28

Nice and simple.

9:29

Then there's Elestio.

9:31

Another managed provider, supports multiple clouds,

9:34

and apparently comes with email server support built in,

9:37

which is a big plus for setup.

9:38

Oh, that could save some hassle with the email config.

9:41

Yeah, they say they handle configuring and upgrading

9:43

Glitchtip by default, too.

9:46

And finally, Notion.

9:47

Similar deal.

9:49

Easy deployment, management, automated backups, monitoring.

9:54

And interestingly, Elestio, Peekapods, and Notion

9:56

all support Glitchtip through a revenue share program.

10:00

So using them also supports the Glitchtip project itself.

10:03

Yeah, it seems like a neat way to contribute back

10:05

just by choosing your host.

10:06

You know, what's really impressive here

10:07

is how these managed options make powerful tools

10:09

like Glitchtip genuinely accessible.

10:12

Even if you don't know much about servers or Linux,

10:14

you can still use this professional-grade error

10:16

tracking.

10:17

It massively lowers that barrier to entry.

10:20

You can focus on the output fixing bugs,

10:22

improving your app instead of getting totally bogged down

10:24

in the input of managing servers.

10:26

It's a fantastic bridge for learners.

10:28

Totally agree.

10:29

Now, even with these easier options,

10:31

it's probably good to have a rough idea of the core system

10:34

needs if you do self-host, maybe with Docker Compose.

10:38

Glitchtip needs PostgreSQL version 14 or newer.

10:42

That's the main database where all the error details load.

10:45

The main data store, yeah.

10:46

It also needs Redis or Valky.

10:48

These are like super fast temporary storage caches

10:51

helping Glitchtip process things quickly.

10:53

For performance, mostly.

10:54

Right.

10:55

Then you need a web service that serves the Glitchtip pages

10:57

to your browser and a worker service that handles background

11:00

stuff, like sending those alerts.

11:02

Resource-wise, they recommend about 1 GB of RAM,

11:05

a standard by 86 or ARM64 CPU, and maybe 30 GB of the disk

11:10

base, if you expect around a million events a month.

11:12

Pretty modest, really.

11:13

Yeah, not too demanding for many basic setups.

11:16

Now, just for context, the docs do

11:17

mention more advanced stuff, like using

11:19

Helm for Kubernetes or the Digital Ocean App Platform.

11:22

Right, getting to orchestration territory.

11:23

Exactly.

11:24

Kubernetes is complex, designed for managing

11:26

lots of containers across many servers.

11:28

Helm is its package manager.

11:30

Definitely not the beginner path.

11:32

No way.

11:33

That's for high traffic sites or people already

11:35

deep into that ecosystem.

11:37

And they explicitly say the installing without Docker

11:39

method is not recommended for beginners.

11:41

Yeah, that requires knowing Django, Celery, web servers,

11:45

SSL, config.

11:46

It's a lot.

11:47

Way too much for starting out.

11:48

We're sticking to the easier routes today.

11:51

OK, so you've picked your path, Docker Compose, maybe

11:54

a managed host.

11:55

The next absolutely critical step is configuration.

11:59

Glitchtip needs environment variables.

12:01

Think of these as settings you give the application.

12:03

Little instructions, basically.

12:05

Yeah, telling it how to act, where to find things,

12:07

how to keep itself secure.

12:08

Let's focus on the required ones.

12:09

The absolute must-haves to get a working Glitchtip instance.

12:12

First, secret key.

12:15

This needs to be set to just any random long string

12:19

of characters.

12:20

Don't reuse it from somewhere else, make it unique.

12:22

Good point.

12:23

Super important for security, used for crypto stuff,

12:26

session signing, then email setup,

12:29

because you want alerts, right?

12:31

Kind of the whole point.

12:32

So you either provide an email URL.

12:35

That's an SMTP string, simple mail transfer protocol,

12:39

how email servers talk.

12:41

It looks like smtp.user.password at server.port.

12:44

Or you can use a service like Mailgun or SendGrid.

12:47

Right, dedicated email delivery services.

12:49

Yeah, you give it their API key and set the email

12:51

back end variable to match the service you're using.

12:54

You also just set a default from mail,

12:55

like norplyatyourdomain.com or something.

12:57

So people know where the alerts are coming from.

12:59

And finally, the glithtp domain.

13:02

This has to be your actual domain,

13:04

including the HTTPS dot, or HTTP part.

13:07

So, HTTPS.glitchtip.mycoolapp.com.

13:11

And this brings up a good point.

13:12

Why are these specific ones so crucial?

13:14

Well, the secret key is like your instance's

13:16

unique fingerprint, vital for security,

13:18

preventing data tampering.

13:20

Can't skip it.

13:21

Yeah.

13:21

Email settings.

13:22

Well, Glitchtip needs to send alerts and notifications, right?

13:25

If it can't send email, it's severely crippled.

13:27

That's a primary function.

13:29

Makes sense.

13:29

And the dithtp domain tells the application

13:32

where it lives on the internet.

13:34

It needs this to build correct links in emails,

13:37

for integrations, just to operate properly.

13:39

So yeah, getting these core ones right

13:41

is absolutely foundational.

13:42

They're the non-negotiables for a stable, secure, working

13:46

setup.

13:47

Got it.

13:48

Non-negotiables.

13:49

And speaking of variables, there's this one unique,

13:52

optional one that jumped out.

13:53

I paid for Glitchtip.

13:55

Oh, yeah.

13:56

What's that do?

13:57

Well, setting it to true doesn't actually

13:59

unlock any extra features on your self-hosted instance.

14:02

But the docs say setting it enables our team

14:04

to continue building Glitchtip.

14:06

It helps fund the developers, designers, even

14:08

their own free tier hosting.

14:10

Ah, so it's like a voluntary support flag.

14:12

Exactly.

14:13

They suggest maybe donating $5 per month per user

14:16

if you're self-hosting.

14:17

It's just a cool, transparent way

14:18

to support the project if you find it valuable.

14:21

That's a nice touch.

14:21

Respectful way to ask for support for open source.

14:24

Yeah, I thought so too.

14:26

OK, so while our main goal today was getting you started,

14:28

it's probably worth just peeking ahead a little.

14:31

What happens when you get more comfortable or your needs grow?

14:34

Glitchtip actually has quite a bit

14:35

of flexibility under the hood.

14:37

Room to grow, basically.

14:38

Right.

14:38

For instance, file storage.

14:41

By default, with Docker, it might store stuff locally,

14:45

which is fun to start.

14:46

But as you scale, or if you need better backups,

14:49

you can configure a Glitchtip to use remote object storage.

14:52

Like S3 or Google Cloud Storage.

14:54

Exactly.

14:55

AWS S3, Digital Ocean Spaces, Azure Blob Storage,

15:00

Google Cloud Storage.

15:01

Just set a few more environment variables,

15:03

like default file storage, RSCID, et cetera.

15:06

That's huge for scalability and resilience.

15:08

Means your data isn't tied to just one server.

15:11

Yeah, great for backups and not losing data

15:13

if a server goes down.

15:15

And another thing we can briefly mention

15:17

is social authentication, OAuth setup.

15:19

Letting users log in with, like, Google or GitHub.

15:23

Precisely.

15:25

Through the Django admin interface,

15:27

which is part of Glitchtip, you can set up integrations

15:29

with loads of providers.

15:31

Digital Ocean, GitEa, GitHub, GitLab, Google, Microsoft,

15:35

Nextcloud, even generic OpenID Connect.

15:38

Wow, that's comprehensive.

15:39

Yeah.

15:40

So your team can just log into Glitchtip

15:42

using their existing work accounts.

15:43

Super convenient, streamlines user management a lot.

15:46

You know, connecting this back to the bigger picture,

15:49

these advanced options really showcase Glitchtip's

15:52

flexibility.

15:52

They might not be things you touch on day one, absolutely

15:54

not, but they clearly show that this platform isn't

15:57

just a basic tool.

15:58

It can grow with you.

16:00

It offers serious solutions for scaling up,

16:02

for handling data robustly, for managing users effectively

16:05

down the road.

16:06

It really speaks to the thoughtful design

16:08

behind the open source project.

16:09

Yeah, that's a great way to put it.

16:11

It shows depth.

16:12

OK, well, that pretty much brings us to the end of our deep dive

16:14

for today we've covered a lot.

16:16

From figuring out what Glitchtip actually

16:19

is this open source tool for error tracking performance

16:22

uptime to navigating those choices, hosted or self-hosted,

16:27

and digging into the easiest self-hosting paths,

16:30

and even tackling those essential configuration

16:32

variables to get you started smoothly as a beginner.

16:35

Hopefully, you're feeling a lot more

16:37

confident about bringing this kind of tool into your world.

16:40

So thinking about it all, what really

16:41

stands out to you, the listener, Glitchtip obviously

16:45

offers powerful error tracking features.

16:47

But maybe its real strength, especially for someone learning,

16:50

is that whole spectrum of deployment options.

16:52

From totally managed hand-holding services

16:55

to the more hands-on but still accessible Docker Compose

16:58

route, it really lets you choose your own adventure,

17:01

your level of technical deep dive,

17:03

as you get more comfortable.

17:04

It's like an open invitation to explore and grow your skills

17:07

while solving a real problem.

17:09

It's about taking control.

17:11

Yeah, well said.

17:11

So what does this all boil down to?

17:13

It means you've got choices.

17:14

You've got a powerful open source ally

17:17

ready to help keep your software running smoothly, efficiently.

17:20

Whether you're a coding veteran or literally just

17:22

launching your first project and wondering how to manage it,

17:25

Glitchtip offers a path forward for you.

17:28

And hey, remember, this deep dive

17:30

was supported by our friends at safeserver.de.

17:33

They're your partners for software hosting

17:34

and that whole digital transformation journey.

17:36

Check them out at www.safeserver.de to learn more.

17:41

Thank you so much for joining us on this deep dive today.

17:43

We really hope you feel informed and maybe even a bit

17:46

excited to explore Glitchtip for yourself.

17:48

and we'll catch you on the next deep dive.

17:48

and we'll catch you on the next deep dive.