kevinobee / Sitecore.Glimpse

A Glimpse extension that provides runtime web diagnostics for Sitecore sites.
Apache License 2.0
20 stars 8 forks source link

History tag shows list of extranet\Anonymous #11

Open kevinobee opened 10 years ago

kevinobee commented 10 years ago

When on the Glimpse History tab a list of extranet\Anonymous requests builds up.

image

Consider masking these requests out from the glimpse logging.

kevinobee commented 10 years ago

Request:

Request URL:http://sc66contrib/Glimpse.axd?n=glimpse_history&hash=32def369
Request Method:GET
Status Code:200 OK

Request headers:

GET /Glimpse.axd?n=glimpse_history&hash=32def369 HTTP/1.1
Host: sc66contrib
Connection: keep-alive
Accept: */*
Glimpse-Parent-RequestID: 0b368cb3-1532-4ea1-9602-82b4ea42de05
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)                 Chrome/29.0.1547.66 Safari/537.36
Content-Type: application/json
DNT: 1
Referer: http://sc66contrib/sample
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8,en-GB;q=0.6
Cookie: glimpsePolicy=On; ASP.NET_SessionId=njbkqrs1xqlqrrqyednf14ca; glimpseId=extranet\Anonymous; glimpseOptions=%7B%22glimpsePolicy%22%3Anull%7D; website#lang=en

Response body:

{"extranet\Anonymous":[{"clientId":"extranet\Anonymous","dateTime":"09/15/2013 05:19:34","duration":2092.23,"parentRequestId":null,"requestId":"f4998122-4577-4f65-b91c-ef4c413e93d4","isAjax":false,"method":"GET","uri":"http://sc66contrib/sample","contentType":"text/html","statusCode":200,"userAgent":"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36"},{"clientId":"extranet\Anonymous","dateTime":"09/15/2013 05:27:46","duration":52.76,"parentRequestId":null,"requestId":"0b368cb3-1532-4ea1-9602-82b4ea42de05","isAjax":false,"method":"GET","uri":"http://sc66contrib/sample","contentType":"text/html","statusCode":200,"userAgent":"Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.66 Safari/537.36"}]}

kevinobee commented 10 years ago

Same behaviour as described in Glimpse Fix #459

Will look at the ordering of modules in the web.config

kevinobee commented 10 years ago

Here's what the output should look like:

image