Skip to content

Choreo Connect Analytics Configuration Catalog

This document describes all the configurations related to analytics that are used in WSO2 Choreo Connect.

Instructions for use

Select the configuration sections, parameters, and values that are required for your use and add them to the config.toml file located in <CHOREO-CONNECT_HOME>/docker-compose/choreo-connect/conf/. See the example .toml file given below.

# This is an example .toml file.
[analytics]
  enabled = true

[analytics.enforcer.configProperties]
  authURL = "$env{analytics_authURL}"
  authToken = "$env{analytics_authToken}"

Enable Analytics

[analytics]
  enabled = false
[analytics] Required

Analytics configurations for Choreo Connect.

enabled

boolean Required

Default: false

Enable/Disable Analytics in Choreo Connect.

Adapter Configurations for Analytics

[analytics.adapter]
  bufferFlushInterval = "1s"
  bufferSizeBytes = 16384
  gRPCRequestTimeout = "20s"
[analytics.adapter]

bufferFlushInterval

string

Default: 1s

bufferSizeBytes

integer

Default: 16384

gRPCRequestTimeout

integer

Default: 20s

Enforcer configurations for Analytics

[analytics.enforcer.configProperties]
  authURL = "$env{analytics_authURL}"
  authToken = "$env{analytics_authToken}"
[analytics.enforcer.configProperties] Required

authURL

string Required

Default: $env{analytics_authURL}

authToken

string Required

Default: $env{analytics_authToken}

Enforcer Log Receiver Configurations for Analytics

[analytics.enforcer.LogReceiver]
  port = 18090
  maxMessageSize = 1000000000
  maxHeaderLimit = 8192
  keepAliveTime = 600
[analytics.enforcer.LogReceiver]

port

integer Required

Default: 18090

maxMessageSize

integer

Default: 1000000000

maxHeaderLimit

integer

Default: 8192

keepAliveTime

integer

Default: 600

Enforcer Log Receiver Pool Configurations for Analytics

[analytics.enforcer.LogReceiver.threadPool]
    coreSize = 10
    maxSize = 100
    #keep alive time of threads in seconds
    keepAliveTime = 600
    queueSize = 1000
[analytics.enforcer.LogReceiver.threadPool]

coreSize

integer

Default: 10

maxSize

integer Required

Default: 100

keepAliveTime

integer

Default: 600

queueSize

integer

Default: 1000