[ https://issues.apache.org/jira/browse/SOLR-14957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Houston Putman updated SOLR-14957: ---------------------------------- Description: Currently the Solr docker image contains the prometheus exporter script {{bin/solr-exporter}}, and this script is executable. Therefore the prometheus exporter _can_ be run via the Solr docker image. However the user has to know the location of this script when trying to run the prometheus-exporter. It would be best if the {{prometheus-exporter/bin}} were added to the PATH, so that the prometheus exporter could be run through the following: {code:bash} docker run solr solr-exporter -b http://host.docker.internal:8983/solr {code} Discussion at [docker-solr#307|https://github.com/docker-solr/docker-solr/issues/307] was: Currently the Solr docker image contains the prometheus exporter script {{bin/solr-exporter}}, and this script is executable. Therefore the prometheus exporter _can_ be run via the Solr docker image. However the user has to know the location of this script when trying to run the prometheus-exporter. It would be best if the {{prometheus-exporter/bin}} were added to the PATH, so that the prometheus exporter could be run through the following: {code:bash} docker run solr solr-exporter -b http://host.docker.internal:8983/solr {code} > Add Prometheus Exporter bin to PATH in docker image > --------------------------------------------------- > > Key: SOLR-14957 > URL: https://issues.apache.org/jira/browse/SOLR-14957 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Components: contrib - prometheus-exporter, Docker > Affects Versions: master (9.0) > Reporter: Houston Putman > Assignee: Houston Putman > Priority: Major > > Currently the Solr docker image contains the prometheus exporter script > {{bin/solr-exporter}}, and this script is executable. Therefore the > prometheus exporter _can_ be run via the Solr docker image. > However the user has to know the location of this script when trying to run > the prometheus-exporter. It would be best if the {{prometheus-exporter/bin}} > were added to the PATH, so that the prometheus exporter could be run through > the following: > {code:bash} > docker run solr solr-exporter -b http://host.docker.internal:8983/solr > {code} > Discussion at > [docker-solr#307|https://github.com/docker-solr/docker-solr/issues/307] -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org