Loupe - Log - Monitor - Resolve
Loupe / Developer's Guide / For .NET Core / Agent Configuration / Developer's Guide - Server Configuration
In This Topic
    Developer's Guide - Server Configuration
    In This Topic

    The Server section configures an agent to communicate with a Loupe Server.  With it you can both provide the information necessary to connect to the server and whether you want sessions to be sent automatically in the background (a capability unique to the Agent / Server connection).

    Option Description Default Value Required
    Enabled True by default, disables server communication when false. true false
    UseGibraltarService When true, specifies that the Loupe Service should be used instead of a private Server. false false
    CustomerName The unique customer name when using the Loupe Service.  Does not apply when UseGibraltarService is false. "" false
    Server The full DNS name of the server where the Server is located. Only applies to a private Server. "" false
    UseSsl Indicates if the connection should be encrypted with SSL. Only applies to a private Server. false false
    Port An optional port number override for the server. Not required if the port is the traditional port (80 or 443). Only applies to a private Server. 0 false
    ApplicationBaseDirectory The virtual directory on the host for the private Server. Only applies to a private Server. "" false
    Repository The specific repository on the server to send the session to.  Only applies to a private Server running Enterprise Edition. "" false
    AutoSendSessions Indicates whether to automatically send session data to the server in the background. false false
    AutoSendOnError Indicates whether to automatically send data to the server when error or critical messages are logged. true false
    SendAllApplications Indicates whether to send data about all applications for this product to the server or just the current application. false false
    PurgeSentSessions Indicates whether to remove sessions that have been sent from the local repository once confirmed by the server. false false

    Example

    Server Configuration
    Copy Code
    {
      "Loupe": {
        "Publisher": {
          "ProductName": "AspNetCore2.Sandbox",
          "ApplicationName": "Test",
          "ApplicationType": "AspNet",
          "ApplicationVersionNumber": "1.0.1"
        },
        "Server": {
          "UseGibraltarService": true,
          "CustomerName": "Your_Service_Name",
          "AutoSendSessions": true,
          "SendAllApplications": true
        }
      } 
    }
    
    See Also