Custom insights

Custom insights are used to see how errors affects your business. You can for instance use insights to see how many servers, IoT devices or users that a specific error affects. Coderr will also recommend which errors to work with based on your custom insights.

In the above example, "Users" and "Servers" have been defined as custom insights.

Activating

To enable insights, use the AddPartition method in the client library to define it.

Err.Configuration.AddPartition(context => 
{
  // See how many installations are affected
  context.AddPartition("Installations", ConfigurationManager.AppSetting["InstallationId"]);

  // See number of affected users
  context.AddPartition("Users", Thread.CurrentPrincipal.Identity.Name);
});

The context parameter gives access to all collected data.

Err.Configuration.AddPartition(context =>
{
    var collection = context
            .ReporterContext
            .ContextCollections
            .FirstOrDefault(x => x.Name == "LoggedInUser");
    if (collection != null)
    {
        var userId = collection.Properties["Id"];
        context.AddPartition("Users", userId);
    }
});

(You can add your own context collections to every report)

Improving suggestions

You need to be an administrator to be able to make this configuration.

When you have completed the configuration above, Coderr have no knowledge about the number of installations or the number of users.

Therefore, prioritization of incidents are made upon the known total (i.e. based on all distinct values that we have received so far for all incidents).

If you would like to know see the impact based on the actual number of installations or users you need to go to the administration pages and specify those.

  1. Click on the cog in the top right menu
  2. Make sure that the correct application is selected in the top left menu
  3. Click on prioritization in the menu
  4. Click on "Create new"

Fill in the information about your partition.

Here is a sample for users:

Once done, try to report an exception and then click on "Suggestions" under the "Discover" menu.

Edit page at GitHub Create a documentation ticket Ask a question This page is generated using the open source project MarkdownWeb.