api_metrics
Stores metrics for Application Programming Interface (API) calls.
| Column | Data Type | Nullable | Indexed | Description |
|---|---|---|---|---|
method | text | No | No | This is the HTTP method (e.g. GET, POST, PUT, OPTIONS, etc.) https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods of the API. |
path | text | No | No | An API path is a specific part of a URL that defines the route to access a particular resource or perform a specific operation within an API and helps in directing the API request to the appropriate resource or service. |
api_key | text | No | No | API key is a unique identifier used to authenticate and authorize access to an API that functions as a security measure to ensure that only authorized users or applications can interact with the API and access its data or services. |
start_time | timestamp with time zone | No | No | Start-time refers to the point in time when an API request is initiated. |
end_time | timestamp with time zone | No | No | End-time refers to the point in time when an API request is finished. |
duration_milliseconds | integer | No | No | Duration milliseconds is how many milliseconds the API request took. |
environment | text | No | No | Application environment of the API (e.g. prod, test, dev, etc.) |
request | text | No | No | The body of the HTTP request sent to the API. |
response | text | No | No | The body of the response returned by the API. This is usually JSON data. |
status_code | integer | No | No | The HTTP status code returned by the API. |