|
15 | 15 | "INP", |
16 | 16 | "TTFB" |
17 | 17 | ], |
| 18 | + "cwv_thresholds": { |
| 19 | + "LCP": [{ "value": 2500, "label": "Good" }, { "value": 4000, "label": "Needs improvement" }], |
| 20 | + "FCP": [{ "value": 1800, "label": "Good" }, { "value": 3000, "label": "Needs improvement" }], |
| 21 | + "TTFB": [{ "value": 800, "label": "Good" }, { "value": 1800, "label": "Needs improvement" }], |
| 22 | + "INP": [{ "value": 200, "label": "Good" }, { "value": 500, "label": "Needs improvement" }], |
| 23 | + "CLS": [{ "value": 0.1, "label": "Good" }, { "value": 0.25, "label": "Needs improvement" }] |
| 24 | + }, |
18 | 25 | "lighthouse_subcategories": [ |
19 | 26 | "accessibility", |
20 | 27 | "best_practices", |
|
726 | 733 | "id": "geo_breakdown", |
727 | 734 | "title": "Core Web Vitals geographic breakdown", |
728 | 735 | "description": "Top geographies by number of origins, showing the percentage with good Core Web Vitals and individual metrics.", |
729 | | - "metric_options": [ |
730 | | - { "label": "Good Core Web Vitals", "value": "overall" }, |
731 | | - { "label": "Good LCP", "value": "LCP" }, |
732 | | - { "label": "Good INP", "value": "INP" }, |
733 | | - { "label": "Good CLS", "value": "CLS" }, |
734 | | - { "label": "Good FCP", "value": "FCP" }, |
735 | | - { "label": "Good TTFB", "value": "TTFB" } |
736 | | - ] |
| 736 | + "metric_labels": { |
| 737 | + "overall": "Good Core Web Vitals", |
| 738 | + "LCP": "Good LCP", |
| 739 | + "INP": "Good INP", |
| 740 | + "CLS": "Good CLS", |
| 741 | + "FCP": "Good FCP", |
| 742 | + "TTFB": "Good TTFB" |
| 743 | + } |
| 744 | + }, |
| 745 | + "cwv_distribution": { |
| 746 | + "id": "cwv_distribution", |
| 747 | + "title": "Core Web Vitals histograms", |
| 748 | + "description": "How origins are distributed for individual Core Web Vitals metrics. Green, orange, and red zones indicate good, needs improvement, and poor thresholds respectively.", |
| 749 | + "metric_config": { |
| 750 | + "LCP": { |
| 751 | + "label": "LCP", |
| 752 | + "bucketField": "loading_bucket", |
| 753 | + "originsField": "lcp_origins", |
| 754 | + "unit": "ms", |
| 755 | + "axis_label": "LCP (ms)", |
| 756 | + "step": 100 |
| 757 | + }, |
| 758 | + "FCP": { |
| 759 | + "label": "FCP", |
| 760 | + "bucketField": "loading_bucket", |
| 761 | + "originsField": "fcp_origins", |
| 762 | + "unit": "ms", |
| 763 | + "axis_label": "FCP (ms)", |
| 764 | + "step": 100 |
| 765 | + }, |
| 766 | + "TTFB": { |
| 767 | + "label": "TTFB", |
| 768 | + "bucketField": "loading_bucket", |
| 769 | + "originsField": "ttfb_origins", |
| 770 | + "unit": "ms", |
| 771 | + "axis_label": "TTFB (ms)", |
| 772 | + "step": 100 }, |
| 773 | + "INP": { |
| 774 | + "label": "INP", |
| 775 | + "bucketField": "inp_bucket", |
| 776 | + "originsField": "inp_origins", |
| 777 | + "unit": "ms", |
| 778 | + "axis_label": "INP (ms)", |
| 779 | + "step": 25 |
| 780 | + }, |
| 781 | + "CLS": { |
| 782 | + "label": "CLS", |
| 783 | + "bucketField": "cls_bucket", |
| 784 | + "originsField": "cls_origins", |
| 785 | + "unit": "", |
| 786 | + "axis_label": "CLS", |
| 787 | + "step": 0.05 |
| 788 | + } |
| 789 | + }, |
| 790 | + "zone_colors": { |
| 791 | + "light": { |
| 792 | + "good": "#0CCE6B", |
| 793 | + "needsImprovement": "#FFA400", |
| 794 | + "poor": "#FF4E42", |
| 795 | + "text": "#444", |
| 796 | + "gridLine": "#e6e6e6" |
| 797 | + }, |
| 798 | + "dark": { |
| 799 | + "good": "#0CCE6B", |
| 800 | + "needsImprovement": "#FBBC04", |
| 801 | + "poor": "#FF6659", |
| 802 | + "text": "#ccc", |
| 803 | + "gridLine": "#444" |
| 804 | + } |
| 805 | + } |
737 | 806 | } |
738 | 807 | } |
739 | 808 | }, |
|
0 commit comments