-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
nsqadmin: --proxy-graphite option is broken #1287
Conversation
Interesting... I used (credit for this issue goes to @fanlix) |
a2e09f4
to
80cff45
Compare
Anyway, what a fun Saturday night! This updates WARNING: 🟥 I haven't tested any of this... 🔴 |
I can test the non @fanlix can you compile nsqadmin from this branch and try it for your |
@ploxiln ok. I will do it today. |
bad news, this patch not work.
nsqadmin access logs looks ok
but browser gets blank page
the 2-char modify in index.html is the right fix
|
yeah, the bindata which mreiferson generated seems to be messed up, I also get blank pages:
|
the build of go-bindata I happen to have installed seems to work better, I went ahead pushed up the result to this branch |
(also it seems travis-ci results aren't being posted here, but the CI is running and can be seen at https://travis-ci.org/github/nsqio/nsq/pull_requests) |
What do you mean by “installed”? The question I have is whether it’s the version of go-bindata I’m using or node/gulp/my changes not producing correct static assets as input. I’ll check locally tomorrow (replying on mobile) |
I just mean I built this go-bindata and put it in my PATH about a year ago:
I don't think that singularly narrows down the fork I used, but I think it's older than the suggested fork you put in the README ... |
7ba7307
to
def011f
Compare
The latest version of go-bindata that I used changed the behavior of the |
cool, I'll test it out |
by my test it works, for both proxy and un-proxy. 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All looks good and works fine for me. Should probably just squash commits a bit.
def011f
to
58ab1ec
Compare
fixed up the commits |
./bin/nsqadmin --lookupd-http-address=${localip}:4161 -graphite-url=http://${localip}:80
./bin/nsqadmin --lookupd-http-address=${localip}:4161 -graphite-url=http://${localip}:80 -proxy-graphite
there is a js error in browser:
Uncaught SyntaxError: Unexpected token ';'
index page shows:
the GRAPHITE_URL is empty