Files
kubevela/docs/developers/references/traits/metrics.md
Hongchao Deng e20b6c9bf4 doc: add app init, config, and capability references
additionally:

- change backend workload type to worker
- add cue format script

Signed-off-by: Hongchao Deng <hongchaodeng1@gmail.com>
2020-11-03 19:25:41 -08:00

637 B

Metrics

Properties

Name Type Description Notes
Path string the metric path of the service [default to /metrics]
Format string +format of the metrics, default as prometheus [default to prometheus]
Scheme string [default to http]
Enabled bool [default to true]
Port int32 the port for metrics, will discovery automatically by default [default to 0], >=1024 & <=65535
Selector map[string]string the label selector for the pods, will discovery automatically by default [optional]