Observability
Leapcell provides real-time logs and monitoring. You can view them in the Service page under Logs
and Metrics
.
Logs
Click the Logs
button in the Service Panel.
Logs show the real-time logs of your service. Leapcell captures stdout
and stderr
. You can view your service's real-time logs and use them to identify the reasons for deployment failure.
Example: In your code, you can use print
to log messages, such as:
print("hello world")
You will see hello world
in the logs.
Logs use a Search Engine underneath, allowing you to search for specific logs. You can also click "Aggregate" to see frequently occurring logs.
Metrics
Click the Metrics
button in the Service Panel.
Metrics provide real-time monitoring of your service. Here, you can assess your service's performance.
In the future, Leapcell will introduce user-defined monitoring. If you need this feature, please let us know.