Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to send data to pushgateway from a shell script

echo "metric 99" | curl --data-binary @- http://localhost:9091/metrics/job/some_job
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #send #data #pushgateway #shell #script
ADD COMMENT
Topic
Name
8+6 =