Skip to content

Insights/capture groups/ping types

Administrator requested to merge insights/capture-groups/ping-types into main

Created by: coury-clark

Closes #28630 (closed)

Adds capture groups to insight pings. This includes a small format change to report the insight_series generation type in the following format name::[scoped|global]::[jit|recorded]

Example from local:

"InsightTotalCounts": {
            "ViewCounts": [
                {
                    "ViewType": "PIE",
                    "TotalCount": 5
                },
                {
                    "ViewType": "LINE",
                    "TotalCount": 67
                }
            ],
            "SeriesCounts": [
                {
                    "TotalCount": 4,
                    "GenerationType": "language-stats::scoped::jit"
                },
                {
                    "TotalCount": 44,
                    "GenerationType": "search::scoped::jit"
                },
                {
                    "TotalCount": 3,
                    "GenerationType": "capture-groups::scoped::jit"
                },
                {
                    "TotalCount": 13,
                    "GenerationType": "search::global::recorded"
                }
            ],
            "ViewSeriesCounts": [
                {
                    "ViewType": "LINE",
                    "TotalCount": 43,
                    "GenerationType": "search::scoped::jit"
                },
                {
                    "ViewType": "LINE",
                    "TotalCount": 3,
                    "GenerationType": "capture-groups::scoped::jit"
                },
                {
                    "ViewType": "LINE",
                    "TotalCount": 31,
                    "GenerationType": "search::global::recorded"
                },
                {
                    "ViewType": "PIE",
                    "TotalCount": 4,
                    "GenerationType": "language-stats::scoped::jit"
                },
                {
                    "ViewType": "PIE",
                    "TotalCount": 1,
                    "GenerationType": "search::scoped::jit"
                }
            ]
        },

Merge request reports

Loading