No data in Live Trail

Comments

5 comments

  • Bilal Al-Shahwany

    Hi Velina, just responded to you from support ticket, Best way to use Live Tail, click on the "Query" button, then run your app and fetch treatments from Split Evaluator, you should see the impressions showing up in Live Tail.

    Thanks

    Bilal

    0
    Comment actions Permalink
  • John Short

    I am not seeing the impressions either with the Query running. I think because the lifetime of the .NET SDK. I have integration tests that I want to see the impressions, but the client is destroyed before the updates to the Split.IO website are completed. Not sure the best practice to make sure the updates are completed.

    0
    Comment actions Permalink
  • Bilal Al-Shahwany

    Hi John, if you are running a .NET service, why do you have client.Destory()? Usually the .NET app will continue to serve treatments for users, the best practice is to have a global singleton factory object and re-use it every time you call getTreatment.

    Thanks

    Bilal

    0
    Comment actions Permalink
  • John Short

    I do have it run as a singleton. I am talking about during my C# unit tests that have a short life-time. I want to write an integration test that will create an impression log in the Split.IO website so that I can verify the log is what I am expecting. I execute the Destroy method because that was recommended to flush the cached impression logs to write to Split.IO website.

    0
    Comment actions Permalink
  • Bilal Al-Shahwany

    Thanks John, which version of .NET SDK are you using? client.Destroy() suppose to flush the impressions before disabling the client.

    As a workaround, you can set the ImpressionsRefreshRate config parameter to 1 second, then add a delay of 2-4 seconds after calling getTreatment() function, this should provide enough time for the http post to finish.

    I will test the latest SDK version to verify if Destroy flush the cache or not.

    Thansk

    Bilal

    0
    Comment actions Permalink

Please sign in to leave a comment.