234 lines
8.3 KiB
Markdown
Raw Normal View History

# Metrics Entity
2021-08-01 14:27:44 -07:00
## metrics
```text
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/data/metrics.json
2021-08-01 14:27:44 -07:00
```
Entity that represents a Metrics
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | No | Forbidden | Allowed | none | [metrics.json](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/data/metrics.json) |
2021-08-01 14:27:44 -07:00
### Metrics entity Type
2021-08-01 14:27:44 -07:00
`object` \([Metrics entity](metrics.md)\)
2021-08-01 14:27:44 -07:00
## Metrics entity Properties
2021-08-01 14:27:44 -07:00
| Property | Type | Required | Nullable | Defined by |
| :--- | :--- | :--- | :--- | :--- |
| [id](metrics.md#id) | `string` | Required | cannot be null | [Basic type](../types/basic.md#basic-definitions-uuid) |
| [name](metrics.md#name) | `string` | Required | cannot be null | [Metrics entity](metrics.md#metrics-properties-name) |
| [fullyQualifiedName](metrics.md#fullyqualifiedname) | `string` | Optional | cannot be null | [Metrics entity](metrics.md#metrics-properties-fullyqualifiedname) |
| [description](metrics.md#description) | `string` | Optional | cannot be null | [Metrics entity](metrics.md#metrics-properties-description) |
| [href](metrics.md#href) | `string` | Optional | cannot be null | [Basic type](../types/basic.md#basic-definitions-href) |
| [owner](metrics.md#owner) | `object` | Optional | cannot be null | [Entity Reference type](../types/entityreference.md) |
| [service](metrics.md#service) | `object` | Required | cannot be null | [Entity Reference type](../types/entityreference.md) |
| [usageSummary](metrics.md#usagesummary) | `object` | Optional | cannot be null | [Usage Details type](../types/usagedetails.md) |
2021-08-01 14:27:44 -07:00
### id
2021-08-01 14:27:44 -07:00
Unique id used to identify an entity
`id`
* is required
* Type: `string`
* cannot be null
* defined in: [Basic type](../types/basic.md#basic-definitions-uuid)
2021-08-01 14:27:44 -07:00
#### id Type
2021-08-01 14:27:44 -07:00
`string`
#### id Constraints
2021-08-01 14:27:44 -07:00
**UUID**: the string must be a UUID, according to [RFC 4122](https://tools.ietf.org/html/rfc4122)
2021-08-01 14:27:44 -07:00
### name
2021-08-01 14:27:44 -07:00
Name that identifies the this metrics instance uniquely.
`name`
* is required
* Type: `string`
* cannot be null
* defined in: [Metrics entity](metrics.md#metrics-properties-name)
2021-08-01 14:27:44 -07:00
#### name Type
2021-08-01 14:27:44 -07:00
`string`
#### name Constraints
2021-08-01 14:27:44 -07:00
**maximum length**: the maximum number of characters for this string is: `64`
**minimum length**: the minimum number of characters for this string is: `1`
### fullyQualifiedName
2021-08-01 14:27:44 -07:00
Unique name that identifies a metric in the format 'ServiceName.MetricName'
`fullyQualifiedName`
* is optional
* Type: `string`
* cannot be null
* defined in: [Metrics entity](metrics.md#metrics-properties-fullyqualifiedname)
2021-08-04 06:53:40 +00:00
#### fullyQualifiedName Type
2021-08-01 14:27:44 -07:00
`string`
#### fullyQualifiedName Constraints
2021-08-01 14:27:44 -07:00
**maximum length**: the maximum number of characters for this string is: `64`
**minimum length**: the minimum number of characters for this string is: `1`
### description
2021-08-01 14:27:44 -07:00
Description of metrics instance. What is has and how to use it
`description`
* is optional
* Type: `string`
* cannot be null
* defined in: [Metrics entity](metrics.md#metrics-properties-description)
2021-08-04 06:53:40 +00:00
#### description Type
2021-08-01 14:27:44 -07:00
`string`
### href
2021-08-01 14:27:44 -07:00
Link to the resource corresponding to this entity
> Link to the resource
`href`
* is optional
* Type: `string`
* cannot be null
* defined in: [Basic type](../types/basic.md#basic-definitions-href)
2021-08-01 14:27:44 -07:00
#### href Type
2021-08-01 14:27:44 -07:00
2021-08-04 06:53:40 +00:00
`string`
2021-08-01 14:27:44 -07:00
#### href Constraints
2021-08-01 14:27:44 -07:00
**URI**: the string must be a URI, according to [RFC 3986](https://tools.ietf.org/html/rfc3986)
2021-08-01 14:27:44 -07:00
### owner
2021-08-04 06:53:40 +00:00
Entity reference that includes entity ID and entity type
2021-08-01 14:27:44 -07:00
`owner`
* is optional
* Type: `object` \([Entity Reference](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/schemas/entities/entityreference.md)\)
* cannot be null
* defined in: [Entity Reference type](../types/entityreference.md)
2021-08-01 14:27:44 -07:00
#### owner Type
2021-08-01 14:27:44 -07:00
`object` \([Entity Reference](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/schemas/entities/entityreference.md)\)
2021-08-01 14:27:44 -07:00
### service
2021-08-04 06:53:40 +00:00
Entity reference that includes entity ID and entity type
2021-08-01 14:27:44 -07:00
`service`
* is required
* Type: `object` \([Entity Reference](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/schemas/entities/entityreference.md)\)
* cannot be null
* defined in: [Entity Reference type](../types/entityreference.md)
2021-08-04 06:53:40 +00:00
#### service Type
2021-08-01 14:27:44 -07:00
`object` \([Entity Reference](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/schemas/entities/entityreference.md)\)
2021-08-01 14:27:44 -07:00
### usageSummary
2021-08-04 06:53:40 +00:00
Type used to return usage details of an entity
2021-08-01 14:27:44 -07:00
`usageSummary`
* is optional
* Type: `object` \([Type used to return usage details of an entity](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/schemas/entities/usagedetails.md)\)
* cannot be null
* defined in: [Usage Details type](../types/usagedetails.md)
2021-08-01 14:27:44 -07:00
#### usageSummary Type
2021-08-01 14:27:44 -07:00
`object` \([Type used to return usage details of an entity](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/schemas/entities/usagedetails.md)\)
2021-08-01 14:27:44 -07:00
## metrics-properties-description
2021-08-01 14:27:44 -07:00
```text
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/data/metrics.json#/properties/description
2021-08-01 14:27:44 -07:00
```
Description of metrics instance. What is has and how to use it
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [metrics.json\*](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/data/metrics.json) |
2021-08-01 14:27:44 -07:00
### description Type
2021-08-01 14:27:44 -07:00
`string`
## metrics-properties-fullyqualifiedname
```text
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/data/metrics.json#/properties/fullyQualifiedName
2021-08-01 14:27:44 -07:00
```
Unique name that identifies a metric in the format 'ServiceName.MetricName'
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [metrics.json\*](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/data/metrics.json) |
2021-08-01 14:27:44 -07:00
### fullyQualifiedName Type
2021-08-01 14:27:44 -07:00
`string`
### fullyQualifiedName Constraints
2021-08-01 14:27:44 -07:00
**maximum length**: the maximum number of characters for this string is: `64`
**minimum length**: the minimum number of characters for this string is: `1`
## metrics-properties-name
```text
2021-08-04 13:18:14 +05:30
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/data/metrics.json#/properties/name
2021-08-01 14:27:44 -07:00
```
Name that identifies the this metrics instance uniquely.
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | [metrics.json\*](https://github.com/open-metadata/OpenMetadata/tree/88ab3784a5a9e2cfcf56bbb144522498eb33184c/docs/openmetadata-apis/https:/github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/entity/data/metrics.json) |
2021-08-01 14:27:44 -07:00
### name Type
2021-08-01 14:27:44 -07:00
`string`
### name Constraints
2021-08-01 14:27:44 -07:00
**maximum length**: the maximum number of characters for this string is: `64`
**minimum length**: the minimum number of characters for this string is: `1`