Application Monitoring

Application Monitoring

Monitoring your Hyperscience Platform effectively is critical for identifying and addressing issues promptly. This article provides instructions for monitoring the system, focusing on resource utilization, job failures, and workflow processing. For more information, contact your Hyperscience representative or Hyperscience Support.

Standard Monitoring

To ensure the stability and performance of your VM hosting the Hyperscience application, monitor the following resources:

RAM

Recommendation
Set alerts if RAM usage exceeds 95%.

Storage

Monitor all types of storage:

Recommendation
Set alerts if any storage exceeds 95% usage.

CPU

CPU Metrics
100% CPU usage over extended periods does not necessarily indicate an issue. Use CPU metrics for debugging rather than alerting.

Health Check API

Application-specific monitoring

Hyperscience processes submissions asynchronously through background jobs. Failures may occasionally occur, requiring monitoring and manual intervention.

Monitoring failures

Monitor for log entries indicating job or flow failures:

Recommendation
Monitor this logline to detect issues early.

Actions for handling failures

When failures are detected, follow these steps to resolve them:

  1. Handle halted jobs

    • Go to the list of halted jobs: <application_URL>/administration/jobs?state=HALTED
    • Review halted jobs and address the issue causing the failure.
  2. Handle failed flows

    • Go to the list of failed flows: <application_URL>/administration/flows?state=FAILED
    • Use the Actions drop-down menu to select Retry failed flows runs in filter after addressing the root cause.
  3. Gather failure details

    • For jobs:
      • In the list of halted jobs, use the job’s menu to view more details ( View Jobs), and review the State Description field for insights into the issue.
    • Include relevant information when reaching out to Hyperscience Support for assistance.

Best practices