12-08-2023 12:03 PM
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
12-11-2023 07:39 AM
I have created a sample project in:
https://github.com/aborroy/alfresco-transform-service-prometheus
12-11-2023 03:25 AM
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']
12-11-2023 07:39 AM
I have created a sample project in:
https://github.com/aborroy/alfresco-transform-service-prometheus
Explore our Alfresco products with the links below. Use labels to filter content by product module.