This documentation is for WSO2 Enterprise Integrator version 6.5.0 . View documentation for the latest release in the 6.x.x family and the latest release in the 7.x.x family.

All docs This doc

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Step 3: Starting the Micro Integrator

Open a terminal, navigate to the <MI_HOME>/bin/ directory, and execute the product start up script with the To use Prometheus, you need to first start the WSO2 Micro Integrator instance by passing the 'enablePrometheusApi' system property as shown below. This  This system property will connect the Micro Integrator to Prometheus, and enable the Micro Integrator to publish statistics to Prometheus.

  • When you run the Micro Integrator on Docker, start your Docker container by passing the 'enablePrometheusApi' system property:

    Code Block
    docker run -p 8290:8290 -e JAVA_OPTS="-DenablePrometheusApi=true" <Docker_Image_Name>
  • When you run the Micro Integrator on a VM, use the following command to enable the 'enablePrometheusApi' system property:

    Code Block
    sh -DenablePrometheusApi

Step 4: Viewing statistics

The stats can be viewed in following urls.