• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home
  • Public Forums
  • Dynatrace
  • Dynatrace Open Q&A
avatar image
Question by Babar Q. · Oct 09, 2019 at 08:41 AM · request attributes user tagging

User Tag - Server Side Request Attribute

Dear All,

The request attribute works on the server-side to capture the User ID/Name but the same is not working for the user tagging.

  1. Installed Dynatrace OneAgent (1.165.238)
  2. Supported Dynatrace OneAgent (1.162)
  3. No adaptive policy issue.

What could be the reason?

Regards,

Babar

user-tag-req-attribute.jpg (76.8 KiB)
Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

3 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Sebastian K. · Oct 09, 2019 at 05:20 PM

Babar, do you see this request attribute when you drill down to pure path from user action?

Sebastian

Comment

People who like this

0 Show 4 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Babar Q. · Oct 10, 2019 at 05:52 AM 0
Share

Hello @sebastian k.

After reviewing the below screenshot, please correct me if I misunderstood your question.

Regards,

Babar

1570686635560.png (4.4 KiB)
1570687575967.png (35.7 KiB)
1570687680105.png (35.5 KiB)
avatar image Sebastian K. Babar Q. · Oct 10, 2019 at 07:36 AM 0
Share

Hi I was thinking about missing purepath for some of user Session because of dynatrace purepath limit per minute. But in such case only some of sessions should stay untagged.

Sebastian

avatar image Babar Q. Sebastian K. · Oct 10, 2019 at 07:43 AM 0
Share

Hello @sebastian k.

How to rectify this situation?

Regards,

Babar

avatar image Sebastian K. Babar Q. · Oct 10, 2019 at 08:05 AM 0
Share

Wrong path :) There has to be different issue.

Sebastian

avatar image

Answer by Radu S. · Oct 09, 2019 at 12:46 PM

Hi Babar,

What version is your cluster?

As I can see on the Preview link, this hit GA only in v 1.175.

Best regards,

Radu

Comment

People who like this

0 Show 9 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Babar Q. · Oct 09, 2019 at 01:54 PM 0
Share

Hello @Radu S.

Cluster Version 1.176.133.20190920-140938

Regards,

Babar

avatar image Radu S. Babar Q. · Oct 10, 2019 at 07:48 AM 0
Share

Thank you for the reply.
On these PurePaths which have the User ID, can you do a backtrace all the way to the RUM Application?

avatar image Babar Q. Radu S. · Oct 10, 2019 at 08:07 AM 0
Share

Hello @Radu S.

Yes, tagged actions are reaching to the RUM application.

I can see the following information:

Regards,

Babar

1570694666410.png (107.2 KiB)
1570694696279.png (90.9 KiB)
avatar image Radu S. Babar Q. · Oct 10, 2019 at 08:32 AM 0
Share

Hi Babar,

That does not seem to go to a RUM-enabled application. Your backtrace has only one node (the service which you started the backtrace). Hence why you're seeing "Requests to ..." but not "Requests from ...". Also, the last node of the backtrace (which needs to be a RUM-enabled application) needs to show User Actions.

Only User Actions are mapped to a User Session. So the problem is that the PurePaths where you are collecting User ID are not actually directly associated with any User Action of a RUM-enabled application and so it's impossible for us to use that attribute to tag sessions.

Here's a visual example:

1570696329043.png (94.8 KiB)
avatar image Babar Q. Radu S. · Oct 10, 2019 at 08:49 AM 0
Share

Hello @Radu S.

Is this related or our request attribute configuration on the Dynatrace or something related to application design?

Dynamic requests are tagged with the request attribute tag.

How to make it work?

Regards,

Babar

1570698451169.png (25.9 KiB)
avatar image Radu S. Babar Q. · Oct 10, 2019 at 09:07 AM 0
Share

Hi @Babar Q.

The request attribute is configured correctly, because we are capturing it. However I am unsure your application is monitored correctly.

You need to ensure the following:

  • When you go to Applications, your application is listed there. This means OneAgent is correctly injecting the JS for RUM tracking and we are getting user sessions and user actions.
  • From the Applications page, click on the application, then click the tile which says "Services" then click on "view service flow" from below:
  • The request attribute you configured must be present on one of the services that appear in the service flow.

If any of these steps don't work, you need to resolve it.

From what I can see, your backtrace didn't lead to an Application. So that's a good place to start understanding if you're monitoring your application correctly.


1570698230809.png (89.6 KiB)
avatar image Babar Q. Radu S. · Oct 14, 2019 at 06:25 AM 0
Share

Hello @Radu S.

No services detected.

I can see the request attributes (in the form of tag) in the dynamic requests.

One more thing to share that till now we did not instrument the Web Servers which will be instrumented soon.

Regards,

Babar

1571033888103.png (32.8 KiB)
1571034276889.png (17.6 KiB)
1571034307124.png (17.3 KiB)
avatar image Radu S. Babar Q. · Oct 14, 2019 at 08:36 AM 0
Share

Then you've found your problem.

Unless Application is tied to Service which has Requests with the attribute, you cannot use that attribute to tag your sessions because we have no idea what sessions those requests belong to.

Possibly when you're going to instrument the web servers, and the RUM injection will be done directly via OneAgent, then your attribute can be used for tagging sessions.

avatar image Babar Q. Radu S. · Oct 22, 2019 at 06:02 AM 0
Share

Hello @Radu S.

I wanted to share with you that after instrumenting the web servers, the request attribute is working perfectly fine for the user tagging.

Regards,

Babar

avatar image

Answer by Akshay M. · Oct 09, 2019 at 09:44 AM

Please check if you have correctly mentioned where the attribute is stored, and steps are correctly configured.
Also, please share screenshot of the configuration for review.

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Babar Q. · Oct 09, 2019 at 10:21 AM 0
Share

Hello @Akshay M.

The configuration is done correctly and I can see the Users ID in the request attribute on the server-side.

Regards,

Babar

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

29 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

in AppMon we have visit tags defines in all of our applications, what is the equivalent in Dynatrace

.Net method - Request Attribute as User Tag

User tagging from Header Attribute

How to extract value from CSS Selector element

Request attribute for databases

Forum Tags

mobile monitoring dotnet iis chat kubernetes servicenow amazon web services feedback mysql mainframe application rules rest api cassandra dashboard oneagent sdk cmc application monitoring openkit smartscape request attributes monitoring developer community user tagging log monitoring services ufo activegate auto-detection high five award uem webserver usql iib test automation license ios news migration management zones ibm mq web services notifications sso host monitoring knowledge sharing reports browser monitors java hybris sap vmware maintenance window user action naming javascript appmon ai availability tipstricks automation extensions diagnostic tools session replay permissions search davis assistant auto-update faq documentation problem detection http monitors easytravel apdex network docker tags and metadata cloud foundry google cloud platform synthetic monitoring process groups account usability dynatrace saas gui paas openshift key user actions administration production user actions postgresql synthetic locations upgrade oneagent security Dynatrace Managed user management python technologies mongodb openstack user session monitoring continuous delivery citrix configuration alerting performance monitoring NGINX action naming linux nam installation error reporting database mission control apache mobileapp RUM php azure purepath davis scripting aix nodejs android
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A