-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arcus.Templates.AzureFunctions.Http & Health Check #378
Comments
Looks like that project is nice, but no longer maintained. I would suggest to fork the repo and make it available under |
Yes, I think that's a good idea. I stared a discussion #320 a while back for this topic. |
@pim-simons , is there a reason you choose to use this (https://github.com/keithsmith21/AzureFunctionHealth) library instead of the Microsoft health checks package? The |
I never got the Microsoft health check to work, as stated in https://github.com/keithsmith21/AzureFunctionHealth: "The traditional health checks registered in an aspnetcore API included the HealthCheckPublisherHostedService as a HostedService which is not possible or desired to run in an Azure Function.". But this is from quite some time ago, so maybe things have changed and we can now use the Microsoft package. |
Would you mind giving it a go and tell us if it works nowadays? Otherwise it's a bit of a pity to maintain this. |
Will put it on my to-do list 👍 |
Just checked, the Microsoft health checks package now work fine as well! So we don't need any extra code for this.
Just to trigger people to think about health check endpoints as they can be handy in pro-actively monitoring the health of your functions. |
Thanks for testing - Let's kill our fork then @stijnmoreels. Sorry for the trouble. Let's open an issue for the health check which people can opt-in for then (#398) |
Close in favor of #398 . Feel free, @pim-simons , to open another issue when there's still a problem. |
Is your feature request related to a problem? Please describe.
I always include a health check endpoint in my HTTP triggered Azure Functions, that way I can add it to my availability checks in Application Insights and have some pro-active monitoring on my HTTP triggered Functions. Is it possible to add this to the Arcus.Templates.AzureFunctions.Http template?
Describe the solution you'd like
Maybe we can add an opt-in for this in the template. I always use the Azure Function Health Check Library from here: https://github.com/keithsmith21/AzureFunctionHealth, unfortunately there is nu nuget package available for this (keithsmith21/AzureFunctionHealth#1). Maybe we could leverage that or do something similar?
Describe alternatives you've considered
Not adding it 😉
Additional context
none
The text was updated successfully, but these errors were encountered: