Skip to content

Latest commit

 

History

History
184 lines (112 loc) · 4.83 KB

metrics.md

File metadata and controls

184 lines (112 loc) · 4.83 KB
layout title
default
Metrics

metrics

Metrics entity Schema

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 entity Properties

Property Type Required Nullable Defined by
id string Required cannot be null Metrics entity
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 Metrics entity
owner object Optional cannot be null Metrics entity
service object Required cannot be null Metrics entity
usageSummary object Optional cannot be null Metrics entity

id

Unique id used to identify an entity

id

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

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

owner Type

object (Details)

service

Link to service where this metrics is hosted in

Entity reference that includes entity ID and entity type

service

service Type

object (Details)

usageSummary

Latest usage information for this database

Type used to return usage details

usageSummary

usageSummary Type

object (Details)