RESOURCE CATALOG

Insight

Collects logs and metrics from Applications, with optional alerts.

type: "insight"analogous to logs + metrics + alarms

Definition

Enables log and metric ingestion for a Compute. Defines retention in days and whether the team receives email alerts when indicators cross thresholds. Data feeds the organization Health console and audit.

When to use

  • Production applications, generally.
  • When the Project has a formal incident runbook.
  • For error correlation across Applications.

When not to use

  • Ephemeral job pipelines lasting seconds — export logs directly to your preferred destination.

Configuration fields

Each field is validated at creation time. Defaults apply when fields are omitted.

config · insight
CampoTipoDefault · Opções
retencao_dias
Retenção (dias)
int
Default7
alertas
Alertas por e-mail
bool
Defaultfalse

Examples

Full payloads for POST to /api/projetos/{id}/recursos:

Observability with alerts

json
{
  "tipo": "insight",
  "nome": "obs-api",
  "config": {
    "retencao_dias": 30,
    "alertas": true
  }
}

Related resources

Insight · Catálogo · Tesserra Docs