{
    "widgets": [
        {
            "height": 6,
            "width": 6,
            "y": 0,
            "x": 0,
            "type": "metric",
            "properties": {
                "metrics": [
                    [ { "expression": "100*m1/(m1+m2)", "label": "Block Accept Rate", "id": "e1", "region": "us-east-1" } ],
                    [ "AWS/CodeWhisperer", "InvocationCount", "SuggestionState", "ACCEPT", "CompletionType", "BLOCK", "ProgrammingLanguage", "python", { "id": "m1", "visible": false, "region": "us-east-1" } ],
                    [ "AWS/CodeWhisperer", "InvocationCount", "SuggestionState", "REJECT", "CompletionType", "BLOCK", "ProgrammingLanguage", "python", { "id": "m2", "visible": false, "region": "us-east-1" } ]
                ],
                "view": "gauge",
                "region": "us-east-1",
                "stat": "Sum",
                "period": 300,
                "title": "Python",
                "setPeriodToTimeRange": true,
                "yAxis": {
                    "left": {
                        "min": 0,
                        "max": 100
                    }
                }
            }
        },
        {
            "height": 6,
            "width": 6,
            "y": 0,
            "x": 6,
            "type": "metric",
            "properties": {
                "metrics": [
                    [ { "expression": "100*m1/(m1+m2)", "label": "Block Accept Rate", "id": "e1", "region": "us-east-1" } ],
                    [ "AWS/CodeWhisperer", "InvocationCount", "SuggestionState", "ACCEPT", "CompletionType", "BLOCK", "ProgrammingLanguage", "java", { "id": "m1", "visible": false, "region": "us-east-1" } ],
                    [ "...", "REJECT", ".", ".", ".", ".", { "id": "m2", "visible": false, "region": "us-east-1" } ]
                ],
                "view": "gauge",
                "region": "us-east-1",
                "stat": "Sum",
                "period": 300,
                "title": "Java",
                "setPeriodToTimeRange": true,
                "yAxis": {
                    "left": {
                        "min": 0,
                        "max": 100
                    }
                }
            }
        },
        {
            "height": 6,
            "width": 6,
            "y": 0,
            "x": 12,
            "type": "metric",
            "properties": {
                "metrics": [
                    [ { "expression": "100*m1/(m1+m2)", "label": "Block Accept Rate", "id": "e1", "region": "us-east-1" } ],
                    [ "AWS/CodeWhisperer", "InvocationCount", "SuggestionState", "ACCEPT", "CompletionType", "BLOCK", "ProgrammingLanguage", "javascript", { "id": "m1", "visible": false, "region": "us-east-1" } ],
                    [ "...", "REJECT", ".", ".", ".", ".", { "id": "m2", "visible": false, "region": "us-east-1" } ]
                ],
                "view": "gauge",
                "region": "us-east-1",
                "stat": "Sum",
                "period": 300,
                "title": "JavaScript",
                "setPeriodToTimeRange": true,
                "yAxis": {
                    "left": {
                        "min": 0,
                        "max": 100
                    }
                }
            }
        },
        {
            "height": 6,
            "width": 6,
            "y": 0,
            "x": 18,
            "type": "metric",
            "properties": {
                "metrics": [
                    [ { "expression": "100*m1/(m1+m2)", "label": "Block Accept Rate", "id": "e1", "region": "us-east-1" } ],
                    [ "AWS/CodeWhisperer", "InvocationCount", "SuggestionState", "ACCEPT", "CompletionType", "BLOCK", "ProgrammingLanguage", "typescript", { "id": "m1", "visible": false, "region": "us-east-1" } ],
                    [ "...", "REJECT", ".", ".", ".", ".", { "id": "m2", "visible": false, "region": "us-east-1" } ]
                ],
                "view": "gauge",
                "region": "us-east-1",
                "stat": "Sum",
                "period": 300,
                "title": "TypeScript",
                "setPeriodToTimeRange": true,
                "yAxis": {
                    "left": {
                        "min": 0,
                        "max": 100
                    }
                }
            }
        },
        {
            "height": 6,
            "width": 6,
            "y": 6,
            "x": 0,
            "type": "metric",
            "properties": {
                "metrics": [
                    [ { "expression": "100*m1/(m1+m2)", "label": "Line Accept Rate", "id": "e1", "region": "us-east-1" } ],
                    [ "AWS/CodeWhisperer", "GeneratedLineCount", "SuggestionState", "ACCEPT", "CompletionType", "LINE", "ProgrammingLanguage", "python", { "id": "m1", "visible": false } ],
                    [ ".", "InvocationCount", ".", "REJECT", ".", ".", ".", ".", { "id": "m2", "visible": false } ]
                ],
                "view": "gauge",
                "region": "us-east-1",
                "stat": "Sum",
                "period": 300,
                "title": "Python",
                "setPeriodToTimeRange": true,
                "yAxis": {
                    "left": {
                        "min": 0,
                        "max": 100
                    }
                }
            }
        },
        {
            "height": 6,
            "width": 6,
            "y": 6,
            "x": 6,
            "type": "metric",
            "properties": {
                "metrics": [
                    [ { "expression": "100*m1/(m1+m2)", "label": "Line Accept Rate", "id": "e1", "region": "us-east-1" } ],
                    [ "AWS/CodeWhisperer", "GeneratedLineCount", "SuggestionState", "ACCEPT", "CompletionType", "LINE", "ProgrammingLanguage", "java", { "id": "m1", "visible": false } ],
                    [ ".", "InvocationCount", ".", "REJECT", ".", ".", ".", ".", { "id": "m2", "visible": false } ]
                ],
                "view": "gauge",
                "region": "us-east-1",
                "stat": "Sum",
                "period": 300,
                "title": "Java",
                "setPeriodToTimeRange": true,
                "yAxis": {
                    "left": {
                        "min": 0,
                        "max": 100
                    }
                }
            }
        },
        {
            "height": 6,
            "width": 6,
            "y": 6,
            "x": 12,
            "type": "metric",
            "properties": {
                "metrics": [
                    [ { "expression": "100*m1/(m1+m2)", "label": "Line Accept Rate", "id": "e1", "region": "us-east-1" } ],
                    [ "AWS/CodeWhisperer", "GeneratedLineCount", "SuggestionState", "ACCEPT", "CompletionType", "LINE", "ProgrammingLanguage", "javascript", { "id": "m1", "visible": false } ],
                    [ ".", "InvocationCount", ".", "REJECT", ".", ".", ".", ".", { "id": "m2", "visible": false } ]
                ],
                "view": "gauge",
                "region": "us-east-1",
                "stat": "Sum",
                "period": 300,
                "title": "JavaScript",
                "setPeriodToTimeRange": true,
                "yAxis": {
                    "left": {
                        "min": 0,
                        "max": 100
                    }
                }
            }
        },
        {
            "height": 6,
            "width": 6,
            "y": 6,
            "x": 18,
            "type": "metric",
            "properties": {
                "metrics": [
                    [ { "expression": "100*m1/(m1+m2)", "label": "Line Accept Rate", "id": "e1", "region": "us-east-1" } ],
                    [ "AWS/CodeWhisperer", "GeneratedLineCount", "SuggestionState", "ACCEPT", "CompletionType", "LINE", "ProgrammingLanguage", "typescript", { "id": "m1", "visible": false } ],
                    [ ".", "InvocationCount", ".", "REJECT", ".", ".", ".", ".", { "id": "m2", "visible": false } ]
                ],
                "view": "gauge",
                "region": "us-east-1",
                "stat": "Sum",
                "period": 300,
                "title": "TypeScript",
                "setPeriodToTimeRange": true,
                "yAxis": {
                    "left": {
                        "min": 0,
                        "max": 100
                    }
                }
            }
        },
        {
            "height": 6,
            "width": 6,
            "y": 12,
            "x": 0,
            "type": "metric",
            "properties": {
                "metrics": [
                    [ { "expression": "100*m1/m2", "label": "Percentage of Code Written by CodeWhisperer", "id": "e1", "region": "us-east-1" } ],
                    [ "AWS/CodeWhisperer", "TotalCharacterCount", "ProgrammingLanguage", "python", { "id": "m2", "visible": false } ],
                    [ ".", "CodeWhispererCharacterCount", ".", ".", { "id": "m1", "visible": false } ]
                ],
                "view": "gauge",
                "region": "us-east-1",
                "stat": "Sum",
                "period": 300,
                "title": "Python",
                "setPeriodToTimeRange": true,
                "yAxis": {
                    "left": {
                        "min": 0,
                        "max": 100
                    }
                }
            }
        },
        {
            "height": 6,
            "width": 6,
            "y": 12,
            "x": 6,
            "type": "metric",
            "properties": {
                "metrics": [
                    [ { "expression": "100*m1/m2", "label": "Percentage of Code Written by CodeWhisperer", "id": "e1", "region": "us-east-1" } ],
                    [ "AWS/CodeWhisperer", "TotalCharacterCount", "ProgrammingLanguage", "java", { "id": "m2", "visible": false } ],
                    [ ".", "CodeWhispererCharacterCount", ".", ".", { "id": "m1", "visible": false } ]
                ],
                "view": "gauge",
                "region": "us-east-1",
                "stat": "Sum",
                "period": 300,
                "title": "Java",
                "setPeriodToTimeRange": true,
                "yAxis": {
                    "left": {
                        "min": 0,
                        "max": 100
                    }
                }
            }
        },
        {
            "height": 6,
            "width": 6,
            "y": 12,
            "x": 12,
            "type": "metric",
            "properties": {
                "metrics": [
                    [ { "expression": "100*m1/m2", "label": "Percentage of Code Written by CodeWhisperer", "id": "e1", "region": "us-east-1" } ],
                    [ "AWS/CodeWhisperer", "TotalCharacterCount", "ProgrammingLanguage", "javascript", { "id": "m2", "visible": false } ],
                    [ ".", "CodeWhispererCharacterCount", ".", ".", { "id": "m1", "visible": false } ]
                ],
                "view": "gauge",
                "region": "us-east-1",
                "stat": "Sum",
                "period": 300,
                "title": "JavaScript",
                "setPeriodToTimeRange": true,
                "yAxis": {
                    "left": {
                        "min": 0,
                        "max": 100
                    }
                }
            }
        },
        {
            "height": 6,
            "width": 6,
            "y": 12,
            "x": 18,
            "type": "metric",
            "properties": {
                "metrics": [
                    [ { "expression": "100*m1/m2", "label": "Percentage of Code Written by CodeWhisperer", "id": "e1", "region": "us-east-1" } ],
                    [ "AWS/CodeWhisperer", "TotalCharacterCount", "ProgrammingLanguage", "typescript", { "id": "m2", "visible": false } ],
                    [ ".", "CodeWhispererCharacterCount", ".", ".", { "id": "m1", "visible": false } ]
                ],
                "view": "gauge",
                "region": "us-east-1",
                "stat": "Sum",
                "period": 300,
                "title": "TypeScript",
                "setPeriodToTimeRange": true,
                "yAxis": {
                    "left": {
                        "min": 0,
                        "max": 100
                    }
                }
            }
        }
    ]
}