Skip to content

Latest commit

 

History

History
43 lines (39 loc) · 1.24 KB

CONFIGURATION.md

File metadata and controls

43 lines (39 loc) · 1.24 KB

Summary

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]
  • Application
{
    "Name": "",
    "ApplicationId": "",
    "ApiKey": ""
}

Here's how the informations is displayed

image

Simple working example

{
  "Services": [
    {
      "Name": "Service",
      "Applications": [
        {
          "Name": "App",
          "ApplicationId": "DEMO_APP",
          "ApiKey": "DEMO_KEY"
        }
      ]
    }
  ],
  "Statusbar": {
    "Name": "Statusbar",
    "ApplicationId": "DEMO_APP",
    "ApiKey": "DEMO_KEY"
  }
}