> For the complete documentation index, see [llms.txt](https://docs.lleverage.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.lleverage.ai/administer-and-govern/control/metrics.md).

# Metrics

Define project measurements that Workflows can emit and Monitoring can chart.

Metrics defines named measurements for operational execution.

![The Metrics page showing current metric definitions with type, unit and creation metadata.](https://3370306531-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlgSglJDQZxDZdn20CUcl%2Fuploads%2FNKuEVWoGGYElLizLbJia%2Fcontrol-metrics.png?alt=media)

This Control page defines **what a metric is**. It does not show recorded metric values, charts or history. Runtime executions write values against these definitions; Monitoring is where those values are used for operational charts and aggregates.

### Definition

A Metric has a name, description and value type. Current value types are:

* **Number**;
* **String**;
* **Boolean**;
* **Enum**, with configured allowed values.

A unit can be supplied as free text, for example `EUR` or `days`.

Enum definitions must contain at least **two distinct values**. Duplicate enum values are rejected, and updates are validated when values are removed.

### Access

Project members can read Metric definitions. Creating and changing them requires Builder-level Project access. Operators do not see Control in the current navigation.

Metric names are unique among active Metrics in a Project. Deletion is soft, so historical data can remain associated with the old definition.

### Referenced Metrics cannot be deleted

Lleverage blocks deletion while a Workflow still references the Metric. Dynamic/template-style references also fail closed rather than allowing the definition to disappear while a Workflow may still depend on it.

Use Metrics for measurements that should become part of operational Monitoring. Do not use them as a general-purpose data store.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.lleverage.ai/administer-and-govern/control/metrics.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
