Skip to content

Commit

Permalink
add /health/alive and /health/ready
Browse files Browse the repository at this point in the history
  • Loading branch information
dkudrin committed Jul 15, 2024
1 parent c5ccf03 commit 0cf0c23
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/HttpInstrumentation.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,12 @@ public static function register(CachedInstrumentation $instrumentation): void
{
$request = LumenRequest::capture();

if ($request->is('*/health-check/liveness', '*/health-check/readiness',)) {
if ($request->is(
'*/health-check/liveness',
'*/health-check/readiness',
'*/health/alive',
'*/health/ready'
)) {
return;
}

Expand Down

0 comments on commit 0cf0c23

Please sign in to comment.