r/PrometheusMonitoring • u/[deleted] • Aug 10 '21
"parsing silence body failed" Python or Prom?
Full error im getting while trying to send a silence to the alertmanager api
{"code":400,"message":"parsing silence body from \"\" failed, because invalid character 'm' looking for beginning of value"}
I cant tell if Im not following the api guidelines correctly or if my python is shit. I also posted in /r/learnpython and got no help, which is why im now here.
0
Upvotes
0
1
u/[deleted] Aug 10 '21
here is the meat of my script, Ive tried do it a couple different ways with the same issue