How to collect rapidminer aihub metrics to prometheus?

jack_rap
jack_rap New Altair Community Member
edited November 5 in Community Q&A
Hi guys, I have been trying to configure RapidMiner Ai hub server with Prometheus to monitor and collect metrics. I was following the steps from the RapidMiner Ai hub documentation for monitoring. I have added the scrape configs as mentioned in the documentation and also added SPRING_PROFILES_ACTIVE=default,webapi, prometheus in the .env file. But in prometheus, the target is down. It shows 404 or 502 error.
- job_name: aihubs
  scrape_interval: 30s
  scrape_timeout: 10s
  metrics_path: /system/prometheus
  static_configs:
    - targets: ['${PROMETHEUS_ADDRESS}']
      labels:
        instance: 'aihub1'