2. 22
Monitoring Alfresco SOLR with Prometheus and Grafana
• Building Components
• Docker Compose demo
• Creating new Metrics and Dashboards
• Shard Support
• Deployment considerations
Contents
4. 4
Map of Components
Alfresco
Search Service
1.0 to 1.4+
SOLR 6.6.x
Prometheus
Exporter
SOLR 7.3.0+
SOLR Metrics
Prometheus
Server
2.x
Grafana
UI
6.x
8083
9854 9090
3000
Exporter
Config
XML
JOB
YAML
Dashboard
JSON
5. 5
SOLR Metrics
Classes of meters
• counters - simply count events. Single long value.
• meters - additionally compute rates of events.
Provide a count and mean, 1-, 5-, and 15-minute
rates.
• histograms - calculate approximate distribution of
events according to their values. Provide the
following approximate statistics, with a similar
exponential decay as above: mean (arithmetic
average), median, maximum, minimum, standard
deviation, and 75th, 95th, 98th, 99th and 999th
percentiles.
• timers - measure the number and duration of events.
Count and histogram of timings.
• gauges - offer instantaneous reading of a current
value.
http://localhost:8083/solr/admin/metrics
Metric Registries
19. 1919
Shard is not supported
• Prometheus Exporter only
supports ZooKeeper
(SolrCloud)
• Alternatively several
Prometheus Exporter
endpoints can be configured,
one for each SOLR ShardX