Skip to main content Skip to complementary content

Setting up Jolokia for metrics collection

For engine versions earlier than v2.12.4, set up Jolokia to enable the engine to access the Jolokia endpoint for metrics collection.

For engine version v2.12.4 and newer, skip this section. Talend Remote Engine is pre-configured to access the Jolokia endpoint, so no additional configuration is necessary.

Before you begin

  • You have renamed and saved it in a directory accessible to Talend Remote Engine.

Procedure

  1. Open <RemoteEngineInstallationDirectory>/etc/org.talend.ipaas.rt.dsrunner.metrics.collector.cfg.
  2. Add the following command lines to configure Jolokia URL and authentication:
    # Jolokia URL for TLS enabled microservices. Must contain string {ms.port}
    ms.metric.collection.jolokia.url=https://localhost:{ms.port}/jolokia
    # Jolokia configuration for basic authentication
    ms.metric.collection.jolokia.username=${MS_SECURITY_USER_NAME:#{null}}
    ms.metric.collection.jolokia.password=${MS_SECURITY_USER_PASSWORD:#{null}}
  3. Save the org.talend.ipaas.rt.dsrunner.metrics.collector.cfg file.
  4. If not already done, on the machine running your engine, set the following environment variables:
    MS_SECURITY_USER_NAME
    MS_SECURITY_USER_PASSWORD

What to do next

Deploy your custom application.properties file.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!