Git Product home page Git Product logo

Comments (8)

stefaneberl avatar stefaneberl commented on June 15, 2024 1

Hi @pahofmann,

thanks for the clarification.

OpenKit's API is more related to the OneAgent for iOS/Android API than to the JS Agent.

Please note that neither OpenKit nor OneAgent for iOS/Android are aware of session or action properties, only Dynatrace is.
From Agent/OpenKit perspective an Action.ReportValue() API call just sends a key-value pair.
In Dynatrace the user can configure if a reported key-value pair is handled as session property, as action property, or even as both. If the user does not explicitly configure it, it's only shown in Dynatrace as a reported value.

I hope this explains why the API will not change.

BR
Stefan

from openkit-dotnet.

stefaneberl avatar stefaneberl commented on June 15, 2024

Hi,

thank you very much for your improvement suggestion. I will discuss it with our product managers.

I got the information from the appropriate developers that it is possible to report session properties also on an Action.

In order to verify it, I have created a simple console application - see the relevant snippet below.

            var openKit = new DynatraceOpenKitBuilder(beaconURL, appID, deviceID)
                .Build();

            openKit.WaitForInitCompletion();

            using (var session = openKit.CreateSession())
            {
                session.IdentifyUser("stefan.eberl");

                using (var action = session.EnterAction("Startup"))
                {
                    action.ReportValue("long_value", 42);
                    action.ReportValue("string_value", "The quick brown fox jumps over the lazy dog");
                }
            }

            openKit.Shutdown();

After running the console app and waiting for Dynatrace to process the data, I can filter for session properties and I also do see them in the session details.

Nevertheless, I will leave this issue open, until I get a confirmation from PMs.

Best
Stefan

from openkit-dotnet.

heydenb avatar heydenb commented on June 15, 2024

Hey Stefan,

We understand that you are reporting custom values on an action. Which are indeed visible in Dynatrace in the details of the action, but not as session properties like we have in a web application.

Go to: User Sessions -> "Filtered By" box on the top -> String property

from openkit-dotnet.

stefaneberl avatar stefaneberl commented on June 15, 2024

Hi,

I've been testing the filter in the "User sessions" screen. Attached to this comment you can find a screenshot demonstrating that you can filter for Session Properties.

string_property_sessions

I have been informed by PM that this feature is not yet enabled in production. The screenshot is from a development environment.

from openkit-dotnet.

pahofmann avatar pahofmann commented on June 15, 2024

Hi Stefan,

is this in production yet? Are there plans to add a "proper way" to add user session attributes directly to the session?

BR
Patrick

from openkit-dotnet.

stefaneberl avatar stefaneberl commented on June 15, 2024

Hi Patrick,

yes, session properties are already in production.

Are there plans to add a "proper way" to add user session attributes directly to the session?
Could you please explain what you consider a "proper way"?

Thanks & BR
Stefan

from openkit-dotnet.

stefaneberl avatar stefaneberl commented on June 15, 2024

Hi @pahofmann,

any update on this topic?

Best regards,
Stefan

from openkit-dotnet.

pahofmann avatar pahofmann commented on June 15, 2024

Hi @stefaneberl,
I switched company and do no longer work with the customer my question was about unfortunately, so it fell of my radar - sorry.

By "proper way" I ment reporting user session properties on the session, like it is in the API of the JS Agent, not an individual action. Or will there be no differentiation between user action and session properties for OpenKit applications?

BR
Patrick

from openkit-dotnet.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.