@parca/profile 0.16.482 → 0.16.483
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.16.483](https://github.com/parca-dev/parca/compare/@parca/profile@0.16.482...@parca/profile@0.16.483) (2025-02-27)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @parca/profile
|
|
9
|
+
|
|
6
10
|
## 0.16.482 (2025-02-27)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @parca/profile
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/MetricsGraph/UtilizationMetrics/index.tsx"],"names":[],"mappings":"AAqBA,OAAO,EAAC,aAAa,EAAqD,MAAM,mBAAmB,CAAC;AAKpG,OAAO,EAAC,KAAK,kBAAkB,IAAI,YAAY,EAAC,MAAM,uBAAuB,CAAC;AAM9E,UAAU,WAAW;IACnB,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,eAAe,EAAE,CACf,MAAM,EAAE;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,GAAG,KAAK,CAAC;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,CAAC,KACvE,IAAI,CAAC;IACV,YAAY,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;CAC9C;AAQD,KAAK,KAAK,GAAG,WAAW,GAAG;IACzB,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,eAAe,EAAE,CACf,MAAM,EAAE;QAAC,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAC,GAAG,KAAK,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,eAAe,kBAAkB,CAAC"}
|
|
@@ -56,6 +56,7 @@ const RawUtilizationMetrics = ({ data, addLabelMatcher, setTimeRange, width, hei
|
|
|
56
56
|
const [isContextMenuOpen, setIsContextMenuOpen] = useState(false);
|
|
57
57
|
const idForContextMenu = useId();
|
|
58
58
|
const [selectedSeries, setSelectedSeries] = useURLState('selectedSeries');
|
|
59
|
+
const [_, setSelectedTimeframe] = useURLState('gpu_selected_timeframe');
|
|
59
60
|
const parsedSelectedSeries = useMemo(() => {
|
|
60
61
|
if (selectedSeries === undefined) {
|
|
61
62
|
return [];
|
|
@@ -229,6 +230,8 @@ const RawUtilizationMetrics = ({ data, addLabelMatcher, setTimeRange, width, hei
|
|
|
229
230
|
key: l.name,
|
|
230
231
|
value: l.value,
|
|
231
232
|
}))));
|
|
233
|
+
// reset the selected_timeframe
|
|
234
|
+
setSelectedTimeframe(undefined);
|
|
232
235
|
}
|
|
233
236
|
} }) }, i));
|
|
234
237
|
}) })] })] }) })] }));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parca/profile",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.483",
|
|
4
4
|
"description": "Profile viewing libraries",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@headlessui/react": "^1.7.19",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"access": "public",
|
|
76
76
|
"registry": "https://registry.npmjs.org/"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "a2ed3f854bc3dd629f8baa84e1d9de0c0211bfde"
|
|
79
79
|
}
|
|
@@ -100,6 +100,7 @@ const RawUtilizationMetrics = ({
|
|
|
100
100
|
const [isContextMenuOpen, setIsContextMenuOpen] = useState<boolean>(false);
|
|
101
101
|
const idForContextMenu = useId();
|
|
102
102
|
const [selectedSeries, setSelectedSeries] = useURLState<string>('selectedSeries');
|
|
103
|
+
const [_, setSelectedTimeframe] = useURLState('gpu_selected_timeframe');
|
|
103
104
|
|
|
104
105
|
const parsedSelectedSeries: Matcher[] = useMemo(() => {
|
|
105
106
|
if (selectedSeries === undefined) {
|
|
@@ -489,6 +490,8 @@ const RawUtilizationMetrics = ({
|
|
|
489
490
|
}))
|
|
490
491
|
)
|
|
491
492
|
);
|
|
493
|
+
// reset the selected_timeframe
|
|
494
|
+
setSelectedTimeframe(undefined);
|
|
492
495
|
}
|
|
493
496
|
}}
|
|
494
497
|
/>
|