heartbeat logging

any tutorial about heartbeat logging?
10 Replies
canton7
canton7•5mo ago
... What's heartbeat logging? That could mean quite a few things Logging heartbeat messages, sending heartbeat messages to a logging system, logging actual beats of a real heart...
Jimmacle
Jimmacle•5mo ago
$details
MODiX
MODiX•5mo ago
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, what you expect the result to be, what .NET version you are using and what platform/environment (if any) are relevant to your question. Upload code here https://paste.mod.gg/ (see $code for more information on how to paste your code)
Denis
Denis•5mo ago
Do you happen to mean a health check?
JayArrowz
JayArrowz•5mo ago
https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/health-checks?view=aspnetcore-8.0 If you look a bit below, you should see how to impl a health checker via a BackgroundService
Health checks in ASP.NET Core
Learn how to set up health checks for ASP.NET Core infrastructure, such as apps and databases.
No description
JayArrowz
JayArrowz•5mo ago
This guide also shows you how to implement the health checking endpoint on your API so another health checker can consume it
canton7
canton7•5mo ago
From #info-and-rules:
Relaying ChatGPT/AI generated answers or sending Let Me Google That For You links is heavily discouraged, use of either may not be tolerated.
JayArrowz
JayArrowz•5mo ago
This isn't chatgpt Also this is a MS guide which tells the user exactly what they want Can you stop posting off topic shit ty
canton7
canton7•5mo ago
My bad, I misread. No need to be rude 🙂
JayArrowz
JayArrowz•5mo ago
well you attacked my comment without even reading it my bad for being rude.
Want results from more Discord servers?
Add your server