K Khan
Dec 26, 2023
  699
(0 votes)

Top tip - Health Checks

Whether your site is a DXP or an Azure-hosted site, you may need to determine the state of your application as if it's healthy or unhealthy. EPiServer.Cms.HealthCheck will provide you an endpoint as /epi/health, The Blog (https://world.optimizely.com/blogs/scott-reed/dates/2023/3/optimizely-dxp-health-checks-and-creating-custom-checks/) by Scott Reed explains this setup for CMS 12 in detail. It doesn't limit us to service health only, Service can be extended for many other scenarios such as listing the vulnerabilities, and checking up on some configurations or DB table sizes. The blog is a bit old but still worth reading (https://www.codeart.dk/blog/2021/5/new-project-optimizely-episerver-health-checker/).

"love what you do"

Dec 26, 2023

Comments

Scott Reed
Scott Reed Jan 2, 2024 03:35 PM

100% it's amazing how limited understanding about the healthcheck endpoint is in DXP/Azure but facinating how it all works. Thanks for the callout :-) Happy new Year

Please login to comment.
Latest blogs
Integrating Optimizely DAM with Your Website

This article is the second in a series about integrating Optimizely DAM with websites. It discusses how to install the necessary package and code t...

Andrew Markham | Sep 28, 2024 | Syndicated blog

Opticon 2024 - highlights

I went to Opticon in Stockholm and here are my brief highlights based on the demos, presentations and roadmaps  Optimizely CMS SaaS will start to...

Daniel Ovaska | Sep 27, 2024

Required fields support in Optimizely Graph

It's been possible to have "required" properties (value must be entered) in the CMS for a long time. The required metadata haven't been reflected i...

Jonas Bergqvist | Sep 25, 2024

How to write a bespoke notification management system

Websites can be the perfect vehicle for notifying customers of important information quickly, whether it’s the latest offer, an operational message...

Nicole Drath | Sep 25, 2024