metrics: String with metric name-value pairs each ending with eol, metricsType: metrics type (task or stage), labelName: metrics label name, labelValue: metrics label value
name: String with label name, replace all not valid characters with '_", remove leading and trailing white spaces, if first symbol is digit, add leading '_".
name: String with metric name, replace all not valid characters with '_", remove leading and trailing white spaces, if first symbol is digit, add leading '_".
name: name String, validChars: String with valid characters, replace all other characters with '_", remove leading and trailing white spaces, if first symbol is digit, add leading '_".
serverIPnPort: String with prometheus pushgateway hostIP:Port, metricsJob: job name