> ## Documentation Index
> Fetch the complete documentation index at: https://docs-insights.petasight.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Metrics

1. Visit the Administration page.

## Add a Metric

1. Click on 'Add New Row'.
2. Fill in the Friendly Name of the metric and the SQL to pull it from your data
   source, then hit "Update Metric".

<img src="https://mintcdn.com/babbageinsight/h63MPuZbeAvsXnxC/assets/insights/add-metric-detail.png?fit=max&auto=format&n=h63MPuZbeAvsXnxC&q=85&s=2444f8371e7cc6d7fcec70d8a223cf9c" width="1017" height="138" data-path="assets/insights/add-metric-detail.png" />

## Update a Metric

1. Click on the field you want to edit, and modify it.

<img src="https://mintcdn.com/babbageinsight/h63MPuZbeAvsXnxC/assets/insights/update-metric.png?fit=max&auto=format&n=h63MPuZbeAvsXnxC&q=85&s=7680ac4b0f69040fc4b0f339d6206a7d" width="1028" height="195" data-path="assets/insights/update-metric.png" />

# DANGER ZONE

## Delete a Metric

1. Select the relevant Metric,
   then Click "Delete".

<img src="https://mintcdn.com/babbageinsight/h63MPuZbeAvsXnxC/assets/insights/update-metric.png?fit=max&auto=format&n=h63MPuZbeAvsXnxC&q=85&s=7680ac4b0f69040fc4b0f339d6206a7d" width="1028" height="195" data-path="assets/insights/update-metric.png" />

2. Confirm your decision, and the metric will be deleted.

<img src="https://mintcdn.com/babbageinsight/h63MPuZbeAvsXnxC/assets/insights/confirm-delete.png?fit=max&auto=format&n=h63MPuZbeAvsXnxC&q=85&s=3855cb5ade2e628e5cffc82599e688a2" width="281" height="439" data-path="assets/insights/confirm-delete.png" />
