Last active
June 24, 2022 20:25
-
-
Save vanderhoop/bb55aade662981cc16a19b1f7f9ee7b1 to your computer and use it in GitHub Desktop.
Revisions
-
vanderhoop revised this gist
Jun 1, 2022 . No changes.There are no files selected for viewing
-
vanderhoop renamed this gist
Jun 1, 2022 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
vanderhoop created this gist
Jun 1, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,109 @@ { "viz": "timeseries", "requests": [ { "style": { "palette": "dog_classic", "type": "solid", "width": "thick" }, "type": "line", "formulas": [ { "alias": "LCP", "formula": "ewma_3(query0)" }, { "alias": "FCP", "formula": "ewma_3(query1)" } ], "response_format": "timeseries", "queries": [ { "search": { "query": "@type:view @view.url_path_group:\"/retros/?\"" }, "data_source": "rum", "compute": { "metric": "@view.largest_contentful_paint", "interval": 14400000, "aggregation": "pc75" }, "name": "query0", "indexes": [ "*" ], "group_by": [] }, { "search": { "query": "@type:view @view.url_path_group:\"/retros/?\"" }, "data_source": "rum", "compute": { "metric": "@view.first_contentful_paint", "interval": 14400000, "aggregation": "pc75" }, "name": "query1", "indexes": [ "*" ], "group_by": [] } ] }, { "style": { "palette": "dog_classic", "type": "solid", "width": "normal" }, "type": "line", "formulas": [ { "alias": "Load Abandonment Percentage", "formula": "(ewma_3(query0) / ewma_3(query1)) * 100" } ], "response_format": "timeseries", "on_right_yaxis": true, "queries": [ { "search": { "query": "view @view.url_path_group:\"/retros/?\" @action.name:\"Load Abandoned\"" }, "data_source": "rum", "compute": { "interval": 14400000, "aggregation": "count" }, "name": "query0", "indexes": [ "*" ], "group_by": [] }, { "search": { "query": "@view.url_path_group:\"/retros/?\" @type:view" }, "data_source": "rum", "compute": { "interval": 14400000, "aggregation": "count" }, "name": "query1", "indexes": [ "*" ], "group_by": [] } ] } ], "yaxis": { "include_zero": false } }