Class AppMonitorAppMonitorConfiguration


  • public final class AppMonitorAppMonitorConfiguration
    extends java.lang.Object
    • Method Detail

      • allowCookies

        public java.util.Optional<java.lang.Boolean> allowCookies()
        Returns:
        If you set this to `true`, RUM web client sets two cookies, a session cookie and a user cookie. The cookies allow the RUM web client to collect data relating to the number of users an application has and the behavior of the application across a sequence of events. Cookies are stored in the top-level domain of the current page.
      • enableXray

        public java.util.Optional<java.lang.Boolean> enableXray()
        Returns:
        If you set this to `true`, RUM enables X-Ray tracing for the user sessions that RUM samples. RUM adds an X-Ray trace header to allowed HTTP requests. It also records an X-Ray segment for allowed HTTP requests.
      • excludedPages

        public java.util.List<java.lang.String> excludedPages()
        Returns:
        A list of URLs in your website or application to exclude from RUM data collection.
      • favoritePages

        public java.util.List<java.lang.String> favoritePages()
        Returns:
        A list of pages in the CloudWatch RUM console that are to be displayed with a "favorite" icon.
      • guestRoleArn

        public java.util.Optional<java.lang.String> guestRoleArn()
        Returns:
        The ARN of the guest IAM role that is attached to the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
      • identityPoolId

        public java.util.Optional<java.lang.String> identityPoolId()
        Returns:
        The ID of the Amazon Cognito identity pool that is used to authorize the sending of data to RUM.
      • includedPages

        public java.util.List<java.lang.String> includedPages()
        Returns:
        If this app monitor is to collect data from only certain pages in your application, this structure lists those pages.
      • sessionSampleRate

        public java.util.Optional<java.lang.Double> sessionSampleRate()
        Returns:
        Specifies the percentage of user sessions to use for RUM data collection. Choosing a higher percentage gives you more data but also incurs more costs. The number you specify is the percentage of user sessions that will be used. Default value is `0.1`.
      • telemetries

        public java.util.List<java.lang.String> telemetries()
        Returns:
        An array that lists the types of telemetry data that this app monitor is to collect. Valid values are `errors`, `performance`, and `http`.