Monitoring Endpoint for Martini Server Runtime
Martini Server Runtime provides a dedicated monitoring endpoint that allows users to integrate third-party monitoring tools easily. This endpoint exposes important runtime statistics, facilitating proactive performance management and issue detection.
Monitoring Endpoint URL
To access the monitoring endpoint, use the following URL format:
1 |
|
Replace <MARTINIURL>
with the IP address or domain name of your Martini installation and the <PORT>
with the port number that Martini is listening on.
Attributes Returned by the Endpoint
When you query the monitoring endpoint, it returns the following key attributes that provide insights into the server's performance:
-
timeStart
: This attribute indicates the timestamp when the monitoring statistics were last collected. It helps track when the data was gathered, allowing for accurate performance analysis over time. -
timeDuration
: This attribute reflects the duration of time (in milliseconds) that the server has been running since the last restart. Monitoring this duration is crucial for understanding system uptime and stability.
Example Response
Here is an example of what the response from the monitoring endpoint may look like:
1 2 3 4 |
|
In this example:
- timeStart
shows that the monitoring data was collected at noon UTC on October 7, 2024.
- timeDuration
indicates that the server has been running for 3,600,000 milliseconds (or 1 hour).
Integrating with Third-Party Monitoring Tools
You can configure your preferred third-party monitoring tool to query this endpoint periodically. This integration enables you to collect runtime statistics and monitor the performance of your Martini applications in real-time.
By utilizing the monitoring endpoint, you can enhance visibility into the operational health of your Martini Server Runtime environment and quickly respond to any performance issues that may arise.
Additional Resources
For further information on monitoring and performance optimization in Martini, consider exploring the following resources:
- Metrics API: Learn about the Metrics API and how to collect additional metrics from your Martini applications.
- Server Admin UI: Discover how to use the Server Admin UI for real-time monitoring and management of your Martini Server Runtime.