Closed darianJmy closed 1 year ago
Hello! I recommend posting this question in our Community Slack or Community Forums, we have a lot of talented community members there who could help answer your question more quickly. You can also learn more about Telegraf by enrolling at InfluxDB University for free!
Heads up, this issue will be automatically closed after 7 days of inactivity. Thank you!
i found the problem, inputs.Add name is plugin name
func init() {
inputs.Add("simple", func() telegraf.Input { return &Simple{} })
}
Please direct all support questsions to slack or the forums. Thank you.
The following is the copied demo
This is the directory structure in the plugins/inputs/alice
cat alice.go
cat sample.conf
This is the directory structure in the plugins/inputs/all/
cat alice.go
Why can't I find the plugin in the binary file after I execute make all