Hello,
I am working with Alfresco Transform Service, and I have seen on the documentation that it is possible to monitor the service using prometheus. What is the endpoint that gives the metrics to ATS ?
I know in ACS we can achieve this by adding the below lines to "alfresco-global.properties", the metrics can be fetched using the endpoint "/alfresco/s/prometheus". Is there anyway to fetch only the stats (CPU usage, RAM usage) from ATS ?
metrics.enabled=true
metrics.dbMetricsReporter.enabled=true
metrics.dbMetricsReporter.query.enabled=true
metrics.dbMetricsReporter.query.statements.enabled=true
metrics.jvmMetricsReporter.enabled=true
metrics.restMetricsReporter.enabled=true
metrics.restMetricsReporter.path.enabled=true
Solved! Go to Solution.
I have created a sample project in:
https://github.com/aborroy/alfresco-transform-service-prometheus
ATS uses default Spring Boot Actuator feature.
The simplest way to get Prometheus configured is using default endpoint in prometheus.yml configuration.
scrape_configs: - job_name: 'router' scrape_interval: 5s metrics_path: /actuator/prometheus static_configs: - targets: ['router:8095']
I have created a sample project in:
https://github.com/aborroy/alfresco-transform-service-prometheus
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.