<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/metadata/blob/r1.21.0/tensorflow_metadata/proto/v0/metric.proto) |

A ProtocolMessage

#### View aliases


**Main aliases**

[`tfmd.proto.v0.metric_pb2.CustomMetric.RegistrySpec`](https://www.tensorflow.org/tfx/tf_metadata/api_docs/python/tfmd/proto/metric_pb2/CustomMetric/RegistrySpec)

<br />

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `config` | `Any config` |
| `key` | `string key` |

<br />