Commit Graph

22 Commits

Author SHA1 Message Date
Shalin Shekhar Mangar 4571a2d666 SOLR-13392: Add all solr dependencies to prometheus exporter classpath to make sure that it can start.
SOLR-13234 broke prometheus exporter startup from the startup scripts because there was a mismatch between the dependency list in ant/ivy and those actually added to the classpath by the script. This commit changes the script to add all solr dependencies to the classpath.
2019-04-22 12:18:56 +05:30
Shalin Shekhar Mangar 6d0386c901 SOLR-13234: Fix for turkish locales
WhenSolrExporterIntegrationTest.jvmMetrics ran on a JVM with the Turkish locale, (test seed: 62880F3B9F140C89). The JVM metric for terminated thread-count has a dotless-i e.g. termınated.
This causes the check for matching metrics to fail.

We could normalize the text in this case, however I think it's better to ensure we have the correct total number of JVM thread metrics rather than looking at Prometheus labels which maybe localized.

This closes #605.
2019-03-14 11:10:49 +05:30
Shalin Shekhar Mangar 1f9c767aac SOLR-13234: Prometheus Metric Exporter not threadsafe.
This changes the prometheus exporter to collect metrics from Solr on a fixed interval controlled by this tool and prevents concurrent collections. This change also improves performance slightly by using the cluster state instead of sending multiple HTTP requests to each node to lookup all the cores.

This closes #571.
2019-03-04 11:02:47 +05:30
Shalin Shekhar Mangar 46592e981f SOLR-12365: Fix compilation failure in prometheus-exporter 2019-01-06 09:34:22 +05:30
Jason Gerlowski c34f29a4b4 SOLR-13090: Add sysprop override for maxBooleanClauses 2019-01-02 10:58:32 -05:00
David Smiley c3887b351e SOLR-12586: Change ParseDateFieldUpdateProcessorFactory to use java.time.DateTimeFormatter, not Joda Time.
Note: slightly different pattern language!
Remove Joda Time.
Closes #428
2018-08-07 11:51:16 -04:00
Erick Erickson 93ae3669b5 SOLR-12008: Settle a location for the log4j2.xml file 2018-07-11 20:57:38 -07:00
Christine Poerschke f459bf4397 SOLR-12418: contrib/prometheus-exporter (private) logger rename 2018-06-28 14:44:18 +01:00
Jan Høydahl 30bf6b657f SOLR-12350: Do not use docValues as stored for _str (copy)fields in _default configset 2018-06-08 15:12:48 +02:00
koji ee2198d6bd SOLR-12202: Fix errors in solr-exporter.cmd 2018-05-02 13:59:13 +09:00
Varun Thacker 41a1cbe2c3 SOLR-7887: Fix logging filePattern to use solr.log.X format 2018-04-02 10:15:12 -07:00
Varun Thacker bd429347b1 SOLR-7887: Log4J2 upgrade fixes part 2 2018-03-26 16:09:04 -07:00
Varun Thacker bea6e2307b SOLR-7887: Log4J2 upgrade fixes 2018-03-26 11:32:03 -07:00
Erick Erickson 624d128b5e SOLR-7887: Upgrade Solr to use log4j2 -- log4j 1 now officially end of life 2018-03-25 19:16:09 -07:00
koji 122271f28d SOLR-11795: use README.txt rather than .md and add description for default values 2018-03-06 17:14:15 +09:00
koji 6d66fc04b2 SOLR-11795: Add Solr metrics exporter for Prometheus 2018-03-05 15:36:32 +09:00
koji 4e198a2737 Revert "SOLR-11795: Add Solr metrics exporter for Prometheus"
This reverts commit 6859acc450.
2018-02-24 10:38:06 +09:00
koji 6859acc450 SOLR-11795: Add Solr metrics exporter for Prometheus 2018-02-22 15:08:46 +09:00
koji 291248c750 Revert "SOLR-11795: Add Solr metrics exporter for Prometheus"
This reverts commit 4bfcbc5c60.
2018-02-21 00:26:03 +09:00
koji 74793a9134 Revert "SOLR-11795: avoid using static class name for logger"
This reverts commit a31a8dae2e.
2018-02-21 00:24:53 +09:00
koji a31a8dae2e SOLR-11795: avoid using static class name for logger 2018-02-20 23:29:28 +09:00
koji 4bfcbc5c60 SOLR-11795: Add Solr metrics exporter for Prometheus 2018-02-20 17:46:47 +09:00