Agent-linux-amd64: panic: runtime error: integer divide by zero

I’ve used prometheus + grafana docker images before, now trying the agent with grafana cloud. Below is my configuration. I starts, writes some data to the WAL, then a few seconds later fails with the below error and stacktrace. I’m running on centos7. App server is spring boot 2 with latest dependencies and micrometer. I confirmed promtool can read the stats.

Unfortunately I get “Sorry, new users can only put 2 links in a post.” no matter how much of the details I remove, so trying to post with nothing.

1 Like

Replaced symbols with spaces to get past the “link” filter.

panic: runtime error: integer divide by zero

goroutine 246 [running]:
github com prometheus prometheus scrape ( Target) offset(0xc000df0320, 0x0, 0xe27f4b6f16f42d82, 0x0)
go pkg mod github com grafana prometheus v1 8 2-0 20220112164627-aae84190631a scrape target go:162 +0xf1
github com prometheus prometheus scrape ( scrapeLoop) run(0xc000cac8f0, 0x0)
go pkg mod github com grafana prometheus v1 8 2-0 20220112164627-aae84190631a scrape scrape go:1172 +0x6d
created by github com prometheus prometheus scrape ( scrapePool) sync
go pkg mod github com grafana prometheus v1 8 2-0 20220112164627-aae84190631a scrape scrape go:585 +0xb34

Thanks John! I responded to your ticket with a few suggestions, and if those don’t help I’ll open an issue for the team to investigate!