fireUp

fun fireUp(configPath: String, host: String, serverSecret: String, applicationId: String, bypassSslValidation: Boolean = false, debugMode: Boolean)

Method to initialize the Engine with the configuration data and the flags available

Parameters

configPath

is the configuration path where the config file is located

host

The host address value of the collector server

serverSecret

The server secret of the personal Ametista backend instance

bypassSslValidation
  • Whether bypass the SSL certificates validation, this for example when is a self-signed the certificate USE WITH CAUTION

applicationId

The identifier of the application to collect its data

debugMode

concerns whether the Engine must send the requests but the server must not collect as real, this is the use-case of a not-production environment


fun fireUp(configData: ByteArray, host: String, serverSecret: String, applicationId: String, bypassSslValidation: Boolean = false, debugMode: Boolean)

Method to initialize the Engine with the configuration data and the flags available

Parameters

configData

are the config data as ByteArray

host

The host address value of the collector server

serverSecret

The server secret of the personal Ametista backend instance

bypassSslValidation
  • Whether bypass the SSL certificates validation, this for example when is a self-signed the certificate USE WITH CAUTION

applicationId

The identifier of the application to collect its data

debugMode

concerns whether the Engine must send the requests but the server must not collect as real, this is the use-case of a not-production environment