How to push metrics to Prometheus Pushgateway
Requires a Pushgateway running on localhost:9091
.
Env variables:
pUSHGATEWAY
url of the PushgatewayJOB
the name of the jobLABELS
a label stringHELP_MESSAGE
the help messageMETRIC_NAME
name of the metricMETRIC_TYPE
type of the metricMETRIC_VALUE
value of the metric
Refer to the Github repository for more details about the variables.