Instrumenting Vapor 4 with Swift OTel
blog.vapor.codes·8h·
Discuss: Hacker News
Flag this post

This tutorial will guide you through setting up a Vapor 4 application with OpenTelemetry, collecting metrics about the application and its queue workers, and visualizing the data in Grafana.

Observability

In complex systems it’s often a good thing to be able to figure out why the system is behaving in a certain way without having to look into the code. When we want to be able to have a more high level view of what happens in the application without opening up the black box, we’re looking for observability. Observability is the concept of collecting information about a system’s execution and internal state, based on the data it generates.

In more practical terms, observability is made up of

  • Logs: exact details of an event, e.g an HTTP request, its method, time etc.; …

Similar Posts

Loading similar posts...