{
    "description": "Uses snowflake integration metrics",
    "layout_type": "ordered",
    "notify_list": [],
    "reflow_type": "fixed",
    "tags": [
        "team:kdh",
        "team:permissions-platform"
    ],
    "template_variables": [],
    "title": "Prod - Compare permissions data between AR and Neo4j",
    "widgets": [
        {
            "definition": {
                "autoscale": false,
                "precision": 0,
                "requests": [
                    {
                        "formulas": [
                            {
                                "formula": "query1"
                            }
                        ],
                        "queries": [
                            {
                                "aggregator": "last",
                                "data_source": "metrics",
                                "name": "query1",
                                "query": "avg:snowflake.custom.ar_to_neo_sync.vend_contact_ar_only{*}"
                            }
                        ],
                        "response_format": "scalar"
                    }
                ],
                "title": "vend_contact AR only",
                "type": "query_value"
            },
            "id": 5794512425047408,
            "layout": {
                "height": 2,
                "width": 3,
                "x": 0,
                "y": 0
            }
        },
        {
            "definition": {
                "autoscale": false,
                "precision": 0,
                "requests": [
                    {
                        "formulas": [
                            {
                                "formula": "query1"
                            }
                        ],
                        "queries": [
                            {
                                "aggregator": "last",
                                "data_source": "metrics",
                                "name": "query1",
                                "query": "avg:snowflake.custom.ar_to_neo_sync.vend_contact_neo4j_only{*}"
                            }
                        ],
                        "response_format": "scalar"
                    }
                ],
                "title": "vend_contact Neo4j Only",
                "type": "query_value"
            },
            "id": 1192080457811754,
            "layout": {
                "height": 2,
                "width": 3,
                "x": 3,
                "y": 0
            }
        },
        {
            "definition": {
                "legend_columns": [
                    "avg",
                    "min",
                    "max",
                    "value",
                    "sum"
                ],
                "legend_layout": "horizontal",
                "requests": [
                    {
                        "formulas": [
                            {
                                "alias": "AR Only",
                                "formula": "track_writer_without_label_participation"
                            },
                            {
                                "alias": "Neo4j Only",
                                "formula": "label_participation_without_track_writer"
                            }
                        ],
                        "queries": [
                            {
                                "data_source": "metrics",
                                "name": "track_writer_without_label_participation",
                                "query": "avg:snowflake.custom.ar_to_neo_sync.vend_contact_ar_only{*}"
                            },
                            {
                                "data_source": "metrics",
                                "name": "label_participation_without_track_writer",
                                "query": "avg:snowflake.custom.ar_to_neo_sync.vend_contact_neo4j_only{*}"
                            }
                        ],
                        "response_format": "timeseries",
                        "style": {
                            "line_type": "solid",
                            "line_width": "normal",
                            "palette": "dog_classic"
                        }
                    }
                ],
                "show_legend": true,
                "title": "vend_contact Mismatch",
                "type": "timeseries",
                "yaxis": {
                    "include_zero": true,
                    "scale": "linear"
                }
            },
            "id": 1470154341972067,
            "layout": {
                "height": 2,
                "width": 6,
                "x": 6,
                "y": 0
            }
        },
        {
            "definition": {
                "autoscale": false,
                "precision": 0,
                "requests": [
                    {
                        "formulas": [
                            {
                                "formula": "query1"
                            }
                        ],
                        "queries": [
                            {
                                "aggregator": "last",
                                "data_source": "metrics",
                                "name": "query1",
                                "query": "avg:snowflake.custom.ar_to_neo_sync.vend_contact_different_roles{*}"
                            }
                        ],
                        "response_format": "scalar"
                    }
                ],
                "title": "Vend Contact with mismatch roles ",
                "type": "query_value"
            },
            "id": 7247968755932438,
            "layout": {
                "height": 2,
                "width": 3,
                "x": 0,
                "y": 2
            }
        },
        {
            "definition": {
                "legend_columns": [
                    "avg",
                    "min",
                    "max",
                    "value",
                    "sum"
                ],
                "legend_layout": "horizontal",
                "requests": [
                    {
                        "formulas": [
                            {
                                "alias": "Vend Contacts",
                                "formula": "track_writer_without_label_participation"
                            }
                        ],
                        "queries": [
                            {
                                "data_source": "metrics",
                                "name": "track_writer_without_label_participation",
                                "query": "avg:snowflake.custom.ar_to_neo_sync.vend_contact_different_roles{*}"
                            }
                        ],
                        "response_format": "timeseries",
                        "style": {
                            "line_type": "solid",
                            "line_width": "normal",
                            "palette": "dog_classic"
                        }
                    }
                ],
                "show_legend": true,
                "title": "Vend Contact with mismatch roles ",
                "type": "timeseries",
                "yaxis": {
                    "include_zero": true,
                    "scale": "linear"
                }
            },
            "id": 2107719377353235,
            "layout": {
                "height": 2,
                "width": 6,
                "x": 6,
                "y": 2
            }
        }
    ]
}
