Skip to content
This repository was archived by the owner on Jan 14, 2021. It is now read-only.
This repository was archived by the owner on Jan 14, 2021. It is now read-only.

Instrumentation Setting issue with Csharp #19

@2015PM

Description

@2015PM

Hello

I tried to configure the Ibex-Dashboard, but i stocked during the instrumentation part. Configuring ibex dashboard in its basic with application insights, the necessary application id and application instrumentation key worked well. At the moment I can see how many users used the chatbot and on which channels. But to see the Intent Graph and map activity i need to configure the instrumentation part.

I develop on the newest version of BotBuilder.Instrumentation v 1.0.0.44, where Micosoft Bot Builder relies on the version 3.15.3. Moreover, I only use the LUIS Cognitive Services.
Another Source that i used to solve my issue was https://rahulrai.in/post/Visualize-Performance-of-Your-Bots-With-The-Ibex-Dashboard/

What i did so far:
0. State Management installed

  1. Installation of Install-Package BotBuilder.Instrumentation v 1.0.0.44

  2. web.config file adaption

  3. Initialize the bot builder instrumentation in Global.asax
    // public readonly BotFrameworkApplicationInsightsInstrumentation DefaultInstrumentation = (BotFrameworkApplicationInsightsInstrumentation) DependencyResolver.Current.DefaultInstrumentationWithCognitiveServices;

  4. I adapt my current code (first part):

    [Serializable]
    public class MyLuisModelAttribute : LuisModelAttribute
    {
    public MyLuisModelAttribute() : base(
    modelID: ConfigurationSettings.AppSettings.Get("LuisAppId"),
    subscriptionKey: ConfigurationSettings.AppSettings.Get("LuisAPIKey"),
    domain: ConfigurationSettings.AppSettings.Get("LuisAPIHostName"))
    {
    }
    }
    [MyLuisModel]
    [Serializable]
    public class RootLuisDialog : LuisDialog
    {
    //Gloable Variablen
    private double IntentScoreThreshold = 0.41;

     [LuisIntent("")]
     [LuisIntent("None")]
     public async Task None(IDialogContext context, LuisResult result)
     {
        await  context.PostAsync("Ich habe dich leider nicht verstanden.")
     }
    

    With:

    [Serializable]
    public class RootDialog : InstrumentedLuisDialog
    {
    public RootDialog(string luisModelId, string luisSubscriptionKey) : base(luisModelId, luisSubscriptionKey)
    {
    }
    // ...
    }

    After adapting these steps, nothing worked well. Can you give me an advice what the problem could be?

    Greetings

    Sandro

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions