2021-08-01 14:27:44 -07:00

7.8 KiB

Metrics Entity

metrics

https://github.com/StreamlineData/catalog/blob/master/catalog-rest-service/src/main/resources/json/schema/entity/data/metrics.json

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

Metrics entity Type

object [Metrics entity](metrics.md)

Metrics entity Properties

Property Type Required Nullable Defined by
id string Required cannot be null Common type
name string Required cannot be null Metrics entity
fullyQualifiedName string Optional cannot be null Metrics entity
description string Optional cannot be null Metrics entity
href string Optional cannot be null Common type
owner object Optional cannot be null Common type
service object Required cannot be null Common type
usageSummary object Optional cannot be null Common type

id

Unique id used to identify an entity

id

  • is required
  • Type: string
  • cannot be null
  • defined in: Common type

id Type

string

id Constraints

UUID: the string must be a UUID, according to RFC 4122

name

Name that identifies the this metrics instance uniquely.

name

name Type

string

name Constraints

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

Unique name that identifies a metric in the format 'ServiceName.MetricName'

fullyQualifiedName

fullyQualifiedName Type

string

fullyQualifiedName Constraints

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

Description of metrics instance. What is has and how to use it

description

description Type

string

href

Link to the resource corresponding to this entity

Link to the resource

href

  • is optional
  • Type: string
  • cannot be null
  • defined in: Common type

href Type

string

href Constraints

URI: the string must be a URI, according to RFC 3986

owner

Owner of this metrics

Entity reference that includes entity ID and entity type

owner

  • is optional
  • Type: object [Details](../types/common.md#common-definitions-entityreference)
  • cannot be null
  • defined in: Common type

owner Type

object [Details](../types/common.md#common-definitions-entityreference)

service

Link to service where this metrics is hosted in

Entity reference that includes entity ID and entity type

service

  • is required
  • Type: object [Details](../types/common.md#common-definitions-entityreference)
  • cannot be null
  • defined in: Common type

service Type

object [Details](../types/common.md#common-definitions-entityreference)

usageSummary

Latest usage information for this database

Type used to return usage details

usageSummary

  • is optional
  • Type: object [Details](../types/common.md#common-definitions-usagedetails)
  • cannot be null
  • defined in: Common type

usageSummary Type

object [Details](../types/common.md#common-definitions-usagedetails)

metrics-properties-description

https://github.com/StreamlineData/catalog/blob/master/catalog-rest-service/src/main/resources/json/schema/entity/data/metrics.json#/properties/description

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*

description Type

string

metrics-properties-fullyqualifiedname

https://github.com/StreamlineData/catalog/blob/master/catalog-rest-service/src/main/resources/json/schema/entity/data/metrics.json#/properties/fullyQualifiedName

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*

fullyQualifiedName Type

string

fullyQualifiedName Constraints

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

https://github.com/StreamlineData/catalog/blob/master/catalog-rest-service/src/main/resources/json/schema/entity/data/metrics.json#/properties/name

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*

name Type

string

name Constraints

maximum length: the maximum number of characters for this string is: 64

minimum length: the minimum number of characters for this string is: 1