{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/node_exporter/issues/364","repository_url":"https://api.github.com/repos/prometheus/node_exporter","labels_url":"https://api.github.com/repos/prometheus/node_exporter/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/node_exporter/issues/364/comments","events_url":"https://api.github.com/repos/prometheus/node_exporter/issues/364/events","html_url":"https://github.com/prometheus/node_exporter/issues/364","id":194625814,"number":364,"title":"collectors as plugins?","user":{"login":"JustinAzoff","id":65812,"avatar_url":"https://avatars.githubusercontent.com/u/65812?v=3","gravatar_id":"","url":"https://api.github.com/users/JustinAzoff","html_url":"https://github.com/JustinAzoff","followers_url":"https://api.github.com/users/JustinAzoff/followers","following_url":"https://api.github.com/users/JustinAzoff/following{/other_user}","gists_url":"https://api.github.com/users/JustinAzoff/gists{/gist_id}","starred_url":"https://api.github.com/users/JustinAzoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustinAzoff/subscriptions","organizations_url":"https://api.github.com/users/JustinAzoff/orgs","repos_url":"https://api.github.com/users/JustinAzoff/repos","events_url":"https://api.github.com/users/JustinAzoff/events{/privacy}","received_events_url":"https://api.github.com/users/JustinAzoff/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-12-09T15:38:11Z","updated_at":"2016-12-20T18:32:36Z","closed_at":"2016-12-20T18:32:36Z","body":"Hi!\r\n\r\nI see why it is awesome that node_exporter doesn't support a generic 'exec' collector.. everything is pure go and node_exporter is super lightweight compared to things that exec 100 external programs to collect metrics.\r\n\r\nI can easily write a go collector for the things that I want to track, but I'd prefer not to have to run extra exporters and configure separate scrape jobs for 1 or 2 metrics.  The textfile collector doesn't seem like a good fit for what I want to do either.\r\n\r\nCould node_exporter use the new plugin functionality in go 1.8?  I'd be perfectly happy if I could push out a plugin to a plugins directory and have node_exporter load it and export the metrics in that plugin in a single process and scrape port.\r\n\r\nIs this a crazy idea?"},"comment":{"url":"https://api.github.com/repos/prometheus/node_exporter/issues/comments/268320363","html_url":"https://github.com/prometheus/node_exporter/issues/364#issuecomment-268320363","issue_url":"https://api.github.com/repos/prometheus/node_exporter/issues/364","id":268320363,"user":{"login":"discordianfish","id":275966,"avatar_url":"https://avatars.githubusercontent.com/u/275966?v=3","gravatar_id":"","url":"https://api.github.com/users/discordianfish","html_url":"https://github.com/discordianfish","followers_url":"https://api.github.com/users/discordianfish/followers","following_url":"https://api.github.com/users/discordianfish/following{/other_user}","gists_url":"https://api.github.com/users/discordianfish/gists{/gist_id}","starred_url":"https://api.github.com/users/discordianfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/discordianfish/subscriptions","organizations_url":"https://api.github.com/users/discordianfish/orgs","repos_url":"https://api.github.com/users/discordianfish/repos","events_url":"https://api.github.com/users/discordianfish/events{/privacy}","received_events_url":"https://api.github.com/users/discordianfish/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T18:32:36Z","updated_at":"2016-12-20T18:32:36Z","body":"All that in mind, I'm going to close this issue for now. Hope that's okay with you all:\r\n\r\n- support for myricom metrics can be added to the node-exporter without plugins (as long as it doesn't require root or executing other binaries)\r\n- Having some generic, pluggable exporter might be reasonable, but it's nothing that should be included in the node-exporter and rather be addressed in a separated project"}}
{"actor":{"display_login":"discordianfish"}}