{"id":20875570,"url":"https://github.com/iamseth/sphinx_exporter","last_synced_at":"2025-05-12T15:31:35.580Z","repository":{"id":57692526,"uuid":"103713029","full_name":"iamseth/sphinx_exporter","owner":"iamseth","description":"Sphinx Search Exporter for Prometheus.","archived":false,"fork":false,"pushed_at":"2017-09-17T02:08:56.000Z","size":3084,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T07:25:50.561Z","etag":null,"topics":["monitoring","prometheus","prometheus-exporter","sphinx","sphinxsearch"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iamseth.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-16T00:42:28.000Z","updated_at":"2022-04-18T19:13:31.000Z","dependencies_parsed_at":"2022-09-26T21:00:57.798Z","dependency_job_id":null,"html_url":"https://github.com/iamseth/sphinx_exporter","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamseth%2Fsphinx_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamseth%2Fsphinx_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamseth%2Fsphinx_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamseth%2Fsphinx_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamseth","download_url":"https://codeload.github.com/iamseth/sphinx_exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253765883,"owners_count":21960810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["monitoring","prometheus","prometheus-exporter","sphinx","sphinxsearch"],"created_at":"2024-11-18T06:46:59.966Z","updated_at":"2025-05-12T15:31:31.180Z","avatar_url":"https://github.com/iamseth.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sphinx Exporter [![Build Status](https://travis-ci.org/iamseth/sphinx_exporter.svg)](https://travis-ci.org/iamseth/sphinx_exporter.svg)\n\n\nExport [Sphinx Search](http://sphinxsearch.com/) metrics to Prometheus.\n\n## Exported Metrics\n\n|Metric|Meaning|\n|------|------|\n|sphinx_agent_connect||\n|sphinx_agent_retry||\n|sphinx_command_delete|Sum of delete commands since startup.|\n|sphinx_command_excerpt|Sum of excerpt commands since startup.|\n|sphinx_command_flushattrs|Sum of flushattrs commands since startup.|\n|sphinx_command_keywords|Sum of keywords commands since startup.|\n|sphinx_command_persist|Sum of persist commands since startup.|\n|sphinx_command_search|Sum of search commands since startup.|\n|sphinx_command_status|Sum of status commands since startup.|\n|sphinx_command_update|Sum of update commands since startup.|\n|sphinx_connections|Total number of connections made since startup.|\n|sphinx_dist_local||\n|sphinx_dist_queries||\n|sphinx_dist_wait||\n|sphinx_dist_wall|Total time running distributed queries.|\n|sphinx_maxed_out|Number of times connections were maxed out.|\n|sphinx_queries|Total number of queries run against Sphinx.|\n|sphinx_query_cpu||\n|sphinx_query_readkb||\n|sphinx_query_reads||\n|sphinx_query_readtime||\n|sphinx_query_wall|Total time running queries.|\n|sphinx_up|1 if we're able to scrape metrics, otherwise 0.|\n|sphinx_uptime|Time in seconds searchd has been running.|\n\n## Flags\n\n```bash\n./sphinx_exporter --help\n```\n\n* __`sphinx.host`:__ Hostname or IP address for Sphinx. (default \"localhost\")\n* __`sphinx.port`:__ TCP port for Sphinx.\n* __`web.listen-addr`:__ Address to listen on for web interface and telemetry. (default \"0.0.0.0:9247\")\n* __`web.telemetry-path`:__ Path under which to expose metrics. (default \"/metrics\")\n\n## Useful Queries\n\nTODO\n\n## Using Docker\n\nYou can deploy this exporter using the [iamseth/sphinx_exporter](https://registry.hub.docker.com/u/iamseth/sphinx_exporter) Docker image.\n\nFor example:\n\n```bash\ndocker pull iamseth/sphinx_exporter\n\ndocker run -d -p 9247:9247 iamseth/sphinx_exporter -sphinx.host 192.168.1.100\n```\n\n## Installation\n\n```bash\nsudo useradd sphinx_exporter\nsudo curl -Ls \"https://raw.githubusercontent.com/iamseth/sphinx_exporter/master/examples/systemd/sphinx_exporter.service\" -o /etc/systemd/system/sphinx_exporter.service\nsudo curl -Ls \"https://raw.githubusercontent.com/iamseth/sphinx_exporter/master/examples/systemd/sysconfig.sphinx_exporter\" -o /etc/sysconfig/sphinx_exporter\nsudo curl -Ls \"https://github.com/iamseth/sphinx_exporter/releases/download/0.0.2/sphinx_exporter.linux-amd64\" -o /usr/sbin/sphinx_exporter\nsudo chmod 755 /usr/sbin/sphinx_exporter\nsudo sytemctl start sphinx_exporter\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamseth%2Fsphinx_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamseth%2Fsphinx_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamseth%2Fsphinx_exporter/lists"}