Version: 10.2.1c and 10.2.1c SP3 |
Responder Overview > Implement Responder > Configure Responder > Responder Server > Telemetry Service Configuration |
Configuration of this service is not required, but it can be useful in gathering statistical information on the processing of Responder data. Follow the steps below to configure the Telemetry Service.
The Telemetry Service may reside on any server, but it does require installation (though not execution) of Responder Server. The Responder business services (e.g., Data Services, Prediction Services, etc.) do NOT need to be running on the same machine as the Telemetry Service, although they can be.
If you are using SQLite, you can skip to Step 7. If running SQLite, you can optionally change the location that this information is written to by updating Step 5.
SQLServer is not currently supported and SQLServer users should use SQLite (embedded database) for this functionality. |
Prior to configuration, an Oracle administrator should run the Telemetry implementation script. After running all other implementation scripts here, execute the Telemetry.sql script on the Responder schema by entering "@" followed by a path to the script (an example follows) and pressing Enter. This script creates the database tables required by Responder. SQLite users do not need to do this step prior to configuring Telemetry services.
@ C:\Program Files(x86)\Miner and Miner\Responder\Developer Resources\Implementation Scripts\Oracle\Addons\Telemetry.sql
Copy Code
|
|
---|---|
<appSettings> <add key="TelemetryService.ConnectionName" value="telemetry"/> <add key="TelemetryService.RotateSQLiteStorageOnStartup" value="true"/> <add key="TelemetryService.BatchMaxSize" value="2048"/> <add key="TelemetryService.BatchMaxTime" value="00:00:10"/> <add key="TelemetryService.BatchMaxThreads" value="3"/> <add key="TelemetryService.Exclude" value=""/> <add key="TelemetryService.PurgeThreshold" value=""/> </appSettings> <connectionStrings> <add name="telemetry" providerName="System.Data.SQLite" connectionString="Data Source=|DataDirectory|\telemetry.db;BinaryGuid=False"/> <add name="orce.optimus" providerName="System.Data.OracleClient" connectionString="Data Source=orce.Optimus;User ID=responder93r2;Password=responder93r2"/> <add name="orcg.vader" providerName="System.Data.OracleClient" connectionString="Data Source=orcg.vader;User ID=responder93r2;Password=responder93r2"/> </connectionStrings> |
Copy Code
|
|
---|---|
<appSettings> <add key="TelemetryService.Address" value="localhost:36745" /> <add key="TelemetryService.Enabled" value="false" /> |
Any client machine will need the following configuration for Telemetry:
Copy Code
|
|
---|---|
<appSettings> <add key="TelemetryService.Address" value="localhost:36745" /> <add key="TelemetryService.Enabled" value="false" /> |
Logging Events: In each of the Miner.Responder.DataServices.exe.config, Miner.Responder.ArchiveServices.exe.config, Miner.Responder.PredictionServices.exe.config, and Miner.Responder.QueryWindowsService.exe.config files, if you add the following to the configuration files of the services, all events that are normally logged through Log4Net (the ones that default to appearing in the Event Log) are logged to telemetry:
Copy Code
|
|
---|---|
<log4net> ... <appender name="TelemetryAppender" type="Miner.Responder.TelemetryCore.TelemetryLogger, Miner.Responder.TelemetryCore, Version=10.1.0.0, Culture=neutral,PublicKeyToken=196beceb052ed5dc"> <layout type="log4net.Layout.PatternLayout"> <param name="ConversionPattern" value="[%t] %c - %m" /> </layout> </appender> ... <root> <appender-ref ref="TelemetryAppender" /> |
SQLite Users Only: The <add key="TelemetryService.RotateSQLiteStorageOnStartup" value="false"/> appends the Telemetry.db file each time Telemetry runs and is not renamed. If this value is set to true, you then generate a new Telemetry.db file each time Telemetry runs. The previous file is renamed with a date and time stamp in the same database location.