-
Notifications
You must be signed in to change notification settings - Fork 0
HowTo: Adding a new Data Collection Service
Jérôme Oesch edited this page Feb 26, 2018
·
5 revisions
To add a new data collection service the following steps have to be undertaken:
- Create a new class implementing
IDataCollectior, similarly as it has been done in classInsightsRestApiDataCollector. The data that is retrieved has to be stored into instances of typeCollectedDataEntity. Important:CollectedDataEntity.Dependency.Typehas to equal a string describing the kind of message that arrived --> it will be used later to sort the message into its store. - The Data Collection Service has to be added to the
DataCollectionServiceProviderclass. In case the retrieved data matches an already implemented data model class (e.g.ConcreteMethodTelemetry), you are done here. If a new data model is needed, continue reading here: https://github.com/sealuzh/visual-studio-perfviz/wiki/HowTo:-Adding-a-new-Store-and-a-new-Data-Model