Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asynqmon prometheus query fails #287

Open
abit2 opened this issue Jan 10, 2023 · 0 comments
Open

Asynqmon prometheus query fails #287

abit2 opened this issue Jan 10, 2023 · 0 comments

Comments

@abit2
Copy link

abit2 commented Jan 10, 2023

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 ""
@abit2 abit2 changed the title Asynqmon prometheus query for promQLArchivedTasks fails Asynqmon prometheus query fails Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant