# io.k8s.api.autoscaling.v2.ObjectMetricSource

From **Kubernetes**.

ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

- Type: `object`

## Properties

### `describedObject`

- Required: true
- Default: `{}`

describedObject specifies the descriptions of a object,such as kind,name apiVersion

### `metric`

- Required: true
- Default: `{}`

metric identifies the target metric by name and selector

### `target`

- Required: true
- Default: `{}`

target specifies the target value for the given metric

## JSON Schema

```json
{"description":"ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).","properties":{"describedObject":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.autoscaling.v2.CrossVersionObjectReference"}],"default":{},"description":"describedObject specifies the descriptions of a object,such as kind,name apiVersion"},"metric":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.autoscaling.v2.MetricIdentifier"}],"default":{},"description":"metric identifies the target metric by name and selector"},"target":{"allOf":[{"$ref":"#/components/schemas/io.k8s.api.autoscaling.v2.MetricTarget"}],"default":{},"description":"target specifies the target value for the given metric"}},"required":["describedObject","target","metric"],"type":"object"}
```
