copilot-metrics-viewer icon indicating copy to clipboard operation
copilot-metrics-viewer copied to clipboard

adding support for picking data range to filter result

Open DevOps-zhuang opened this issue 8 months ago • 2 comments

Currently, the Copilot viewer page does not have a function to query by time. We hope to add a tab page to support selecting specific metrics by date range, such as the last 7 days. Provide a table to record daily change data for the last 7 days. or I can select a time range such as April 1st to April 5th. Is such a functionality needed

DevOps-zhuang avatar Apr 11 '25 08:04 DevOps-zhuang

I just created one as below. it support filtering metric by date in MetricViewer/BreakDown(Editor)/BreakDonw(Language)/Chat part. A quick show as below, since it is based on my last push---adding multi-team support. will push it there later.

Image

DevOps-zhuang avatar Apr 13 '25 07:04 DevOps-zhuang

and adding a video to show current support model

https://github.com/user-attachments/assets/802ad40b-9458-4349-b191-582a3ac6afd3

DevOps-zhuang avatar Apr 13 '25 08:04 DevOps-zhuang

Heads up - as of 6/23/2025 the metrics api seems to be returning more than 28 days of data. I'm getting from 4/11/2025 -> 06/22/2025.

zbskii avatar Jun 23 '25 16:06 zbskii

I'm working on adding support for this #220

karpikpl avatar Jul 07 '25 20:07 karpikpl

added date filters

karpikpl avatar Jul 08 '25 04:07 karpikpl