@perses-dev/pyroscope-plugin 0.2.0 → 0.3.1

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.
Files changed (62) hide show
  1. package/__mf/js/Pyroscope.83a074ec.js +6 -0
  2. package/__mf/js/async/{5358.40b9537e.js → 3105.1ab1c855.js} +5 -5
  3. package/__mf/js/async/{4368.2d817d5d.js → 4368.e6685ebf.js} +2 -2
  4. package/__mf/js/async/4778.c791e281.js +1 -0
  5. package/__mf/js/async/5135.ae4df243.js +1 -0
  6. package/__mf/js/async/5207.04f840e4.js +2 -0
  7. package/__mf/js/async/677.58650020.js +1 -0
  8. package/__mf/js/async/{__federation_expose_PyroscopeExplorer.88d5e4fb.js → __federation_expose_PyroscopeExplorer.d2e8d27c.js} +2 -2
  9. package/__mf/js/async/__federation_expose_PyroscopeProfileQuery.e8a6e53f.js +2 -0
  10. package/__mf/js/main.3f9c055c.js +6 -0
  11. package/lib/cjs/components/DeleteFilterItem.js +9 -4
  12. package/lib/cjs/components/FilterItem.js +57 -24
  13. package/lib/cjs/components/LabelName.js +29 -27
  14. package/lib/cjs/components/LabelValue.js +26 -27
  15. package/lib/cjs/components/Operator.js +7 -3
  16. package/lib/cjs/components/ProfileTypeSelector.js +1 -2
  17. package/lib/cjs/components/Service.js +20 -24
  18. package/lib/cjs/explore/PyroscopeExplorer.js +2 -1
  19. package/lib/cjs/plugins/pyroscope-profile-query/PyroscopeProfileQueryEditor.js +21 -12
  20. package/lib/components/DeleteFilterItem.d.ts.map +1 -1
  21. package/lib/components/DeleteFilterItem.js +9 -4
  22. package/lib/components/DeleteFilterItem.js.map +1 -1
  23. package/lib/components/FilterItem.d.ts.map +1 -1
  24. package/lib/components/FilterItem.js +58 -25
  25. package/lib/components/FilterItem.js.map +1 -1
  26. package/lib/components/LabelName.d.ts.map +1 -1
  27. package/lib/components/LabelName.js +30 -28
  28. package/lib/components/LabelName.js.map +1 -1
  29. package/lib/components/LabelValue.d.ts.map +1 -1
  30. package/lib/components/LabelValue.js +27 -28
  31. package/lib/components/LabelValue.js.map +1 -1
  32. package/lib/components/Operator.d.ts.map +1 -1
  33. package/lib/components/Operator.js +7 -3
  34. package/lib/components/Operator.js.map +1 -1
  35. package/lib/components/ProfileTypeSelector.js +1 -2
  36. package/lib/components/ProfileTypeSelector.js.map +1 -1
  37. package/lib/components/Service.d.ts.map +1 -1
  38. package/lib/components/Service.js +21 -25
  39. package/lib/components/Service.js.map +1 -1
  40. package/lib/explore/PyroscopeExplorer.d.ts.map +1 -1
  41. package/lib/explore/PyroscopeExplorer.js +2 -1
  42. package/lib/explore/PyroscopeExplorer.js.map +1 -1
  43. package/lib/plugins/pyroscope-profile-query/PyroscopeProfileQueryEditor.d.ts.map +1 -1
  44. package/lib/plugins/pyroscope-profile-query/PyroscopeProfileQueryEditor.js +19 -10
  45. package/lib/plugins/pyroscope-profile-query/PyroscopeProfileQueryEditor.js.map +1 -1
  46. package/mf-manifest.json +23 -23
  47. package/mf-stats.json +23 -23
  48. package/package.json +1 -1
  49. package/__mf/js/Pyroscope.24cb38f3.js +0 -5
  50. package/__mf/js/async/1339.e58b309f.js +0 -1
  51. package/__mf/js/async/424.edb69d58.js +0 -1
  52. package/__mf/js/async/5215.6fd5cc14.js +0 -1
  53. package/__mf/js/async/9633.a7997138.js +0 -2
  54. package/__mf/js/async/__federation_expose_PyroscopeProfileQuery.75c9c11b.js +0 -2
  55. package/__mf/js/main.4caf1064.js +0 -5
  56. /package/__mf/css/async/{1339.6763d50b.css → 2341.6763d50b.css} +0 -0
  57. /package/__mf/css/async/{9633.6763d50b.css → 5207.6763d50b.css} +0 -0
  58. /package/__mf/js/async/{5358.40b9537e.js.LICENSE.txt → 3105.1ab1c855.js.LICENSE.txt} +0 -0
  59. /package/__mf/js/async/{4368.2d817d5d.js.LICENSE.txt → 4368.e6685ebf.js.LICENSE.txt} +0 -0
  60. /package/__mf/js/async/{9633.a7997138.js.LICENSE.txt → 5207.04f840e4.js.LICENSE.txt} +0 -0
  61. /package/__mf/js/async/{__federation_expose_PyroscopeExplorer.88d5e4fb.js.LICENSE.txt → __federation_expose_PyroscopeExplorer.d2e8d27c.js.LICENSE.txt} +0 -0
  62. /package/__mf/js/async/{__federation_expose_PyroscopeProfileQuery.75c9c11b.js.LICENSE.txt → __federation_expose_PyroscopeProfileQuery.e8a6e53f.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Service.tsx"],"sourcesContent":["// Copyright 2025 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { ReactElement } from 'react';\nimport { Stack, TextField, MenuItem, CircularProgress, useTheme } from '@mui/material';\nimport { PyroscopeDatasourceSelector } from '../model';\nimport { useServices } from '../utils/use-query';\n\nexport interface ServiceProps {\n datasource: PyroscopeDatasourceSelector;\n value: string;\n onChange?(value: string): void;\n}\n\nexport function Service(props: ServiceProps): ReactElement {\n const { datasource, value, onChange } = props;\n\n const { data: servicesOptions, isLoading: isServicesOptionsLoading } = useServices(datasource);\n\n return (\n <Stack\n position=\"relative\"\n sx={{\n flexGrow: 1,\n maxWidth: '100%',\n [useTheme().breakpoints.down('sm')]: {\n width: '100%',\n },\n }}\n >\n <TextField select label=\"Service\" value={value} size=\"small\" onChange={(event) => onChange?.(event.target.value)}>\n {isServicesOptionsLoading ? (\n <Stack width=\"100%\" sx={{ alignItems: 'center', justifyContent: 'center' }}>\n <CircularProgress color=\"inherit\" size={20} />\n </Stack>\n ) : (\n servicesOptions?.names &&\n servicesOptions?.names.map((service) => (\n <MenuItem key={service} value={service}>\n {service}\n </MenuItem>\n ))\n )}\n </TextField>\n </Stack>\n );\n}\n"],"names":["Stack","TextField","MenuItem","CircularProgress","useTheme","useServices","Service","props","datasource","value","onChange","data","servicesOptions","isLoading","isServicesOptionsLoading","position","sx","flexGrow","maxWidth","breakpoints","down","width","select","label","size","event","target","alignItems","justifyContent","color","names","map","service"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAGjC,SAASA,KAAK,EAAEC,SAAS,EAAEC,QAAQ,EAAEC,gBAAgB,EAAEC,QAAQ,QAAQ,gBAAgB;AAEvF,SAASC,WAAW,QAAQ,qBAAqB;AAQjD,OAAO,SAASC,QAAQC,KAAmB;IACzC,MAAM,EAAEC,UAAU,EAAEC,KAAK,EAAEC,QAAQ,EAAE,GAAGH;IAExC,MAAM,EAAEI,MAAMC,eAAe,EAAEC,WAAWC,wBAAwB,EAAE,GAAGT,YAAYG;IAEnF,qBACE,KAACR;QACCe,UAAS;QACTC,IAAI;YACFC,UAAU;YACVC,UAAU;YACV,CAACd,WAAWe,WAAW,CAACC,IAAI,CAAC,MAAM,EAAE;gBACnCC,OAAO;YACT;QACF;kBAEA,cAAA,KAACpB;YAAUqB,MAAM;YAACC,OAAM;YAAUd,OAAOA;YAAOe,MAAK;YAAQd,UAAU,CAACe,QAAUf,WAAWe,MAAMC,MAAM,CAACjB,KAAK;sBAC5GK,yCACC,KAACd;gBAAMqB,OAAM;gBAAOL,IAAI;oBAAEW,YAAY;oBAAUC,gBAAgB;gBAAS;0BACvE,cAAA,KAACzB;oBAAiB0B,OAAM;oBAAUL,MAAM;;iBAG1CZ,iBAAiBkB,SACjBlB,iBAAiBkB,MAAMC,IAAI,CAACC,wBAC1B,KAAC9B;oBAAuBO,OAAOuB;8BAC5BA;mBADYA;;;AAQ3B"}
1
+ {"version":3,"sources":["../../../src/components/Service.tsx"],"sourcesContent":["// Copyright 2025 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { ReactElement, SyntheticEvent } from 'react';\nimport { Stack, TextField, Autocomplete } from '@mui/material';\nimport { PyroscopeDatasourceSelector } from '../model';\nimport { useServices } from '../utils/use-query';\n\nexport interface ServiceProps {\n datasource: PyroscopeDatasourceSelector;\n value: string;\n onChange?(value: string): void;\n}\n\nexport function Service(props: ServiceProps): ReactElement {\n const { datasource, value, onChange } = props;\n\n const { data: servicesOptions, isLoading: isServicesOptionsLoading } = useServices(datasource);\n\n function handleServiceChange(_event: SyntheticEvent, newValue: string | null): void {\n if (newValue !== null) {\n onChange?.(newValue);\n }\n }\n\n return (\n <Stack\n position=\"relative\"\n sx={{\n width: '100%',\n }}\n >\n <Autocomplete\n options={servicesOptions?.names ?? []}\n value={value}\n sx={{ minWidth: 200 }}\n loading={isServicesOptionsLoading}\n renderInput={(params) => {\n return <TextField {...params} label=\"Service\" size=\"small\" />;\n }}\n onChange={handleServiceChange}\n />\n </Stack>\n );\n}\n"],"names":["Stack","TextField","Autocomplete","useServices","Service","props","datasource","value","onChange","data","servicesOptions","isLoading","isServicesOptionsLoading","handleServiceChange","_event","newValue","position","sx","width","options","names","minWidth","loading","renderInput","params","label","size"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAGjC,SAASA,KAAK,EAAEC,SAAS,EAAEC,YAAY,QAAQ,gBAAgB;AAE/D,SAASC,WAAW,QAAQ,qBAAqB;AAQjD,OAAO,SAASC,QAAQC,KAAmB;IACzC,MAAM,EAAEC,UAAU,EAAEC,KAAK,EAAEC,QAAQ,EAAE,GAAGH;IAExC,MAAM,EAAEI,MAAMC,eAAe,EAAEC,WAAWC,wBAAwB,EAAE,GAAGT,YAAYG;IAEnF,SAASO,oBAAoBC,MAAsB,EAAEC,QAAuB;QAC1E,IAAIA,aAAa,MAAM;YACrBP,WAAWO;QACb;IACF;IAEA,qBACE,KAACf;QACCgB,UAAS;QACTC,IAAI;YACFC,OAAO;QACT;kBAEA,cAAA,KAAChB;YACCiB,SAAST,iBAAiBU,SAAS,EAAE;YACrCb,OAAOA;YACPU,IAAI;gBAAEI,UAAU;YAAI;YACpBC,SAASV;YACTW,aAAa,CAACC;gBACZ,qBAAO,KAACvB;oBAAW,GAAGuB,MAAM;oBAAEC,OAAM;oBAAUC,MAAK;;YACrD;YACAlB,UAAUK;;;AAIlB"}
@@ -1 +1 @@
1
- {"version":3,"file":"PyroscopeExplorer.d.ts","sourceRoot":"","sources":["../../../src/explore/PyroscopeExplorer.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAgCrC,wBAAgB,iBAAiB,IAAI,YAAY,CA8BhD"}
1
+ {"version":3,"file":"PyroscopeExplorer.d.ts","sourceRoot":"","sources":["../../../src/explore/PyroscopeExplorer.tsx"],"names":[],"mappings":"AAcA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAiCrC,wBAAgB,iBAAiB,IAAI,YAAY,CA8BhD"}
@@ -20,7 +20,8 @@ const initialSpec = {
20
20
  showSettings: true,
21
21
  showSeries: true,
22
22
  showTable: true,
23
- showFlameGraph: true
23
+ showFlameGraph: true,
24
+ traceHeight: 25
24
25
  };
25
26
  function FlameGraphPanel({ queries }) {
26
27
  return /*#__PURE__*/ _jsx(Panel, {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/explore/PyroscopeExplorer.tsx"],"sourcesContent":["// Copyright 2025 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { Box, Stack } from '@mui/material';\nimport { ReactElement } from 'react';\nimport { DataQueriesProvider, MultiQueryEditor } from '@perses-dev/plugin-system';\nimport { Panel } from '@perses-dev/dashboards';\nimport { QueryDefinition } from '@perses-dev/core';\nimport { useExplorerManagerContext } from '@perses-dev/explore';\n\ninterface ProfilesExplorerQueryParams {\n queries?: QueryDefinition[];\n}\n\nconst initialSpec = {\n palette: 'package-name',\n showSettings: true,\n showSeries: true,\n showTable: true,\n showFlameGraph: true,\n};\n\nfunction FlameGraphPanel({ queries }: { queries: QueryDefinition[] }): ReactElement {\n return (\n <Panel\n panelOptions={{\n hideHeader: true,\n }}\n definition={{\n kind: 'Panel',\n spec: { queries, display: { name: '' }, plugin: { kind: 'FlameChart', spec: initialSpec } },\n }}\n />\n );\n}\n\nexport function PyroscopeExplorer(): ReactElement {\n const {\n data: { queries = [] },\n setData,\n } = useExplorerManagerContext<ProfilesExplorerQueryParams>();\n\n // map ProfileQueryDefinition to Definition<UnknownSpec>\n const definitions = queries.length\n ? queries.map((query: QueryDefinition) => {\n return {\n kind: query.spec.plugin.kind,\n spec: query.spec.plugin.spec,\n };\n })\n : [];\n\n return (\n <Stack gap={2} sx={{ width: '100%' }}>\n <MultiQueryEditor\n queryTypes={['ProfileQuery']}\n onChange={(newQueries) => setData({ queries: newQueries })}\n queries={queries}\n />\n <DataQueriesProvider definitions={definitions}>\n <Box height={980}>\n <FlameGraphPanel queries={queries} />\n </Box>\n </DataQueriesProvider>\n </Stack>\n );\n}\n"],"names":["Box","Stack","DataQueriesProvider","MultiQueryEditor","Panel","useExplorerManagerContext","initialSpec","palette","showSettings","showSeries","showTable","showFlameGraph","FlameGraphPanel","queries","panelOptions","hideHeader","definition","kind","spec","display","name","plugin","PyroscopeExplorer","data","setData","definitions","length","map","query","gap","sx","width","queryTypes","onChange","newQueries","height"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,SAASA,GAAG,EAAEC,KAAK,QAAQ,gBAAgB;AAE3C,SAASC,mBAAmB,EAAEC,gBAAgB,QAAQ,4BAA4B;AAClF,SAASC,KAAK,QAAQ,yBAAyB;AAE/C,SAASC,yBAAyB,QAAQ,sBAAsB;AAMhE,MAAMC,cAAc;IAClBC,SAAS;IACTC,cAAc;IACdC,YAAY;IACZC,WAAW;IACXC,gBAAgB;AAClB;AAEA,SAASC,gBAAgB,EAAEC,OAAO,EAAkC;IAClE,qBACE,KAACT;QACCU,cAAc;YACZC,YAAY;QACd;QACAC,YAAY;YACVC,MAAM;YACNC,MAAM;gBAAEL;gBAASM,SAAS;oBAAEC,MAAM;gBAAG;gBAAGC,QAAQ;oBAAEJ,MAAM;oBAAcC,MAAMZ;gBAAY;YAAE;QAC5F;;AAGN;AAEA,OAAO,SAASgB;IACd,MAAM,EACJC,MAAM,EAAEV,UAAU,EAAE,EAAE,EACtBW,OAAO,EACR,GAAGnB;IAEJ,wDAAwD;IACxD,MAAMoB,cAAcZ,QAAQa,MAAM,GAC9Bb,QAAQc,GAAG,CAAC,CAACC;QACX,OAAO;YACLX,MAAMW,MAAMV,IAAI,CAACG,MAAM,CAACJ,IAAI;YAC5BC,MAAMU,MAAMV,IAAI,CAACG,MAAM,CAACH,IAAI;QAC9B;IACF,KACA,EAAE;IAEN,qBACE,MAACjB;QAAM4B,KAAK;QAAGC,IAAI;YAAEC,OAAO;QAAO;;0BACjC,KAAC5B;gBACC6B,YAAY;oBAAC;iBAAe;gBAC5BC,UAAU,CAACC,aAAeV,QAAQ;wBAAEX,SAASqB;oBAAW;gBACxDrB,SAASA;;0BAEX,KAACX;gBAAoBuB,aAAaA;0BAChC,cAAA,KAACzB;oBAAImC,QAAQ;8BACX,cAAA,KAACvB;wBAAgBC,SAASA;;;;;;AAKpC"}
1
+ {"version":3,"sources":["../../../src/explore/PyroscopeExplorer.tsx"],"sourcesContent":["// Copyright 2025 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { Box, Stack } from '@mui/material';\nimport { ReactElement } from 'react';\nimport { DataQueriesProvider, MultiQueryEditor } from '@perses-dev/plugin-system';\nimport { Panel } from '@perses-dev/dashboards';\nimport { QueryDefinition } from '@perses-dev/core';\nimport { useExplorerManagerContext } from '@perses-dev/explore';\n\ninterface ProfilesExplorerQueryParams {\n queries?: QueryDefinition[];\n}\n\nconst initialSpec = {\n palette: 'package-name',\n showSettings: true,\n showSeries: true,\n showTable: true,\n showFlameGraph: true,\n traceHeight: 25,\n};\n\nfunction FlameGraphPanel({ queries }: { queries: QueryDefinition[] }): ReactElement {\n return (\n <Panel\n panelOptions={{\n hideHeader: true,\n }}\n definition={{\n kind: 'Panel',\n spec: { queries, display: { name: '' }, plugin: { kind: 'FlameChart', spec: initialSpec } },\n }}\n />\n );\n}\n\nexport function PyroscopeExplorer(): ReactElement {\n const {\n data: { queries = [] },\n setData,\n } = useExplorerManagerContext<ProfilesExplorerQueryParams>();\n\n // map ProfileQueryDefinition to Definition<UnknownSpec>\n const definitions = queries.length\n ? queries.map((query: QueryDefinition) => {\n return {\n kind: query.spec.plugin.kind,\n spec: query.spec.plugin.spec,\n };\n })\n : [];\n\n return (\n <Stack gap={2} sx={{ width: '100%' }}>\n <MultiQueryEditor\n queryTypes={['ProfileQuery']}\n onChange={(newQueries) => setData({ queries: newQueries })}\n queries={queries}\n />\n <DataQueriesProvider definitions={definitions}>\n <Box height={980}>\n <FlameGraphPanel queries={queries} />\n </Box>\n </DataQueriesProvider>\n </Stack>\n );\n}\n"],"names":["Box","Stack","DataQueriesProvider","MultiQueryEditor","Panel","useExplorerManagerContext","initialSpec","palette","showSettings","showSeries","showTable","showFlameGraph","traceHeight","FlameGraphPanel","queries","panelOptions","hideHeader","definition","kind","spec","display","name","plugin","PyroscopeExplorer","data","setData","definitions","length","map","query","gap","sx","width","queryTypes","onChange","newQueries","height"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,SAASA,GAAG,EAAEC,KAAK,QAAQ,gBAAgB;AAE3C,SAASC,mBAAmB,EAAEC,gBAAgB,QAAQ,4BAA4B;AAClF,SAASC,KAAK,QAAQ,yBAAyB;AAE/C,SAASC,yBAAyB,QAAQ,sBAAsB;AAMhE,MAAMC,cAAc;IAClBC,SAAS;IACTC,cAAc;IACdC,YAAY;IACZC,WAAW;IACXC,gBAAgB;IAChBC,aAAa;AACf;AAEA,SAASC,gBAAgB,EAAEC,OAAO,EAAkC;IAClE,qBACE,KAACV;QACCW,cAAc;YACZC,YAAY;QACd;QACAC,YAAY;YACVC,MAAM;YACNC,MAAM;gBAAEL;gBAASM,SAAS;oBAAEC,MAAM;gBAAG;gBAAGC,QAAQ;oBAAEJ,MAAM;oBAAcC,MAAMb;gBAAY;YAAE;QAC5F;;AAGN;AAEA,OAAO,SAASiB;IACd,MAAM,EACJC,MAAM,EAAEV,UAAU,EAAE,EAAE,EACtBW,OAAO,EACR,GAAGpB;IAEJ,wDAAwD;IACxD,MAAMqB,cAAcZ,QAAQa,MAAM,GAC9Bb,QAAQc,GAAG,CAAC,CAACC;QACX,OAAO;YACLX,MAAMW,MAAMV,IAAI,CAACG,MAAM,CAACJ,IAAI;YAC5BC,MAAMU,MAAMV,IAAI,CAACG,MAAM,CAACH,IAAI;QAC9B;IACF,KACA,EAAE;IAEN,qBACE,MAAClB;QAAM6B,KAAK;QAAGC,IAAI;YAAEC,OAAO;QAAO;;0BACjC,KAAC7B;gBACC8B,YAAY;oBAAC;iBAAe;gBAC5BC,UAAU,CAACC,aAAeV,QAAQ;wBAAEX,SAASqB;oBAAW;gBACxDrB,SAASA;;0BAEX,KAACZ;gBAAoBwB,aAAaA;0BAChC,cAAA,KAAC1B;oBAAIoC,QAAQ;8BACX,cAAA,KAACvB;wBAAgBC,SAASA;;;;;;AAKpC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PyroscopeProfileQueryEditor.d.ts","sourceRoot":"","sources":["../../../../src/plugins/pyroscope-profile-query/PyroscopeProfileQueryEditor.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAQrC,OAAO,EACL,uBAAuB,EAKxB,MAAM,sBAAsB,CAAC;AAE9B,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,uBAAuB,GAAG,YAAY,CAmExF"}
1
+ {"version":3,"file":"PyroscopeProfileQueryEditor.d.ts","sourceRoot":"","sources":["../../../../src/plugins/pyroscope-profile-query/PyroscopeProfileQueryEditor.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAQrC,OAAO,EACL,uBAAuB,EAKxB,MAAM,sBAAsB,CAAC;AAE9B,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,uBAAuB,GAAG,YAAY,CAqExF"}
@@ -14,8 +14,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
14
  import { DatasourceSelect } from '@perses-dev/plugin-system';
15
15
  import { useId } from '@perses-dev/components';
16
16
  import { produce } from 'immer';
17
- import { FormControl, InputLabel, Stack, TextField } from '@mui/material';
18
- import { DEFAULT_PYROSCOPE, isDefaultPyroscopeSelector, isPyroscopeDatasourceSelector, PYROSCOPE_DATASOURCE_KIND } from '../../model/pyroscope-selectors';
17
+ import { FormControl, InputLabel, Stack, TextField, useTheme } from '@mui/material';
18
+ import { DEFAULT_PYROSCOPE, isDefaultPyroscopeSelector, isPyroscopeDatasourceSelector, PYROSCOPE_DATASOURCE_KIND } from '../../model';
19
19
  import { ProfileTypeSelector, Service, Filters } from '../../components';
20
20
  import { useMaxNodesState, useProfileTypeState, useServiceState, useFiltersState } from './query-editor-model';
21
21
  export function PyroscopeProfileQueryEditor(props) {
@@ -33,8 +33,7 @@ export function PyroscopeProfileQueryEditor(props) {
33
33
  if (isPyroscopeDatasourceSelector(next)) {
34
34
  onChange(produce(value, (draft)=>{
35
35
  // If they're using the default, just omit the datasource prop (i.e. set to undefined)
36
- const nextDatasource = isDefaultPyroscopeSelector(next) ? undefined : next;
37
- draft.datasource = nextDatasource;
36
+ draft.datasource = isDefaultPyroscopeSelector(next) ? undefined : next;
38
37
  }));
39
38
  return;
40
39
  }
@@ -65,11 +64,12 @@ export function PyroscopeProfileQueryEditor(props) {
65
64
  }),
66
65
  /*#__PURE__*/ _jsxs(Stack, {
67
66
  direction: "row",
68
- spacing: 0,
69
67
  sx: {
70
- flexWrap: 'wrap',
71
- rowGap: 1,
72
- gap: 2
68
+ [useTheme().breakpoints.down('sm')]: {
69
+ flexWrap: 'wrap'
70
+ },
71
+ gap: 2,
72
+ rowGap: 1
73
73
  },
74
74
  children: [
75
75
  /*#__PURE__*/ _jsx(Service, {
@@ -83,13 +83,22 @@ export function PyroscopeProfileQueryEditor(props) {
83
83
  onChange: handleProfileTypeChange
84
84
  }),
85
85
  /*#__PURE__*/ _jsx(TextField, {
86
+ type: "number",
86
87
  size: "small",
87
88
  label: "Max Nodes",
88
89
  value: maxNodes,
89
90
  error: maxNodesHasError,
90
91
  onChange: (e)=>handleMaxNodesChange(e.target.value),
91
- sx: {
92
- width: '110px'
92
+ sx: (theme)=>({
93
+ width: 250,
94
+ [theme.breakpoints.down('sm')]: {
95
+ width: '100%'
96
+ }
97
+ }),
98
+ slotProps: {
99
+ htmlInput: {
100
+ step: 1
101
+ }
93
102
  }
94
103
  })
95
104
  ]
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/plugins/pyroscope-profile-query/PyroscopeProfileQueryEditor.tsx"],"sourcesContent":["// Copyright 2025 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { DatasourceSelect, DatasourceSelectProps } from '@perses-dev/plugin-system';\nimport { useId } from '@perses-dev/components';\nimport { produce } from 'immer';\nimport { FormControl, InputLabel, Stack, TextField } from '@mui/material';\nimport { ReactElement } from 'react';\nimport {\n DEFAULT_PYROSCOPE,\n isDefaultPyroscopeSelector,\n isPyroscopeDatasourceSelector,\n PYROSCOPE_DATASOURCE_KIND,\n} from '../../model/pyroscope-selectors';\nimport { ProfileTypeSelector, Service, Filters } from '../../components';\nimport {\n ProfileQueryEditorProps,\n useMaxNodesState,\n useProfileTypeState,\n useServiceState,\n useFiltersState,\n} from './query-editor-model';\n\nexport function PyroscopeProfileQueryEditor(props: ProfileQueryEditorProps): ReactElement {\n const { onChange, value } = props;\n const { datasource } = value;\n const selectedDatasource = datasource ?? DEFAULT_PYROSCOPE;\n const datasourceSelectLabelID = useId('pyroscope-datasource-label');\n\n const { maxNodes, handleMaxNodesChange, maxNodesHasError } = useMaxNodesState(props);\n const { profileType, handleProfileTypeChange } = useProfileTypeState(props);\n const { service, handleServiceChange } = useServiceState(props);\n const { filters, handleFiltersChange } = useFiltersState(props);\n\n const handleDatasourceChange: DatasourceSelectProps['onChange'] = (next) => {\n // Check if the next value is a DatasourceSelector\n if (typeof next === 'object' && 'kind' in next && 'name' in next) {\n if (isPyroscopeDatasourceSelector(next)) {\n onChange(\n produce(value, (draft) => {\n // If they're using the default, just omit the datasource prop (i.e. set to undefined)\n const nextDatasource = isDefaultPyroscopeSelector(next) ? undefined : next;\n draft.datasource = nextDatasource;\n })\n );\n return;\n }\n }\n\n throw new Error('Got unexpected non-Pyroscope datasource selector');\n };\n\n return (\n <Stack spacing={2}>\n <FormControl margin=\"dense\" fullWidth={false}>\n <InputLabel id={datasourceSelectLabelID} shrink>\n Pyroscope Datasource\n </InputLabel>\n <DatasourceSelect\n datasourcePluginKind={PYROSCOPE_DATASOURCE_KIND}\n value={selectedDatasource}\n onChange={handleDatasourceChange}\n labelId={datasourceSelectLabelID}\n label=\"Pyroscope Datasource\"\n notched\n />\n </FormControl>\n <Stack\n direction=\"row\"\n spacing={0}\n sx={{\n flexWrap: 'wrap',\n rowGap: 1,\n gap: 2,\n }}\n >\n <Service datasource={selectedDatasource} value={service} onChange={handleServiceChange} />\n <ProfileTypeSelector datasource={selectedDatasource} value={profileType} onChange={handleProfileTypeChange} />\n <TextField\n size=\"small\"\n label=\"Max Nodes\"\n value={maxNodes}\n error={maxNodesHasError}\n onChange={(e) => handleMaxNodesChange(e.target.value)}\n sx={{ width: '110px' }}\n />\n </Stack>\n <Filters datasource={selectedDatasource} value={filters} onChange={handleFiltersChange} />\n </Stack>\n );\n}\n"],"names":["DatasourceSelect","useId","produce","FormControl","InputLabel","Stack","TextField","DEFAULT_PYROSCOPE","isDefaultPyroscopeSelector","isPyroscopeDatasourceSelector","PYROSCOPE_DATASOURCE_KIND","ProfileTypeSelector","Service","Filters","useMaxNodesState","useProfileTypeState","useServiceState","useFiltersState","PyroscopeProfileQueryEditor","props","onChange","value","datasource","selectedDatasource","datasourceSelectLabelID","maxNodes","handleMaxNodesChange","maxNodesHasError","profileType","handleProfileTypeChange","service","handleServiceChange","filters","handleFiltersChange","handleDatasourceChange","next","draft","nextDatasource","undefined","Error","spacing","margin","fullWidth","id","shrink","datasourcePluginKind","labelId","label","notched","direction","sx","flexWrap","rowGap","gap","size","error","e","target","width"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,SAASA,gBAAgB,QAA+B,4BAA4B;AACpF,SAASC,KAAK,QAAQ,yBAAyB;AAC/C,SAASC,OAAO,QAAQ,QAAQ;AAChC,SAASC,WAAW,EAAEC,UAAU,EAAEC,KAAK,EAAEC,SAAS,QAAQ,gBAAgB;AAE1E,SACEC,iBAAiB,EACjBC,0BAA0B,EAC1BC,6BAA6B,EAC7BC,yBAAyB,QACpB,kCAAkC;AACzC,SAASC,mBAAmB,EAAEC,OAAO,EAAEC,OAAO,QAAQ,mBAAmB;AACzE,SAEEC,gBAAgB,EAChBC,mBAAmB,EACnBC,eAAe,EACfC,eAAe,QACV,uBAAuB;AAE9B,OAAO,SAASC,4BAA4BC,KAA8B;IACxE,MAAM,EAAEC,QAAQ,EAAEC,KAAK,EAAE,GAAGF;IAC5B,MAAM,EAAEG,UAAU,EAAE,GAAGD;IACvB,MAAME,qBAAqBD,cAAcf;IACzC,MAAMiB,0BAA0BvB,MAAM;IAEtC,MAAM,EAAEwB,QAAQ,EAAEC,oBAAoB,EAAEC,gBAAgB,EAAE,GAAGb,iBAAiBK;IAC9E,MAAM,EAAES,WAAW,EAAEC,uBAAuB,EAAE,GAAGd,oBAAoBI;IACrE,MAAM,EAAEW,OAAO,EAAEC,mBAAmB,EAAE,GAAGf,gBAAgBG;IACzD,MAAM,EAAEa,OAAO,EAAEC,mBAAmB,EAAE,GAAGhB,gBAAgBE;IAEzD,MAAMe,yBAA4D,CAACC;QACjE,kDAAkD;QAClD,IAAI,OAAOA,SAAS,YAAY,UAAUA,QAAQ,UAAUA,MAAM;YAChE,IAAI1B,8BAA8B0B,OAAO;gBACvCf,SACElB,QAAQmB,OAAO,CAACe;oBACd,sFAAsF;oBACtF,MAAMC,iBAAiB7B,2BAA2B2B,QAAQG,YAAYH;oBACtEC,MAAMd,UAAU,GAAGe;gBACrB;gBAEF;YACF;QACF;QAEA,MAAM,IAAIE,MAAM;IAClB;IAEA,qBACE,MAAClC;QAAMmC,SAAS;;0BACd,MAACrC;gBAAYsC,QAAO;gBAAQC,WAAW;;kCACrC,KAACtC;wBAAWuC,IAAInB;wBAAyBoB,MAAM;kCAAC;;kCAGhD,KAAC5C;wBACC6C,sBAAsBnC;wBACtBW,OAAOE;wBACPH,UAAUc;wBACVY,SAAStB;wBACTuB,OAAM;wBACNC,OAAO;;;;0BAGX,MAAC3C;gBACC4C,WAAU;gBACVT,SAAS;gBACTU,IAAI;oBACFC,UAAU;oBACVC,QAAQ;oBACRC,KAAK;gBACP;;kCAEA,KAACzC;wBAAQU,YAAYC;wBAAoBF,OAAOS;wBAASV,UAAUW;;kCACnE,KAACpB;wBAAoBW,YAAYC;wBAAoBF,OAAOO;wBAAaR,UAAUS;;kCACnF,KAACvB;wBACCgD,MAAK;wBACLP,OAAM;wBACN1B,OAAOI;wBACP8B,OAAO5B;wBACPP,UAAU,CAACoC,IAAM9B,qBAAqB8B,EAAEC,MAAM,CAACpC,KAAK;wBACpD6B,IAAI;4BAAEQ,OAAO;wBAAQ;;;;0BAGzB,KAAC7C;gBAAQS,YAAYC;gBAAoBF,OAAOW;gBAASZ,UAAUa;;;;AAGzE"}
1
+ {"version":3,"sources":["../../../../src/plugins/pyroscope-profile-query/PyroscopeProfileQueryEditor.tsx"],"sourcesContent":["// Copyright 2025 The Perses Authors\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable law or agreed to in writing, software\n// distributed under the License is distributed on an \"AS IS\" BASIS,\n// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n// See the License for the specific language governing permissions and\n// limitations under the License.\n\nimport { DatasourceSelect, DatasourceSelectProps } from '@perses-dev/plugin-system';\nimport { useId } from '@perses-dev/components';\nimport { produce } from 'immer';\nimport { FormControl, InputLabel, Stack, TextField, useTheme } from '@mui/material';\nimport { ReactElement } from 'react';\nimport {\n DEFAULT_PYROSCOPE,\n isDefaultPyroscopeSelector,\n isPyroscopeDatasourceSelector,\n PYROSCOPE_DATASOURCE_KIND,\n} from '../../model';\nimport { ProfileTypeSelector, Service, Filters } from '../../components';\nimport {\n ProfileQueryEditorProps,\n useMaxNodesState,\n useProfileTypeState,\n useServiceState,\n useFiltersState,\n} from './query-editor-model';\n\nexport function PyroscopeProfileQueryEditor(props: ProfileQueryEditorProps): ReactElement {\n const { onChange, value } = props;\n const { datasource } = value;\n const selectedDatasource = datasource ?? DEFAULT_PYROSCOPE;\n const datasourceSelectLabelID = useId('pyroscope-datasource-label');\n\n const { maxNodes, handleMaxNodesChange, maxNodesHasError } = useMaxNodesState(props);\n const { profileType, handleProfileTypeChange } = useProfileTypeState(props);\n const { service, handleServiceChange } = useServiceState(props);\n const { filters, handleFiltersChange } = useFiltersState(props);\n\n const handleDatasourceChange: DatasourceSelectProps['onChange'] = (next) => {\n // Check if the next value is a DatasourceSelector\n if (typeof next === 'object' && 'kind' in next && 'name' in next) {\n if (isPyroscopeDatasourceSelector(next)) {\n onChange(\n produce(value, (draft) => {\n // If they're using the default, just omit the datasource prop (i.e. set to undefined)\n draft.datasource = isDefaultPyroscopeSelector(next) ? undefined : next;\n })\n );\n return;\n }\n }\n\n throw new Error('Got unexpected non-Pyroscope datasource selector');\n };\n\n return (\n <Stack spacing={2}>\n <FormControl margin=\"dense\" fullWidth={false}>\n <InputLabel id={datasourceSelectLabelID} shrink>\n Pyroscope Datasource\n </InputLabel>\n <DatasourceSelect\n datasourcePluginKind={PYROSCOPE_DATASOURCE_KIND}\n value={selectedDatasource}\n onChange={handleDatasourceChange}\n labelId={datasourceSelectLabelID}\n label=\"Pyroscope Datasource\"\n notched\n />\n </FormControl>\n <Stack\n direction=\"row\"\n sx={{\n [useTheme().breakpoints.down('sm')]: {\n flexWrap: 'wrap',\n },\n gap: 2,\n rowGap: 1,\n }}\n >\n <Service datasource={selectedDatasource} value={service} onChange={handleServiceChange} />\n <ProfileTypeSelector datasource={selectedDatasource} value={profileType} onChange={handleProfileTypeChange} />\n <TextField\n type=\"number\"\n size=\"small\"\n label=\"Max Nodes\"\n value={maxNodes}\n error={maxNodesHasError}\n onChange={(e) => handleMaxNodesChange(e.target.value)}\n sx={(theme) => ({ width: 250, [theme.breakpoints.down('sm')]: { width: '100%' } })}\n slotProps={{ htmlInput: { step: 1 } }}\n />\n </Stack>\n <Filters datasource={selectedDatasource} value={filters} onChange={handleFiltersChange} />\n </Stack>\n );\n}\n"],"names":["DatasourceSelect","useId","produce","FormControl","InputLabel","Stack","TextField","useTheme","DEFAULT_PYROSCOPE","isDefaultPyroscopeSelector","isPyroscopeDatasourceSelector","PYROSCOPE_DATASOURCE_KIND","ProfileTypeSelector","Service","Filters","useMaxNodesState","useProfileTypeState","useServiceState","useFiltersState","PyroscopeProfileQueryEditor","props","onChange","value","datasource","selectedDatasource","datasourceSelectLabelID","maxNodes","handleMaxNodesChange","maxNodesHasError","profileType","handleProfileTypeChange","service","handleServiceChange","filters","handleFiltersChange","handleDatasourceChange","next","draft","undefined","Error","spacing","margin","fullWidth","id","shrink","datasourcePluginKind","labelId","label","notched","direction","sx","breakpoints","down","flexWrap","gap","rowGap","type","size","error","e","target","theme","width","slotProps","htmlInput","step"],"mappings":"AAAA,oCAAoC;AACpC,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,6CAA6C;AAC7C,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,SAASA,gBAAgB,QAA+B,4BAA4B;AACpF,SAASC,KAAK,QAAQ,yBAAyB;AAC/C,SAASC,OAAO,QAAQ,QAAQ;AAChC,SAASC,WAAW,EAAEC,UAAU,EAAEC,KAAK,EAAEC,SAAS,EAAEC,QAAQ,QAAQ,gBAAgB;AAEpF,SACEC,iBAAiB,EACjBC,0BAA0B,EAC1BC,6BAA6B,EAC7BC,yBAAyB,QACpB,cAAc;AACrB,SAASC,mBAAmB,EAAEC,OAAO,EAAEC,OAAO,QAAQ,mBAAmB;AACzE,SAEEC,gBAAgB,EAChBC,mBAAmB,EACnBC,eAAe,EACfC,eAAe,QACV,uBAAuB;AAE9B,OAAO,SAASC,4BAA4BC,KAA8B;IACxE,MAAM,EAAEC,QAAQ,EAAEC,KAAK,EAAE,GAAGF;IAC5B,MAAM,EAAEG,UAAU,EAAE,GAAGD;IACvB,MAAME,qBAAqBD,cAAcf;IACzC,MAAMiB,0BAA0BxB,MAAM;IAEtC,MAAM,EAAEyB,QAAQ,EAAEC,oBAAoB,EAAEC,gBAAgB,EAAE,GAAGb,iBAAiBK;IAC9E,MAAM,EAAES,WAAW,EAAEC,uBAAuB,EAAE,GAAGd,oBAAoBI;IACrE,MAAM,EAAEW,OAAO,EAAEC,mBAAmB,EAAE,GAAGf,gBAAgBG;IACzD,MAAM,EAAEa,OAAO,EAAEC,mBAAmB,EAAE,GAAGhB,gBAAgBE;IAEzD,MAAMe,yBAA4D,CAACC;QACjE,kDAAkD;QAClD,IAAI,OAAOA,SAAS,YAAY,UAAUA,QAAQ,UAAUA,MAAM;YAChE,IAAI1B,8BAA8B0B,OAAO;gBACvCf,SACEnB,QAAQoB,OAAO,CAACe;oBACd,sFAAsF;oBACtFA,MAAMd,UAAU,GAAGd,2BAA2B2B,QAAQE,YAAYF;gBACpE;gBAEF;YACF;QACF;QAEA,MAAM,IAAIG,MAAM;IAClB;IAEA,qBACE,MAAClC;QAAMmC,SAAS;;0BACd,MAACrC;gBAAYsC,QAAO;gBAAQC,WAAW;;kCACrC,KAACtC;wBAAWuC,IAAIlB;wBAAyBmB,MAAM;kCAAC;;kCAGhD,KAAC5C;wBACC6C,sBAAsBlC;wBACtBW,OAAOE;wBACPH,UAAUc;wBACVW,SAASrB;wBACTsB,OAAM;wBACNC,OAAO;;;;0BAGX,MAAC3C;gBACC4C,WAAU;gBACVC,IAAI;oBACF,CAAC3C,WAAW4C,WAAW,CAACC,IAAI,CAAC,MAAM,EAAE;wBACnCC,UAAU;oBACZ;oBACAC,KAAK;oBACLC,QAAQ;gBACV;;kCAEA,KAAC1C;wBAAQU,YAAYC;wBAAoBF,OAAOS;wBAASV,UAAUW;;kCACnE,KAACpB;wBAAoBW,YAAYC;wBAAoBF,OAAOO;wBAAaR,UAAUS;;kCACnF,KAACxB;wBACCkD,MAAK;wBACLC,MAAK;wBACLV,OAAM;wBACNzB,OAAOI;wBACPgC,OAAO9B;wBACPP,UAAU,CAACsC,IAAMhC,qBAAqBgC,EAAEC,MAAM,CAACtC,KAAK;wBACpD4B,IAAI,CAACW,QAAW,CAAA;gCAAEC,OAAO;gCAAK,CAACD,MAAMV,WAAW,CAACC,IAAI,CAAC,MAAM,EAAE;oCAAEU,OAAO;gCAAO;4BAAE,CAAA;wBAChFC,WAAW;4BAAEC,WAAW;gCAAEC,MAAM;4BAAE;wBAAE;;;;0BAGxC,KAACnD;gBAAQS,YAAYC;gBAAoBF,OAAOW;gBAASZ,UAAUa;;;;AAGzE"}
package/mf-manifest.json CHANGED
@@ -5,11 +5,11 @@
5
5
  "name": "Pyroscope",
6
6
  "type": "app",
7
7
  "buildInfo": {
8
- "buildVersion": "0.2.0",
8
+ "buildVersion": "0.3.1",
9
9
  "buildName": "@perses-dev/pyroscope-plugin"
10
10
  },
11
11
  "remoteEntry": {
12
- "name": "__mf/js/Pyroscope.24cb38f3.js",
12
+ "name": "__mf/js/Pyroscope.83a074ec.js",
13
13
  "path": "",
14
14
  "type": "global"
15
15
  },
@@ -20,7 +20,7 @@
20
20
  "api": ""
21
21
  },
22
22
  "globalName": "Pyroscope",
23
- "pluginVersion": "0.18.1",
23
+ "pluginVersion": "0.19.1",
24
24
  "prefetchInterface": false,
25
25
  "publicPath": "/plugins/Pyroscope/"
26
26
  },
@@ -95,7 +95,7 @@
95
95
  "js": {
96
96
  "async": [],
97
97
  "sync": [
98
- "__mf/js/async/5358.40b9537e.js"
98
+ "__mf/js/async/3105.1ab1c855.js"
99
99
  ]
100
100
  },
101
101
  "css": {
@@ -152,7 +152,7 @@
152
152
  "js": {
153
153
  "async": [],
154
154
  "sync": [
155
- "__mf/js/async/4368.2d817d5d.js"
155
+ "__mf/js/async/4368.e6685ebf.js"
156
156
  ]
157
157
  },
158
158
  "css": {
@@ -344,14 +344,15 @@
344
344
  "__mf/js/async/__federation_expose_PyroscopeDatasource.76f63abf.js"
345
345
  ],
346
346
  "async": [
347
- "__mf/js/async/5215.6fd5cc14.js",
347
+ "__mf/js/async/5135.ae4df243.js",
348
348
  "__mf/js/async/9092.cfd47472.js",
349
349
  "__mf/js/async/5220.d1e40fff.js",
350
- "__mf/js/async/__federation_expose_PyroscopeProfileQuery.75c9c11b.js",
351
- "__mf/js/async/424.edb69d58.js",
350
+ "__mf/js/async/677.58650020.js",
351
+ "__mf/js/async/__federation_expose_PyroscopeProfileQuery.e8a6e53f.js",
352
+ "__mf/js/async/4778.c791e281.js",
352
353
  "__mf/js/async/7376.c4cd77b0.js",
353
354
  "__mf/js/async/2002.8fc3eb19.js",
354
- "__mf/js/async/__federation_expose_PyroscopeExplorer.88d5e4fb.js",
355
+ "__mf/js/async/__federation_expose_PyroscopeExplorer.d2e8d27c.js",
355
356
  "__mf/js/async/5876.38b119d5.js",
356
357
  "__mf/js/async/3431.bc5c0624.js",
357
358
  "__mf/js/async/2114.6befeb2d.js",
@@ -359,7 +360,6 @@
359
360
  "__mf/js/async/4238.f154b81c.js",
360
361
  "__mf/js/async/3224.755c2f09.js",
361
362
  "__mf/js/async/2292.ed7843fc.js",
362
- "__mf/js/async/1339.e58b309f.js",
363
363
  "__mf/js/async/8488.00c7f348.js",
364
364
  "__mf/js/async/8216.be450b83.js"
365
365
  ]
@@ -367,7 +367,7 @@
367
367
  "css": {
368
368
  "sync": [],
369
369
  "async": [
370
- "__mf/css/async/1339.6763d50b.css"
370
+ "__mf/css/async/2341.6763d50b.css"
371
371
  ]
372
372
  }
373
373
  },
@@ -379,25 +379,25 @@
379
379
  "assets": {
380
380
  "js": {
381
381
  "sync": [
382
- "__mf/js/async/5215.6fd5cc14.js",
382
+ "__mf/js/async/5135.ae4df243.js",
383
383
  "__mf/js/async/9092.cfd47472.js",
384
384
  "__mf/js/async/5220.d1e40fff.js",
385
- "__mf/js/async/__federation_expose_PyroscopeProfileQuery.75c9c11b.js"
385
+ "__mf/js/async/677.58650020.js",
386
+ "__mf/js/async/__federation_expose_PyroscopeProfileQuery.e8a6e53f.js"
386
387
  ],
387
388
  "async": [
388
389
  "__mf/js/async/4238.f154b81c.js",
389
390
  "__mf/js/async/3224.755c2f09.js",
390
- "__mf/js/async/424.edb69d58.js",
391
+ "__mf/js/async/4778.c791e281.js",
391
392
  "__mf/js/async/7376.c4cd77b0.js",
392
393
  "__mf/js/async/2002.8fc3eb19.js",
393
394
  "__mf/js/async/5876.38b119d5.js",
394
395
  "__mf/js/async/3431.bc5c0624.js",
395
396
  "__mf/js/async/5220.d1e40fff.js",
396
- "__mf/js/async/__federation_expose_PyroscopeExplorer.88d5e4fb.js",
397
+ "__mf/js/async/__federation_expose_PyroscopeExplorer.d2e8d27c.js",
397
398
  "__mf/js/async/2114.6befeb2d.js",
398
399
  "__mf/js/async/2911.ec166b7f.js",
399
400
  "__mf/js/async/2292.ed7843fc.js",
400
- "__mf/js/async/1339.e58b309f.js",
401
401
  "__mf/js/async/8488.00c7f348.js",
402
402
  "__mf/js/async/8216.be450b83.js",
403
403
  "__mf/js/async/4758.a629b413.js"
@@ -406,7 +406,7 @@
406
406
  "css": {
407
407
  "sync": [],
408
408
  "async": [
409
- "__mf/css/async/1339.6763d50b.css",
409
+ "__mf/css/async/2341.6763d50b.css",
410
410
  "__mf/css/async/4758.6763d50b.css"
411
411
  ]
412
412
  }
@@ -420,24 +420,24 @@
420
420
  "js": {
421
421
  "sync": [
422
422
  "__mf/js/async/5220.d1e40fff.js",
423
- "__mf/js/async/__federation_expose_PyroscopeExplorer.88d5e4fb.js"
423
+ "__mf/js/async/__federation_expose_PyroscopeExplorer.d2e8d27c.js"
424
424
  ],
425
425
  "async": [
426
426
  "__mf/js/async/9092.cfd47472.js",
427
- "__mf/js/async/5215.6fd5cc14.js",
427
+ "__mf/js/async/5135.ae4df243.js",
428
428
  "__mf/js/async/5220.d1e40fff.js",
429
- "__mf/js/async/__federation_expose_PyroscopeProfileQuery.75c9c11b.js",
429
+ "__mf/js/async/677.58650020.js",
430
+ "__mf/js/async/__federation_expose_PyroscopeProfileQuery.e8a6e53f.js",
430
431
  "__mf/js/async/7376.c4cd77b0.js",
431
432
  "__mf/js/async/2002.8fc3eb19.js",
432
433
  "__mf/js/async/3431.bc5c0624.js",
433
434
  "__mf/js/async/8488.00c7f348.js",
434
- "__mf/js/async/424.edb69d58.js",
435
+ "__mf/js/async/4778.c791e281.js",
435
436
  "__mf/js/async/5876.38b119d5.js",
436
437
  "__mf/js/async/4238.f154b81c.js",
437
438
  "__mf/js/async/3224.755c2f09.js",
438
439
  "__mf/js/async/2292.ed7843fc.js",
439
440
  "__mf/js/async/2911.ec166b7f.js",
440
- "__mf/js/async/1339.e58b309f.js",
441
441
  "__mf/js/async/8216.be450b83.js",
442
442
  "__mf/js/async/2114.6befeb2d.js"
443
443
  ]
@@ -445,7 +445,7 @@
445
445
  "css": {
446
446
  "sync": [],
447
447
  "async": [
448
- "__mf/css/async/1339.6763d50b.css"
448
+ "__mf/css/async/2341.6763d50b.css"
449
449
  ]
450
450
  }
451
451
  },
package/mf-stats.json CHANGED
@@ -5,11 +5,11 @@
5
5
  "name": "Pyroscope",
6
6
  "type": "app",
7
7
  "buildInfo": {
8
- "buildVersion": "0.2.0",
8
+ "buildVersion": "0.3.1",
9
9
  "buildName": "@perses-dev/pyroscope-plugin"
10
10
  },
11
11
  "remoteEntry": {
12
- "name": "__mf/js/Pyroscope.24cb38f3.js",
12
+ "name": "__mf/js/Pyroscope.83a074ec.js",
13
13
  "path": "",
14
14
  "type": "global"
15
15
  },
@@ -20,7 +20,7 @@
20
20
  "api": ""
21
21
  },
22
22
  "globalName": "Pyroscope",
23
- "pluginVersion": "0.18.1",
23
+ "pluginVersion": "0.19.1",
24
24
  "prefetchInterface": false,
25
25
  "publicPath": "/plugins/Pyroscope/"
26
26
  },
@@ -106,7 +106,7 @@
106
106
  "js": {
107
107
  "async": [],
108
108
  "sync": [
109
- "__mf/js/async/5358.40b9537e.js"
109
+ "__mf/js/async/3105.1ab1c855.js"
110
110
  ]
111
111
  },
112
112
  "css": {
@@ -178,7 +178,7 @@
178
178
  "js": {
179
179
  "async": [],
180
180
  "sync": [
181
- "__mf/js/async/4368.2d817d5d.js"
181
+ "__mf/js/async/4368.e6685ebf.js"
182
182
  ]
183
183
  },
184
184
  "css": {
@@ -415,14 +415,15 @@
415
415
  "__mf/js/async/__federation_expose_PyroscopeDatasource.76f63abf.js"
416
416
  ],
417
417
  "async": [
418
- "__mf/js/async/5215.6fd5cc14.js",
418
+ "__mf/js/async/5135.ae4df243.js",
419
419
  "__mf/js/async/9092.cfd47472.js",
420
420
  "__mf/js/async/5220.d1e40fff.js",
421
- "__mf/js/async/__federation_expose_PyroscopeProfileQuery.75c9c11b.js",
422
- "__mf/js/async/424.edb69d58.js",
421
+ "__mf/js/async/677.58650020.js",
422
+ "__mf/js/async/__federation_expose_PyroscopeProfileQuery.e8a6e53f.js",
423
+ "__mf/js/async/4778.c791e281.js",
423
424
  "__mf/js/async/7376.c4cd77b0.js",
424
425
  "__mf/js/async/2002.8fc3eb19.js",
425
- "__mf/js/async/__federation_expose_PyroscopeExplorer.88d5e4fb.js",
426
+ "__mf/js/async/__federation_expose_PyroscopeExplorer.d2e8d27c.js",
426
427
  "__mf/js/async/5876.38b119d5.js",
427
428
  "__mf/js/async/3431.bc5c0624.js",
428
429
  "__mf/js/async/2114.6befeb2d.js",
@@ -430,7 +431,6 @@
430
431
  "__mf/js/async/4238.f154b81c.js",
431
432
  "__mf/js/async/3224.755c2f09.js",
432
433
  "__mf/js/async/2292.ed7843fc.js",
433
- "__mf/js/async/1339.e58b309f.js",
434
434
  "__mf/js/async/8488.00c7f348.js",
435
435
  "__mf/js/async/8216.be450b83.js"
436
436
  ]
@@ -438,7 +438,7 @@
438
438
  "css": {
439
439
  "sync": [],
440
440
  "async": [
441
- "__mf/css/async/1339.6763d50b.css"
441
+ "__mf/css/async/2341.6763d50b.css"
442
442
  ]
443
443
  }
444
444
  }
@@ -458,25 +458,25 @@
458
458
  "assets": {
459
459
  "js": {
460
460
  "sync": [
461
- "__mf/js/async/5215.6fd5cc14.js",
461
+ "__mf/js/async/5135.ae4df243.js",
462
462
  "__mf/js/async/9092.cfd47472.js",
463
463
  "__mf/js/async/5220.d1e40fff.js",
464
- "__mf/js/async/__federation_expose_PyroscopeProfileQuery.75c9c11b.js"
464
+ "__mf/js/async/677.58650020.js",
465
+ "__mf/js/async/__federation_expose_PyroscopeProfileQuery.e8a6e53f.js"
465
466
  ],
466
467
  "async": [
467
468
  "__mf/js/async/4238.f154b81c.js",
468
469
  "__mf/js/async/3224.755c2f09.js",
469
- "__mf/js/async/424.edb69d58.js",
470
+ "__mf/js/async/4778.c791e281.js",
470
471
  "__mf/js/async/7376.c4cd77b0.js",
471
472
  "__mf/js/async/2002.8fc3eb19.js",
472
473
  "__mf/js/async/5876.38b119d5.js",
473
474
  "__mf/js/async/3431.bc5c0624.js",
474
475
  "__mf/js/async/5220.d1e40fff.js",
475
- "__mf/js/async/__federation_expose_PyroscopeExplorer.88d5e4fb.js",
476
+ "__mf/js/async/__federation_expose_PyroscopeExplorer.d2e8d27c.js",
476
477
  "__mf/js/async/2114.6befeb2d.js",
477
478
  "__mf/js/async/2911.ec166b7f.js",
478
479
  "__mf/js/async/2292.ed7843fc.js",
479
- "__mf/js/async/1339.e58b309f.js",
480
480
  "__mf/js/async/8488.00c7f348.js",
481
481
  "__mf/js/async/8216.be450b83.js",
482
482
  "__mf/js/async/4758.a629b413.js"
@@ -485,7 +485,7 @@
485
485
  "css": {
486
486
  "sync": [],
487
487
  "async": [
488
- "__mf/css/async/1339.6763d50b.css",
488
+ "__mf/css/async/2341.6763d50b.css",
489
489
  "__mf/css/async/4758.6763d50b.css"
490
490
  ]
491
491
  }
@@ -505,24 +505,24 @@
505
505
  "js": {
506
506
  "sync": [
507
507
  "__mf/js/async/5220.d1e40fff.js",
508
- "__mf/js/async/__federation_expose_PyroscopeExplorer.88d5e4fb.js"
508
+ "__mf/js/async/__federation_expose_PyroscopeExplorer.d2e8d27c.js"
509
509
  ],
510
510
  "async": [
511
511
  "__mf/js/async/9092.cfd47472.js",
512
- "__mf/js/async/5215.6fd5cc14.js",
512
+ "__mf/js/async/5135.ae4df243.js",
513
513
  "__mf/js/async/5220.d1e40fff.js",
514
- "__mf/js/async/__federation_expose_PyroscopeProfileQuery.75c9c11b.js",
514
+ "__mf/js/async/677.58650020.js",
515
+ "__mf/js/async/__federation_expose_PyroscopeProfileQuery.e8a6e53f.js",
515
516
  "__mf/js/async/7376.c4cd77b0.js",
516
517
  "__mf/js/async/2002.8fc3eb19.js",
517
518
  "__mf/js/async/3431.bc5c0624.js",
518
519
  "__mf/js/async/8488.00c7f348.js",
519
- "__mf/js/async/424.edb69d58.js",
520
+ "__mf/js/async/4778.c791e281.js",
520
521
  "__mf/js/async/5876.38b119d5.js",
521
522
  "__mf/js/async/4238.f154b81c.js",
522
523
  "__mf/js/async/3224.755c2f09.js",
523
524
  "__mf/js/async/2292.ed7843fc.js",
524
525
  "__mf/js/async/2911.ec166b7f.js",
525
- "__mf/js/async/1339.e58b309f.js",
526
526
  "__mf/js/async/8216.be450b83.js",
527
527
  "__mf/js/async/2114.6befeb2d.js"
528
528
  ]
@@ -530,7 +530,7 @@
530
530
  "css": {
531
531
  "sync": [],
532
532
  "async": [
533
- "__mf/css/async/1339.6763d50b.css"
533
+ "__mf/css/async/2341.6763d50b.css"
534
534
  ]
535
535
  }
536
536
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@perses-dev/pyroscope-plugin",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "homepage": "https://github.com/perses/plugins/blob/main/README.md",
5
5
  "repository": {
6
6
  "type": "git",