# Observability Integration

Source: https://docs.ops0.com/docs/settings/integrations/observability

ops0 can forward deployment logs, plan outputs, policy check results, and cost estimates into your observability stack. Today, the supported observability provider is **OpenObserve**.

---

## Supported Provider

- [Openobserve](#openobserve): Receive logs, plan output, policy checks, and cost estimates from ops0 workflows.

---

## OpenObserve

OpenObserve lets you centralize delivery logs, plan output, and policy data from `brew.ops0.ai` into a searchable observability stream.

### What Gets Sent

| Data Type | Description |
|-----------|-------------|
| **Deployment Logs** | Full output from Terraform apply operations |
| **Plan Output** | Terraform plan results including resource changes |
| **Policy Check Output** | OPA/Rego policy evaluation results |
| **Cost Estimates** | Cost estimation data from deployments |

Each data type can be enabled or disabled independently.

---

## Adding the Integration

### Navigate to Integrations
Go to **Settings** > **Integrations** > **Add Integration**.

### Select OpenObserve
Choose **OpenObserve** from the provider list.

### Enter Connection Details
Provide your OpenObserve endpoint and credentials.

### Choose Data Types
Select which data types to forward.

### Connect
Click **Connect** to verify the integration.

---

## Configuration Fields

| Field | Required | Description |
|-------|----------|-------------|
| **Name** | Yes | Integration name |
| **Endpoint** | Yes | OpenObserve API endpoint URL |
| **Username** | Yes | OpenObserve username |
| **Password** | Yes | OpenObserve password |
| **Organization** | Yes | OpenObserve organization name |
| **Stream Name** | Yes | Target stream for ops0 data |

---

## Data Type Toggles

- **Deployment Logs**: Terraform apply output and execution details.

- **Plan Output**: Terraform plan results for audit and review flows.

- **Policy Checks**: OPA or policy evaluation results with pass/fail context.

- **Cost Estimates**: Estimated monthly cost output from deployment planning.

---

## Sync Status

| Status | Description |
|--------|-------------|
| **Connected** | Integration is active and forwarding data |
| **Error** | The last sync attempt failed |
| **Syncing** | Data is currently being sent |

---

## Troubleshooting

- **Connection Refused**: Verify the endpoint URL is correct, includes `https://`, and is reachable from ops0.

- **Authentication Failed**: Check that the OpenObserve username and password are valid for the target organization.

- **Data Not Appearing**: Confirm the stream name, organization, and selected data toggles match your OpenObserve setup.

---

## Related

- [Integrations Overview](https://docs.ops0.com/docs/settings/integrations): Return to the shared integrations overview.

- [OpenObserve Alias Page](https://docs.ops0.com/docs/settings/integrations/openobserve): Legacy path retained for compatibility.
