Skip to content
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

Add Solr plugin #278

Closed
jrxFive opened this issue Oct 16, 2015 · 4 comments
Closed

Add Solr plugin #278

jrxFive opened this issue Oct 16, 2015 · 4 comments
Labels
feature request Requests for new plugin and for new features to existing plugins
Milestone

Comments

@jrxFive
Copy link
Contributor

jrxFive commented Oct 16, 2015

Seeing if anyone has the need or creating a solr plugin? I have it somewhat completed but have not figured out a good way to collect data from the following endpoint:

/solr/{CORE_NAME}/admin/mbeans?stats=true&wt=json

@sparrc
Copy link
Contributor

sparrc commented Oct 16, 2015

why not just use the httpjson plugin? https://github.com/influxdb/telegraf/tree/master/plugins/httpjson

@jrxFive
Copy link
Contributor Author

jrxFive commented Oct 16, 2015

I wouldn't know the coreName value beforehand unless I used some type of config management/service discovery/scripting tool to generate a template for the httpjson plugin requests.

@sparrc
Copy link
Contributor

sparrc commented Oct 16, 2015

So the plugin would need to discover CORE_NAME?

@jrxFive
Copy link
Contributor Author

jrxFive commented Oct 16, 2015

Yea it would use a different endpoint to extract all the cores ( plus some general information ), and then iterate over each CORE_NAME to get the mbean stats. At least I think thats how it would work, I have not found a more dump worthy endpoint to get all the information at once.

/solr/admin/cores?action=STATUS&wt=json

@ljagiello ljagiello mentioned this issue Sep 9, 2016
3 tasks
@ljagiello ljagiello mentioned this issue Nov 9, 2016
3 tasks
@danielnelson danielnelson added feature request Requests for new plugin and for new features to existing plugins and removed plugin request labels Aug 12, 2017
@danielnelson danielnelson added this to the 1.5.0 milestone Nov 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests for new plugin and for new features to existing plugins
Projects
None yet
Development

No branches or pull requests

3 participants