Skip to content

Property

A topology view can be customized using properties.

Example
properties:
  - icon: github
    text: https://github.com/spring-petclinic/spring-petclinic-microservices
    type: url
  - icon: aws
    text: eu-west-1
  - icon: git
    text: vaev6ae (updated 2h ago)
  - headline: true
    name: Pets
    text: '15000'
  - headline: true
    name: Vets
    text: '125'
  - color: green
    headline: true
    name: Visitors
    text: '447'

Properties Displayed

Property

Field Description Scheme Required
color Set color for component property. string
configLookup Specify lookup for component config. ConfigLookup optional
headline Toggle headline for component property. bool
icon Specify icon for component. string
label Specify label for component property. string
lastTransition Set transition for component property. string
links Set links pertaining to component. []Link
lookup Specify look up for you component. Lookup optional
max Set maximum value for components to display. int64 optional
min Set minimum value for components to display. int64
name Set name for component property. string
order Set integer value order for component property. int
status Specify status for component property. string
summary Set Summary for component property e.g Healthy, Unhealthy, Warning, and Info. Template optional
text Set description or text of choice pertaining to component property. string
tooltip Set tooltip outlining information pertaining to the component. string
type Specify type of component property. string
unit Unit for component property e.g. milliseconds, bytes, millicores, epoch etc. string
value int64

ConfigLookup

Field Description Scheme Required
id Specify unique ID for config. string
config Specify config for lookup. Config
field A JSONPath expression to lookup the value in the config. string
display Apply transformations to the value. Display

Display

Field Description Scheme Required
expr Specify expression for use as template for display. string
javascript Specify javascript syntax for use as template for display. string
jsonPath Specify path to JSON element for use as template for display. string
template Specify Go template for use as template for display. string
Field Description Scheme Required
icon Set icon for link. string
label Set label for link. string
text Set text of choice for link. string
tooltip Set tooltip outlining information pertaining to the link. string
type Specify type of link e.g. documentation, support, playbook. string
url Specify URL for link. string

Template

Field Description Scheme Required
expr Specify expression for ID. string
javascript Specify javascript syntax to generate ID. string
jsonPath Specify path to JSON element for use in ID. string
template Specify Go template for use in ID. string