We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug The same behavior as in these issue: #2092
The api-handler code:
const healthCheck = async (req, res) => { try { const statuses = await Promise.all( appConfig.readModels.map(async (readModel) => { const status = await req.resolve.executeQuery.status({ modelName: readModel.name, includeRuntimeStatus: true, }); return { readModelName: readModel.name, isAlive: status.isAlive, errors: JSON.stringify(status.errors) }; })); const deadReadModels = statuses.filter(({ isAlive }) => !isAlive); await res.json(deadReadModels); } catch (error) { } };
The example notification:
[12:15 AM] ReadModelsHealthCheck
Dead read models in TestCafe Dashboard (Deployment: pggf0c)
<https://teams.microsoft.com/l/message/19:[email protected]/1641935743611?tenantId=e4d60396-9352-4ae8-b84c-e69244584fa4&groupId=c3abb0f3-231c-4d87-b5a3-44925dc1d075&parentMessageId=1641935743611&teamName=TestCafe&channelName=Dashboard Monitoring&createdTime=1641935743611>
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
The same behavior as in these issue: #2092
The api-handler code:
The example notification:
[12:15 AM] ReadModelsHealthCheck
Dead read models in TestCafe Dashboard (Deployment: pggf0c)
<https://teams.microsoft.com/l/message/19:[email protected]/1641935743611?tenantId=e4d60396-9352-4ae8-b84c-e69244584fa4&groupId=c3abb0f3-231c-4d87-b5a3-44925dc1d075&parentMessageId=1641935743611&teamName=TestCafe&channelName=Dashboard Monitoring&createdTime=1641935743611>
The text was updated successfully, but these errors were encountered: