Appysights need a configuration file to know how to display and where to fetch the informations.
This configuration file is a json representation of Configuration.cs with .sights
extension
There's two main concepts Service
and Application
- Service
- A Service is an entity with a name and a collection of
Application
[Max 3]
- A Service is an entity with a name and a collection of
- Application
- An
Application
is where you set the ApplicationId and ApiKey of the desired Application Insights.
- An
{
"Name": "",
"ApplicationId": "",
"ApiKey": ""
}
{
"Services": [
{
"Name": "Service",
"Applications": [
{
"Name": "App",
"ApplicationId": "DEMO_APP",
"ApiKey": "DEMO_KEY"
}
]
}
],
"Statusbar": {
"Name": "Statusbar",
"ApplicationId": "DEMO_APP",
"ApiKey": "DEMO_KEY"
}
}