OpenAI Services Health Test
The OpenAI Services Health test monitors the availability and responsiveness of configured OpenAI API capabilities by sending requests to the selected OpenAI project and service endpoints. This test measures whether the service capabilities are available, how quickly they respond to the requests, whether the requests receive successful HTTP responses, and the count of errors occurred (if any). This way, the test provides proactive visibility into the availability of API capabilities that applications depend on and helps administrators detect service availability issues, increased response times, delayed token generation, and request failures before they significantly affect applications or end users.
Target of the test : OpenAI
Agent deploying the test: A remote agent
Outputs of the test : One set of results for each API capability in each configured project
| Parameters | Description |
|---|---|
|
Test Period |
This indicates how often should the test be executed. By default, this is set to 15 minutes. |
|
Host |
The host for which the test is to be configured. |
|
Port |
Refers to the port used by the target component. |
| API Keys |
To monitor availability and responsiveness of API capabilities in the OpenAI projects configured in the OpenAI organization, eG agent requires access the projects. To grant this access, specify the comma-separated list of the API keys of the projects in this text box. The API key is unique to each project and can be generated from the OpenAI portal For example, sk-svcacct-teIT_pvDJ3wGPr9poch6675lEHxX0jtHgul46_vYy-T0scbk95N9yDlCDEVu7FrhS4wLbdbYGfT3BlbkFJbbseyKzby5DwX-SE75_1xnS_cn3i1MOVHxqQE0_FpQrPrXxXXXui5AxQD9O1KNjnM4k9Q5AA, sk-svcacct-teIT_pvVk5wGPr9poch6675lEHxX0jtHgul46_uzZ-T0scbk95N9yDlCDEVu7FrhS4wLbdbYGfT3BlbkFJbbseyKzby5DwX-PQ8_1xnS_cn3i1MOVHxqQE0_FpQrPrXxXXXui5AxQD9O1KNjnM4k9Q5AA |
|
Probe Interval Completion Secs |
Specify the time interval, in seconds, at which the eG agent performs a probe to monitor the OpenAI Completions API to verify its availability and responsiveness. By default, this is set to 1800 seconds. |
|
Probe Interval Response Secs |
Specify the time interval, in seconds, at which the eG agent performs a probe to monitor the OpenAI Response API to verify its availability and responsiveness. By default, this is set to 1800 seconds. |
|
Probe Interval Embedding Secs |
Specify the time interval, in seconds, at which the eG agent performs a probe to monitor the OpenAI Embedding API to verify its availability and responsiveness. By default, this is set to 1800 seconds. |
|
Probe Interval Images Secs |
Specify the time interval, in seconds, at which the eG agent performs a probe to monitor the OpenAI Images API to verify its availability and responsiveness. By default, this is set to 7200 seconds. |
|
Probe Interval Audio Secs |
Specify the time interval, in seconds, at which the eG agent performs a probe to monitor the OpenAI Audio API to verify its availability and responsiveness. By default, this is set to 7200 seconds. |
|
Is Debug Enabled |
This parameter specifies whether the test should run in debug mode. If this flag is set to Yes, the eG agent runs the test in debug mode and generates detailed error logs, which can help administrators troubleshoot issues related to test execution or metric collection. By default, this flag is set to No, indicating that the test does not run in debug mode and detailed debug logs are not generated. Debug mode should typically be enabled only when troubleshooting issues. |
| Measurement | Description | Measurement Unit | Interpretation |
|---|---|---|---|
|
Availability |
Indicates the availability of this API capability in this configured project. |
Percent |
A value close to 100% indicates that the API capability is available for all requests. A value below 100% indicates that one or more requests could not be successfully completed and may indicate service unavailability or connectivity issues. |
|
Response time |
Indicates the total time taken by this API capability to process a request and return the response. |
Seconds |
A lower response time indicates faster service responsiveness. An increase compared with the permissible range may indicate service-side performance degradation or increased processing time. |
|
Time to first token |
Indicates the time elapsed between sending a request to this API capability and receiving the first generated token in the response. |
Seconds |
A lower value indicates that the service begins generating a response quickly. An increasing value may indicate increased request-processing or service-side latency and can result in slower perceived response times for users. |
|
HTTP status code |
Indicates the HTTP status code returned by this API capability for the request. |
Number |
A successful 2xx status code indicates that the request is processed successfully. 4xx status codes generally indicate client-side issues such as invalid requests or authentication/authorization problems, while 5xx status codes may indicate server-side or service availability issues. |
|
Total errors |
Indicates the percentage of errors occurred during request processing. |
Percent |
A non-zero value indicates that requests to each API capability are failing more frequently and should be investigated. |