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

add root path command options #259

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

martian4202
Copy link

add root-path command option in case asynqmon running behind a proxy

Copy link

@harry0703 harry0703 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

h := asynqmon.New(asynqmon.Options{
		RedisConnOpt:      redisConnOpt,
		PayloadFormatter:  asynqmon.PayloadFormatterFunc(payloadFormatterFunc(cfg)),
		ResultFormatter:   asynqmon.ResultFormatterFunc(resultFormatterFunc(cfg)),
		PrometheusAddress: cfg.PrometheusServerAddr,
		ReadOnly:          cfg.ReadOnly,
                 // ***** set the RootPath *****
		RootPath:          cfg.RootPath,
	})

@evgenyKharitonov
Copy link

Hey @hibiken can you please merge this so we can open another PR to add ENV var support for this?

Thanks!

@taltcher
Copy link

taltcher commented Jul 2, 2023

Hey @hibiken can you please merge this so we can open another PR to add ENV var support for this?

Thanks!

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

Successfully merging this pull request may close these issues.

4 participants