-
Notifications
You must be signed in to change notification settings - Fork 101
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
Debug log incoming lines #58
Conversation
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 remove the gitignore change, and add the sign-off to the actual change.
Did you also want to output the final sample?
.gitignore
Outdated
@@ -1,5 +1,6 @@ | |||
/.build | |||
/.release | |||
/.tarballs | |||
.idea/ |
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.
I'd rather not have editor-specific settings in here. You can ignore .idea for yourself in .git/info/exclude
(this repository only) or create a global gitignore file for yourself.
@matthiasr what do you mean by |
For the sign-off please look at the details of the failing DCO check.
…On Mon, Sep 10, 2018, 18:01 Jakub Liska ***@***.***> wrote:
@matthiasr <https://github.com/matthiasr> what do you mean by add the
sign-off to the actual change ? I've never used golang so I'm having
troubles with outputting the final sample, I don't know how to print it
properly. Would you mind supplying that for yourself ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAICBvuwBTSeH9bSBOoucrnmXJuohucCks5uZozngaJpZM4WhGFy>
.
|
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.
I added the second log line, it looks like this now:
INFO[0000] Starting graphite_exporter (version=, branch=, revision=) source=main.go:219
INFO[0000] Build context (go=go1.11, user=, date=) source=main.go:220
INFO[0000] Listening on :9108 source=main.go:284
DEBU[0034] Incoming line : test_udp 1234 (date +%s) source=main.go:106
INFO[0034] Invalid part count of 4 in line: test_udp 1234 (date +%s) source=main.go:109
DEBU[0050] Incoming line : test_udp 1234 1536653140 source=main.go:106
DEBU[0050] Sample: {OriginalName:test_udp Name:test_udp Labels:map[] Help:Graphite metric test_udp Value:1234 Type:2 Timestamp:2018-09-11 08:05:40 +0000 UTC} source=main.go:146
I still need the sign-off from you.
Since you need to rebase for the sign-off anyway, please drop the two commits relating to gitignore. You can do that with |
ec63498
to
fafc343
Compare
Signed-off-by: l15k4 <[email protected]>
fafc343
to
dabbb43
Compare
Thank you! |
Signed-off-by: Matthias Rampke <[email protected]>
@matthiasr sorry for bothering again, but should the debug logging be enabled by adding |
Can pls anybody help how to enable the debug logging ? |
try |
I tried both, the repro is simple :
Then
Nothing happens ... what am I missing here, these are the logs :
However it ends ip in |
omg, my fault, it works if I change to |
maybe you need to `docker pull prom/graphite-exporter`?
…On Fri, Dec 28, 2018, 17:18 Jakub Liska ***@***.***> wrote:
omg, my fault, it works if I change to image:
prom/graphite-exporter:v0.4.2 ... Sorry
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAICBvEjTwHCihEn44JMoa5gytvt4AO-ks5u9kRTgaJpZM4WhGFy>
.
|
For better trouble shooting, see #57