Skip to content
Snippets Groups Projects
  1. Jan 14, 2021
    • Feanil Patel's avatar
      Only capture the top N cookies and cookie groups. · e5e2b7f7
      Feanil Patel authored
      Instead of adding new attributes for each cookie name we create
      consistent attribute names.  This should prevent any issues where we
      have too many different unique attribute names because the cookie names
      are unique to the user.
      
      We added two new settings to make the number of cookies and groups
      capture configurable:
      
      - TOP_N_COOKIES_CAPTURED
      - TOP_N_COOKIE_GROUPS_CAPTURED
      e5e2b7f7
    • Feanil Patel's avatar
      Drop setting attributes for the size of each cookie. · 1a1da89f
      Feanil Patel authored
      Setting a new metric per cookie name resulted in a lot of metrics
      getting added to New Relic.  In some cases, this was causing other
      more important metrics to not get registered.
      1a1da89f
    • Feanil Patel's avatar
      Add more cookie logging code. · 1ae50fc4
      Feanil Patel authored
      We want to be able to easily figure out what our biggest cookies are and we
      want to also group cookies by prefix because certain services create multiple
      cookies and then put unique identifiers in the cookie name.
      
      For example braze cookie names use the following pattern:
          ab.storage.<userId>
          ab.storage.<deviceId>
          ab.storage.<sessionId>
      
      In this case we want to group all the `ab` cookies together so we can see
      their total size.
      
      New attributes:
      
      cookies.<group_prefix>.group.size: The size of a group of cookies. For example
      	the sum of the size of all braze cookies would be the value of the
      	`cookies.ab.group.size` attribute.
      cookies.max.name: The name of the largest cookie sent by the user.
      cookies.max.size: The size of the largest cookie sent by the user.
      cookies.max.group.name: The name of the largest group of cookies. A single cookie
      	counts as a group of one for this calculation.
      cookies.max.group.size: The sum total size of all the cookies in the largest group.
      1ae50fc4
  2. Jan 04, 2021
  3. Dec 31, 2020
  4. Dec 30, 2020
  5. Dec 23, 2020
  6. Dec 22, 2020
  7. Dec 21, 2020
  8. Dec 18, 2020
  9. Dec 17, 2020
Loading