Guest User

prometheus powershell pushgateway

a guest
Oct 27th, 2022
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $body = "haha_test 19`n"
  2.  
  3. Invoke-RestMethod `
  4.     -Method PUT `
  5.     -Uri "http://10.0.19.4:9091/metrics/job/reddit/instance/bla" `
  6.     -Body $body
  7.  
Advertisement
Add Comment
Please, Sign In to add comment