Skip to content
Monitoring Alfresco SOLR with Prometheus and Grafana
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
grafana
prometheus
solr-exporter
.gitattributes
LICENSE
README.md
docker-compose.yml

README.md

Alfresco SOLR Monitoring

Deployment template for Alfresco SOLR Monitoring using:

SOLR Metrics are used as source for prometheus-exporter.

Services

solr6:8983 << solr-exporter:9854 << prometheus-server:9090 << grafana-ui:3000
  • SOLR service is indexing Alfresco Repository contents
  • SOLR Exporter service is available from SOLR 7.3.0. This program gets metrics from SOLR and make them available for Prometheus
  • Prometheus service is an open source product used for event monitoring and alerting
  • Grafana service is an open source product used for analytics

Configuration files:

How to use this composition

Start Docker

Start docker and check the ports are correctly bound.

$ docker-compose up --build --force-recreate
$ docker ps --format '{{.Names}}\t{{.Image}}\t{{.Ports}}'

proxy_1                  alfresco/acs-community-ngnix:1.0.0       80/tcp, 0.0.0.0:8080->8080/tcp

alfresco_1               alfresco/alfresco-content-repository-community:6.2.0-A11    8080/tcp
libreoffice_1            alfresco/alfresco-libreoffice:2.1.0      0.0.0.0:8092->8090/tcp
imagemagick_1            alfresco/alfresco-imagemagick:2.1.0      0.0.0.0:8091->8090/tcp
alfresco-pdf-renderer_1  alfresco/alfresco-pdf-renderer:2.1.0     0.0.0.0:8090->8090/tcp
transform-misc_1         alfresco/alfresco-transform-misc:2.1.0   0.0.0.0:8094->8090/tcp
tika_1                   alfresco/alfresco-tika:2.1.0             0.0.0.0:8093->8090/tcp

postgres_1               postgres:11.4                            0.0.0.0:5432->5432/tcp
activemq_1               alfresco/alfresco-activemq:5.15.8        0.0.0.0:5672->5672/tcp, ...

share_1                  alfresco/alfresco-share:6.2.0            8000/tcp, 8080/tcp

solr6_1                  alfresco/alfresco-search-services:1.4.0  0.0.0.0:8083->8983/tcp
solr-exporter_1          solr:7.3.0                               8983/tcp, 0.0.0.0:9854->9854/tcp
prometheus-server_1      prom/prometheus                          0.0.0.0:9090->9090/tcp
grafana-ui_1             grafana/grafana                          0.0.0.0:3000->3000/tcp

Access

Use the following username/password combination to login in Alfresco services.

  • User: admin
  • Password: admin

Alfresco and related web applications can be accessed from the below URIs when the servers have started.

http://localhost:8080/share         - Alfresco Share WebApp
http://localhost:8080/alfresco      - Alfresco Repository (REST)
http://localhost:8083/solr          - Alfresco Search Services (Basic Auth, admin/admin by default)

Solr Exporter and Prometheus services are provided without authentication:

http://localhost:9854     - Solr Exporter metrics
http://localhost:9090     - Prometheus UI

Use the following username/password combination to login in Grafana UI.

  • User: admin
  • Password: secret
http://localhost:3000

Grafana Dashboard

Once everything is running, access to Grafana UI.

http://localhost:3000

Your Solr Dashboard will be available in Dashboards section.

You can’t perform that action at this time.