Comments (8)
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.
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.
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.
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.
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.
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.
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.
Hi @pahofmann,
any update on this topic?
Best regards,
Stefan
from openkit-dotnet.
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)
- Use OpenKit through proxy HOT 5
- All sessions have same cookie identifier HOT 4
- Ignoring SSL certificates HOT 2
- OpenTracing / OpenTelemetry support HOT 1
- Session creation fails HOT 8
- User session crash on DoLeaveAction(Boolean discardData) HOT 8
- WCF with TCP binding HOT 1
- Install/Update with Nuget HOT 2
- The latest versions does not seem to work with AppMon HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openkit-dotnet.