hibiken / asynqmon

Web UI for Asynq task queue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Asynqmon prometheus query fails

abit2 opened this issue · comments

What I want to achieve

I would like the metrics that the asynqmon generate to be scrapped by prometheus.

Setup

Running asynqmon in kubernetes cluster with net/http

asynqmon.New(asynqmon.Options{
		RootPath:     "/", // RootPath specifies the root for asynqmon app
		RedisConnOpt: rdbClient,
	})

Error

Going to api/metrics, I get the following error

failed to fetch "asynq_tasks_enqueued_total{state=\"archived\",QUEUE_FILTER}": Get "/api/v1/query_range?end=1673346555&query=asynq_tasks_enqueued_total%7Bstate%3D%22archived%22%2C%7D&start=1673342955&step=10": unsupported protocol scheme ""