API
All data gathered by Canarytrace is stored into Elasticsearch a you can use REST-API of Elasticsearech for getting / filtering raw data.
#
How to use apic.report-*
#
#
Get failed test stepsGET /c.report-*/_search
#
Get slowly test steps and exclude othersGET /c.report-*/_search
c.audit-*
#
#
Get audits which don't suit of Core Web VitalsGET /c.audit-*/_search
#
Get audits with performance score between 70 and 90GET /c.audit-*/_search
c.performance-entries-*
#
#
Get entries with higher ResponseTime than 1000msGET /c.performance-entries-*/_search
#
Explanation of query
size
return count of hitsuuid
,labels
,timestamp
,responseTime
,name
return value of this labelsquery.bool.must[0].range.timestamp.gte
search all docs which are 1h oldquery.bool.must[1].range.responseTime.gte
return all records that have higher responseTime than 1000ms
#
Explanation of result
hits.total
= count of hitshits.hits[]
= collection of hits_id
= is unique identificator of records
#
Get .css entries with higher than 100ms TTFBGET /c.performance-entries-*/_search
#
Get Hero Elements which start rendering after 2 secondsGET /c.performance-entries-*/_search
c.memory-*
#
#
Get all test steps for which it was measured more than 40MB used memory in a browserGET /c.request-log-*/_search
c.request-log-*
#
response.headers.content-encoding=gzip
in the response header#
Get all javascripts which do not contain GET /c.request-log-*/_search
#
Get all responses transfer over network is higher than 500kBGET /c.request-log-*/_search
c.coverage-audit-*
#
#
Get pages that don't use more than 25% of downloaded resourcesGET /c.coverage-audit-*/_search
c.smoke-title-*
#
#
Get smoke checks which returned wrong titleGET /c.smoke-title-*/_search
- Do you find mistake or have any questions? Please create issue, thanks 👍
- Have more questions? Contact us.