prometheus-scrape
Expose port and allow prometheus to scrape the service.
Type: trait. From: the prometheus-server addon.
Parameters
port int default 8080Specify the port to be scraped
path string default /metricsSpecify the path to be scraped
selector map[string]stringSpecify the selector of the service. In most cases, you don't need to set it.
type string default ClusterIPSpecify the service type.