-
Notifications
You must be signed in to change notification settings - Fork 55
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
Expose list of configured exporters #16
Conversation
Hi, @tcolgate , Were you able to look into this PR? Just curious if this project is still alive 🙂 |
Hi, |
Hey, @tcolgate - glad to see this is still maintained, we're quite heavy users of it :) Is the PR good now? |
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.
Sorry to be picky:
- Please rebase (hopefully the master's use of go mod wont cause you pain
- Other comments in line.
Should be good to merge once these are resolved.
README.md
Outdated
@@ -101,3 +104,10 @@ scrape_configs: | |||
static_configs: | |||
- targets: ['host:9999'] | |||
``` | |||
|
|||
## Building / releasing |
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.
Drop these, they aren't relevant to this PR, I've already tweaked in the README a bit, I'll add these, or equivalent in there directly.
<li><a href="/proxy?module={{$name}}">{{$name}}</a></li> | ||
{{end}} | ||
</ul>`) | ||
if err != nil { |
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.
This should never fail, so I'm tempted to say you can just _ out the err above. Failing that, if we check the error here, then please http.Error(....) and return (you are currently exeuting the template even if this fails).
main.go
Outdated
if err != nil { | ||
log.Error(err) | ||
} | ||
tmpl.Execute(w, cfg) |
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.
Please check the error from Execute.
Update the PR. There's also quite a few of go.mod changes, due to |
The PR is showing conflicts, I'm just trying to rebase locally. |
Rebased the fork against upstream |
Great, sorry that got a bit painful, the PR was trying to rip out a bunch of fixes. |
Any chance of a new binary release? This change was merged shortly after v0.2.9 was released. Thanks! |
I'll look into this on Monday.
…On Sat, 19 Oct 2019, 10:03 Brian Candler, ***@***.***> wrote:
Any chance of a new binary release? This change was merged shortly after
v0.2.9 was released. Thanks!
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#16?email_source=notifications&email_token=AAASR44L2ESO6IXFC5RDU5LQPLEOZA5CNFSM4FYPE23KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBXJI7Y#issuecomment-544117887>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAASR476H7SNR5GQ6YUMESTQPLEOZANCNFSM4FYPE23A>
.
|
PR for #15