crossoft.blogg.se

Prometheus jmx exporter cassandra
Prometheus jmx exporter cassandra












The security configuration can be injected into solr-exporter using environment variables in a fashion similar to other clients using SolrJ. Your SolrCloud might be secured by measures described in Securing Solr. CLASSPATH_PREFIX Location of extra libraries to load when starting the solr-exporter.Īll command line parameters are able to be provided via environment variables when using the. ZK_CREDS_AND_ACLS Credentials for connecting to a ZooKeeper host that is protected with ACLs.įor more information on what to include in this variable, refer to the section ZooKeeper Access Control or the example below. GC_TUNE Custom Java garbage collection settings. This is ignored if JAVA_HEAP is provided. JAVA_MEM Custom java memory settings (e.g., -Xms1g -Xmx2g). JAVA_HEAP Sets the initial ( Xms) and max ( Xmx) Java heap size. bin scripts provided with the Prometheus Exporter support the use of custom java options through the following environment variables: The Solr’s metrics exposed by solr-exporter can be seen at: Environment Variable Options The freshness of the metrics can be improved by reducing the scrape interval but do not set it to a very low value because metrics collection can be expensive and can execute arbitrary searches to ping Solr. These metrics are cached and returned regardless of how frequently prometheus is configured to pull metrics from this tool. The solr-exporter collects metrics from Solr every few seconds controlled by this setting. s, -scrape-interval, $SCRAPE_INTERVAL The number of seconds between collecting metrics from Solr. Request latency can be improved by increasing the number of threads. The solr-exporter creates thread pools for requests to Solr. n, -num-threads, $NUM_THREADS The number of threads. The default is contrib/prometheus-exporter/conf/solr-exporter-config.xml. f, -config-file, $CONFIG_FILE The path to the configuration file that defines the Solr metrics to read. If neither the -b parameter nor the -z parameter are defined, the -b parameter default is used. If you are running Solr in Standalone mode, do not specify this parameter. If neither the -b parameter nor the -z parameter are defined, the default is -b -z, -zkhost, $ZK_HOST The ZooKeeper connect string (such as localhost:9983, or localhost:2181/solr) when Solr is running in SolrCloud mode. If you are running Solr in SolrCloud mode, do not specify this parameter. b, -baseurl, $SOLR_URL The Solr base URL (such as when Solr is running in Standalone mode. It can be any port not already in use on your server. This port will be used to configure Prometheus. p, -port, $PORT The port where Prometheus will listen for new data. H, -help Displays command line help and usage.














Prometheus jmx exporter cassandra