252 lines
10 KiB
Markdown
Raw Normal View History

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