> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# AlertingDialogMeasure()

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: function
- Stability: beta
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/presentation/automations/alerting/blocks/AlertingDialogMeasure.tsx

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The alerting dialog's measure field ("Metric": the measure the condition targets), connected to the dialog's state and rendered as a labelled form row.

Renders [DefaultAlertingDialogMeasure()](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.defaultalertingdialogmeasure/index.md) inside [AutomationDialogFormField()](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.automationdialogformfield/index.md) with the props of [useAlertingDialogMeasureProps()](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.usealertingdialogmeasureprops/index.md); every prop passed here replaces the hook's value for that prop wholesale. Renders nothing while `useAlertingDialogContext().isLoading` is true. The row's label is the default dialog's — a shell that wants its own label renders the hook and the render component inside its own `AutomationDialogFormField`.

**Signature:**

```typescript
export declare function AlertingDialogMeasure(overrides: Partial<IAlertingDialogMeasureProps>): ReactElement;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| overrides | Partial&lt;[IAlertingDialogMeasureProps](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogmeasureprops/index.md)&gt; |  |

**Returns:**

ReactElement

## Example

```tsx
function MyAlertingDialog(props: IAlertingDialogProps) {
    return (
        <MyShell onClose={props.onCancel}>
            <AlertingDialogMeasure />
            <AlertingDialogComparisonOperator />
            <AlertingDialogThreshold />
        </MyShell>
    );
}
<Dashboard AlertingDialogComponent={MyAlertingDialog} />;
```
