

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 7
click for more info
Not enough gems
Cost: 6 gems
1: Welcome to Logging and Telemetry
incomplete
2: Linko Overview
incomplete
3: What Is Observability?
incomplete
This lesson's interactive features are locked, please to keep using them
Observability is the ability to understand what a system is doing, usually with logs, metrics, and traces. With good observability in place, you can quickly tell whether a system is healthy, and when it's not, identify the cause so you can fix it.
There are several primary tools that most professional teams use to achieve good observability in production:
"ERROR", "INFO", etc.), and a message.Add basic lifecycle logs so Linko tells you when it starts and shuts down.
Linko is running on http://localhost:%d
If you need guidance getting the port number, check the Tips section.
Linko is shutting down
go run . 2>&1 | sh -c 'trap "" INT; tee linko.out.log'
There will be lessons, including this one, where the CLI tests intentionally trigger the Linko server to shut down. In that case, remember to restart it between running and submitting the tests.
Run and submit the CLI tests from the root of the Linko repo.
In start, ln is the listener returned by net.Listen. Since ln.Addr() returns a net.Addr interface, type assert it to *net.TCPAddr before reading its Port.