Skip to content

Martini Monitoring Endpoints

Martini includes a comprehensive REST API, known as the ESB API, which provides various functionalities for managing packages, endpoints, users, configurations, logs, and more.

Check Your License

The Martini Server Runtime Admin UI is exclusively available in the Martini Server Runtime Edition.

RESTful Endpoints

Martini Server Runtime provides exposed RESTful endpoints for monitoring information and key statistics.

Server Status

For monitoring server status, developers can utilize the following endpoint.

  • Endpoint: https://[serverURL]/statistics/status

This endpoint allows you to monitor server status.

#### Sample Response

```json { "timeStart": 1713940655666, "timeDuration": "0 days 18h:55m:12s", "sessionCount": 0, "sessionMax": 0, "requestCount": 36, "requestAverageTime": 35, "requestPerMinute": 0.0, "requestErrorCount": 0, "requestLongestTime": 801, "requestTotalTime": 1265, "serviceCount": 0, "serviceLongestTime": 0, "serviceErrorCount": 0, "serviceTotalTime": 0, "serviceAverageTime": 0, "serviceInvokesPerMinute": 0.0, "usedMemoryInMegabytes": 228 }

Version Checking

For checking version-related information, developers can utilize the following endpoint.

  • Endpoint: https://[serverURL]/public/metadata/version

Use this endpoint to retrieve version information.

Sample Response

1
2
3
4
5
6
7
8
{
      "RegularImmutableMap": {
        "name": "TORO Martini Runtime",
        "version": "2.2.0-RC2",
        "timestamp": "2024-04-19T08:00:31",
        "saas": false
      }
  }

Package Monitoring

If a package has any services exposed over HTTP then you can use a service like Pingdom to monitor those services.