10 Replies
... 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...
$details
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)
Do you happen to mean a health check?
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.
This guide also shows you how to implement the health checking endpoint on your API so another health checker can consume it
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.
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
My bad, I misread. No need to be rude 🙂
well you attacked my comment without even reading it
my bad for being rude.