Advanced diagnostics
When an app fails and the usual steps are not enough, your agent can look inside it and, with your permission, fix it.
What they are for
Weppa apps run on Kubernetes, the system that keeps them running in the cloud. Each app is made of parts, which Kubernetes calls pods.
These tools give your agent access to those parts: their events, logs, usage and configuration. It uses them when it works as your support engineer.
Ask your agent«My Odoo app does not start. Check its events and logs and tell me what is wrong.»
What Weppa guarantees and what rules your agent follows
Weppa guarantees:
- They only act inside the apps of your account. They do not reach other accounts.
- With the «Solo mirar» (view only) permission, they change nothing.
resources_listandresources_getdo not return the stored keys of your apps.- Deleting, restoring or duplicating a whole app, and anything that creates a charge, is confirmed in Weppa when done with the Weppa tools.
Your agent follows as a rule:
- Ask you before deleting data.
- Not read key values.
With the «Operar» (operate) permission, these tools can change and delete parts of your app, including its data. They can also read the app's files and variables, keys included. If you prefer that your agent cannot change anything, connect it with «Solo mirar».
To look (read only)
events_list: the warnings, errors and status changes of an app.pods_list_in_namespace: the parts of an app.pods_get: the details of a part.pods_log: the logs of a part, exactly as they come out. If your app writes a key in its logs, it shows up.pods_top: how much CPU and memory each part uses.resources_list: lists the configuration of your apps and Weppa's recipes and guides.resources_get: reads one of those configurations, recipes or guides.
To act (they change something)
pods_exec: runs a command inside a part. It can read its files and variables.pods_delete: deletes a part. If the app manages it, it is created again.pods_run: runs a new part in your account.resources_create_or_update: creates or changes the configuration of an app, for example your own app.resources_delete: deletes a configuration. If it is a disk, its data is deleted.resources_scale: changes how many copies of a part run, within your account's quota.
The shape of these tools comes from the Kubernetes engine, not from Weppa, and it can change. Your agent receives their full description when it connects.