Cloudwatch RUM - User location not tracked

0

Using Cloudwatch RUM we are trying to capture user location (from where the user is accessing the website) . I'm using embedded script for Cloudwatch RUM installation and created app monitor in us-east-1 region . We are successfully getting the page metrics but problem is under geolocation it mapped to US . I'm accessing my website from India .

Saranya
asked 9 months ago76 views
1 Answer
0

By using extended metrics in CloudWatch you can do one or both of the following:

  1. Send default CloudWatch RUM metrics to CloudWatch Evidently to be used in Evidently experiments. Only the PerformanceNavigationDuration, PerformanceResourceDuration, WebVitalsCumulativeLayoutShift, WebVitalsFirstInputDelay, and WebVitalsLargestContentfulPaint metrics can be sent to Evidently.

  2. Send any of the default CloudWatch RUM metrics to CloudWatch with additional dimensions so that the metrics give you a more fine-grained view. For example, you can see metrics specific to a certain browser that's used by your users, or metrics for users in a specific geolocation.

To send a metric with geolocation as a dimension, select one or more locations under Locations. (US & India or more)

Only the locations where this app monitor has reported metrics from will appear in the list to choose from.

To use the console to set up an app monitor and send RUM extended metrics to CloudWatch Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/.

  1. In the navigation pane, choose Application Signals, RUM.

  2. Choose List view and then choose the name of the app monitor that is to send the metrics.

  3. Choose the Configuration tab and then choose RUM extended metrics.

  4. Choose Send metrics.

  5. Select one or more metric names to send with additional dimensions.

  6. Select one or more factors to use as dimensions for these metrics. As you make your choices, the number of extended metrics that your choices create is displayed in Number of extended metrics.

  7. This number is calculated by multiplying the number of chosen metric names by the number of different dimensions that you create. This number represents how many custom metrics you are charged for. For more information about CloudWatch pricing, see Amazon CloudWatch Pricing.

  8. To send a metric with page ID as a dimension, choose Browse for page ID and then select the page IDs to use.

  9. To send a metric with device type as a dimension, choose either Desktop devices or Mobile and tablets.

  10. To send a metric with operating system as a dimension, select one or more operating systems under Operating system.

  11. To send a metric with browser type as a dimension, select one or more browsers under Browsers.

  12. To send a metric with geolocation as a dimension, select one or more locations under Locations.

Only the locations where this app monitor has reported metrics from will appear in the list to choose from.

  1. When you are finished with your choices, choose Send metrics.

(Optional) In the Extended metrics list, to create an alarm that watches one of the metrics, choose Create alarm in that metric's row.

For more detailed information: Use the link below. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-custom-and-extended-metrics.html

AWS
answered 3 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions