24 Commits

Author SHA1 Message Date
Chris Hostetter
8db2fdfa91 SOLR-13574: Fix many test and test-framework classes to not fail on After/AfterClass cleanup if assumptions fail in Before/BeforeClass setup
(cherry picked from commit 7e57d3a9d93e8acb77ce299f8c79d92df563b864)

Conflicts:
	solr/core/src/test/org/apache/solr/cloud/CleanupOldIndexTest.java
2019-06-27 10:39:24 -07:00
Chris Hostetter
b65fc0093b Fix SolrExporterIntegrationTest to not make assumptions about the JVM that are not true on windows
(cherry picked from commit 61279a2e79c485597c011b2fbe1acfbdb96475e3)
2019-05-30 11:59:43 -07:00
Shalin Shekhar Mangar
fe02666d54 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.

(cherry picked from commit 4571a2d66687cca6670885a94414c7a8c02c0bbc)
2019-04-22 12:19:50 +05:30
Shalin Shekhar Mangar
cedff86aaa 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.

(cherry picked from commit 6d0386c901b9d14c7464c7cf286d4a005eb9c72c)
2019-03-14 11:12:35 +05:30
Shalin Shekhar Mangar
02eb9d3440 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.

(cherry picked from commit 1f9c767aac76ac1618ccaffce42524e109335fe8)
2019-03-04 11:04:33 +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 6859acc450af0a2cafdf880ef6ef516c3d95db18.
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 4bfcbc5c605e2823c924dbe287a67b37d2dd0ca8.
2018-02-21 00:26:03 +09:00
koji
74793a9134 Revert "SOLR-11795: avoid using static class name for logger"
This reverts commit a31a8dae2e8a40c5c6a7c7a07ab4a7c27e4f7ed6.
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