Analytics
Analytics are always related to a project. This means that all endpoints have the same root:
https:://app.inspector.dev
/api/apps/:id
Get Hosts
POST
https://app.inspector.dev/api/apps/:id/hosts
The list of hosts (servers) where the application runs on.
Path Parameters
id
string
Project's ID
Headers
Authentication
string
API key
Request Body
filter
object
This object should contains "start" and "end" dates (ISO8601) to define the period you would analyze. You can also attach the hosts field as an array of hostnames to filter your data by servers.
Performance
POST
https://app.inspector.dev/api/apps/:id/performance
Path Parameters
id
integer
Project's ID
Headers
Authentication
string
API key
Request Body
filter
object
This object should contains "start" and "end" dates (ISO 8601) to define the period you would analyze. You can attach the "hosts" field as an array of hostnames to filter your performance report by servers. You can include the "query_string" parameter to filter by transactions name.
Furthermore you can include the group_hash field to get insights for a specific process.
Errors
GET
https://app.inspector.dev/api/projects/:id/errors
Retrieve the list of the error detected in the given application.
Path Parameters
id
integer
Project's ID
Headers
Authentication
string
API Key
Errors Trend
GET
https://app.inspector.dev/api/apps/:id/errors/trend
Retrieve the daily errors trend inthe last 30 days.
Path Parameters
id
integer
Project's ID
Headers
Authentication
string
API key
Last updated