-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
bugunexpected problem or unintended behaviorunexpected problem or unintended behavior
Milestone
Description
Bug report
Relevant telegraf.conf:
System info:
[Include Telegraf version, operating system name, and other relevant details]
Telegraf current master (738cbbd)
Relevant telegraf.conf:
[[outputs.file]]
files = ["stdout"]
[[inputs.cpu]]
Steps to reproduce:
- call
panic("foo")from within a plugin'sGather(). For example theGather()method on the system/cpu plugin telegraf -config /tmp/telegraf.conf -test
Expected behavior:
* Plugin: inputs.cpu, Collection 1
big nasty panic message here
Actual behavior:
* Plugin: inputs.cpu, Collection 1
Use case: [Why is this important (helps with prioritizing requests)]
I was trying to develop on a plugin, but whenever I ran telegraf, absolutely no output was produced. Eventually I figured out that my code was causing a panic, but it was rather difficult to figure out because my panic was being thrown away.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugunexpected problem or unintended behaviorunexpected problem or unintended behavior