Configure synapse gateway

Follow the instructions below to publish analytics data to the analytics cloud via the API Gateway:

  1. Open the <API-M_HOME>/repository/conf/deployment.toml file and update the [apim.analytics] config segment as follows:

    [apim.analytics]
    enable = true
    config_endpoint = "https://analytics-event-auth.choreo.dev/auth/v1"
    auth_token = "<use token that you generate>"
    

    Note

    • This is the basic configuration that you need to publish analytics data to the analytics cloud.

    • If you need to change the following default values of the Worker Thread Count, Queue Size or Client Flushing Delay, see the Advanced configurations.
      Parameter Default Value
      worker.thread.count 1 thread
      queue.size 20000 requests
      client.flushing.delay 10 seconds

  2. Enter the on-premise token, which you obtained via the Choreo Portal in the Register your environment step, as the Auth token field.

  3. Restart the API Gateway.