Pethost
ShowShows the person a live view of their Pethost in the conversation: the machine with every project, one project, a project's uptime (its checks, alerts and incidents), its HTTP requests (a chart and the top paths) or its logs, the last two with filters they can change themselves. Call it when they ask to see something, or when a view says more than a sentence would: a day's traffic, a log to read through. It returns no data: GetMachine, GetProject, QueryHttpTraffic and QueryContainerLogs do. Afterwards say in a line what they are looking at, not what it shows. Where their app shows no views, the answer has the panel's link to give them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | machine: its CPU, memory and disk, and every project. project: one project's state, address, services and last deploy. uptime: a project's checks, alerts and incidents. requests: a project's HTTP requests. logs: a project's log lines. Absent = machine. | |
| range | No | requests and logs: how far back. Absent = 24h. | |
| search | No | logs: the lines that contain it. requests: the paths that contain it. | |
| status | No | requests: one class of answers. | |
| service | No | logs: one service's lines. Absent = every service's. | |
| project_id | No | For every view but machine. |