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ana/./public/app/features/datasources/components/DashboardsTable.tsx","webpack://grafana/./public/app/features/plugins/admin/components/Badges/PluginDisabledBadge.tsx","webpack://grafana/./public/app/features/plugins/admin/components/Badges/sharedStyles.ts","webpack://grafana/./public/app/features/plugins/admin/components/Badges/PluginInstallBadge.tsx","webpack://grafana/./public/app/features/plugins/admin/components/Badges/PluginEnterpriseBadge.tsx","webpack://grafana/./public/app/features/plugins/admin/components/Badges/PluginUpdateAvailableBadge.tsx","webpack://grafana/./public/app/features/plugins/admin/components/Badges/PluginAngularBadge.tsx","webpack://grafana/./public/app/features/plugins/admin/components/Badges/PluginDeprecatedBadge.tsx","webpack://grafana/./public/app/features/plugins/admin/components/Loader.tsx","webpack://grafana/./public/app/features/plugins/admin/components/VersionList.tsx","webpack://grafana/./public/app/features/plugins/admin/hooks/usePluginConfig.tsx","webpack://grafana/./public/app/features/plugins/admin/components/AppConfigWrapper.tsx","webpack://grafana/./public/app/features/plugins/admin/components/PluginDashboards.tsx","webpack://grafana/./public/app/features/plugins/admin/components/PluginUsage.tsx","webpack://grafana/./public/app/features/plugins/admin/components/PluginDetailsBody.tsx","webpack://grafana/./public/app/features/plugins/admin/components/PluginDetailsDisabledError.tsx","webpack://grafana/./public/app/features/plugins/admin/components/PluginDetailsSignature.tsx","webpack://grafana/./public/app/features/plugins/admin/hooks/usePluginDetailsTabs.tsx","webpack://grafana/./public/app/features/plugins/admin/components/GetStartedWithPlugin/GetStartedWithApp.tsx","webpack://grafana/./public/app/features/plugins/admin/permissions.ts","webpack://grafana/./public/app/features/plugins/admin/components/GetStartedWithPlugin/GetStartedWithDataSource.tsx","webpack://grafana/./public/app/features/plugins/admin/components/GetStartedWithPlugin/GetStartedWithPlugin.tsx","webpack://grafana/./public/app/features/plugins/admin/components/InstallControls/InstallControlsWarning.tsx","webpack://grafana/./public/app/features/plugins/admin/tracking.ts","webpack://grafana/./public/app/features/plugins/admin/components/InstallControls/InstallControlsButton.tsx","webpack://grafana/./public/app/features/plugins/admin/components/InstallControls/ExternallyManagedButton.tsx","webpack://grafana/./public/app/features/plugins/admin/components/PluginActions.tsx","webpack://grafana/./public/app/features/plugins/admin/components/PluginSubtitle.tsx","webpack://grafana/./public/app/features/plugins/admin/components/PluginDetailsHeaderDependencies.tsx","webpack://grafana/./public/app/features/plugins/admin/components/PluginSignatureDetailsBadge.tsx","webpack://grafana/./public/app/features/plugins/admin/components/PluginDetailsHeaderSignature.tsx","webpack://grafana/./public/app/features/plugins/admin/hooks/usePluginInfo.tsx","webpack://grafana/./public/app/features/plugins/admin/hooks/usePluginPageExtensions.tsx","webpack://grafana/./public/app/features/plugins/admin/components/PluginDetailsDeprecatedWarning.tsx","webpack://grafana/./public/app/features/plugins/admin/components/PluginDetailsPage.tsx","webpack://grafana/./public/app/features/plugins/admin/state/selectors.ts","webpack://grafana/./public/app/features/plugins/admin/state/hooks.ts"],"sourcesContent":["import React from 'react';\n\nimport { Button, Icon } from '@grafana/ui';\nimport { PluginDashboard } from 'app/types';\n\nexport interface Props {\n // List of plugin dashboards to show in the table\n dashboards: PluginDashboard[];\n // Callback used when the user clicks on importing a dashboard\n onImport: (dashboard: PluginDashboard, overwrite: boolean) => void;\n // Callback used when the user clicks on removing a dashboard\n onRemove: (dashboard: PluginDashboard) => void;\n}\n\nexport function DashboardsTable({ dashboards, onImport, onRemove }: Props) {\n function buttonText(dashboard: PluginDashboard) {\n return dashboard.revision !== dashboard.importedRevision ? 'Update' : 'Re-import';\n }\n\n return (\n <table className=\"filter-table\">\n <tbody>\n {dashboards.map((dashboard, index) => {\n return (\n <tr key={`${dashboard.dashboardId}-${index}`}>\n <td className=\"width-1\">\n <Icon name=\"apps\" />\n </td>\n <td>\n {dashboard.imported ? (\n <a href={dashboard.importedUrl}>{dashboard.title}</a>\n ) : (\n <span>{dashboard.title}</span>\n )}\n </td>\n <td style={{ textAlign: 'right' }}>\n {!dashboard.imported ? (\n <Button variant=\"secondary\" size=\"sm\" onClick={() => onImport(dashboard, false)}>\n Import\n </Button>\n ) : (\n <Button variant=\"secondary\" size=\"sm\" onClick={() => onImport(dashboard, true)}>\n {buttonText(dashboard)}\n </Button>\n )}\n {dashboard.imported && (\n <Button\n aria-label=\"Delete dashboard\"\n icon=\"trash-alt\"\n variant=\"destructive\"\n size=\"sm\"\n onClick={() => onRemove(dashboard)}\n />\n )}\n </td>\n </tr>\n );\n })}\n </tbody>\n </table>\n );\n}\n\nexport default DashboardsTable;\n","import React from 'react';\n\nimport { PluginErrorCode } from '@grafana/data';\nimport { Badge } from '@grafana/ui';\n\ntype Props = { error?: PluginErrorCode };\n\nexport function PluginDisabledBadge({ error }: Props): React.ReactElement {\n const tooltip = errorCodeToTooltip(error);\n return <Badge icon=\"exclamation-triangle\" text=\"Disabled\" color=\"red\" tooltip={tooltip} />;\n}\n\nfunction errorCodeToTooltip(error?: PluginErrorCode): string | undefined {\n switch (error) {\n case PluginErrorCode.modifiedSignature:\n return 'Plugin disabled due to modified content';\n case PluginErrorCode.invalidSignature:\n return 'Plugin disabled due to invalid plugin signature';\n case PluginErrorCode.missingSignature:\n return 'Plugin disabled due to missing plugin signature';\n case null:\n case undefined:\n return 'Plugin disabled';\n default:\n return `Plugin disabled due to unknown error${error ? `: ${error}` : ''}`;\n }\n}\n","import { css } from '@emotion/css';\n\nimport { GrafanaTheme2 } from '@grafana/data';\n\nexport const getBadgeColor = (theme: GrafanaTheme2) => css`\n background: ${theme.colors.background.primary};\n border-color: ${theme.colors.border.strong};\n color: ${theme.colors.text.secondary};\n`;\n","import React from 'react';\n\nimport { Badge, useStyles2 } from '@grafana/ui';\n\nimport { getBadgeColor } from './sharedStyles';\n\nexport function PluginInstalledBadge(): React.ReactElement {\n const customBadgeStyles = useStyles2(getBadgeColor);\n return <Badge text=\"Installed\" color=\"orange\" className={customBadgeStyles} />;\n}\n","import React from 'react';\n\nimport { featureEnabled } from '@grafana/runtime';\nimport { Badge, Button, HorizontalGroup, PluginSignatureBadge, useStyles2 } from '@grafana/ui';\n\nimport { CatalogPlugin } from '../../types';\n\nimport { getBadgeColor } from './sharedStyles';\n\ntype Props = { plugin: CatalogPlugin };\n\nexport function PluginEnterpriseBadge({ plugin }: Props): React.ReactElement {\n const customBadgeStyles = useStyles2(getBadgeColor);\n const onClick = (ev: React.MouseEvent<HTMLButtonElement, MouseEvent>) => {\n ev.preventDefault();\n window.open(\n `https://grafana.com/grafana/plugins/${plugin.id}?utm_source=grafana_catalog_learn_more`,\n '_blank',\n 'noopener,noreferrer'\n );\n };\n\n if (featureEnabled('enterprise.plugins')) {\n return <Badge text=\"Enterprise\" color=\"blue\" />;\n }\n\n return (\n <HorizontalGroup>\n <PluginSignatureBadge status={plugin.signature} />\n <Badge icon=\"lock\" aria-label=\"lock icon\" text=\"Enterprise\" color=\"blue\" className={customBadgeStyles} />\n <Button size=\"sm\" fill=\"text\" icon=\"external-link-alt\" onClick={onClick}>\n Learn more\n </Button>\n </HorizontalGroup>\n );\n}\n","import { css } from '@emotion/css';\nimport React from 'react';\n\nimport { GrafanaTheme2 } from '@grafana/data';\nimport { useStyles2 } from '@grafana/ui';\n\nimport { CatalogPlugin } from '../../types';\n\ntype Props = {\n plugin: CatalogPlugin;\n};\n\nexport function PluginUpdateAvailableBadge({ plugin }: Props): React.ReactElement | null {\n const styles = useStyles2(getStyles);\n return <p className={styles.hasUpdate}>Update available!</p>;\n}\n\nexport const getStyles = (theme: GrafanaTheme2) => {\n return {\n hasUpdate: css`\n color: ${theme.colors.text.secondary};\n font-size: ${theme.typography.bodySmall.fontSize};\n margin-bottom: 0;\n `,\n };\n};\n","import React from 'react';\n\nimport { Badge } from '@grafana/ui';\n\nexport function PluginAngularBadge(): React.ReactElement {\n return (\n <Badge\n icon=\"exclamation-triangle\"\n text=\"Angular\"\n color=\"orange\"\n tooltip=\"This plugin uses deprecated functionality, support for which is being removed.\"\n />\n );\n}\n","import React from 'react';\n\nimport { Badge } from '@grafana/ui';\n\nexport function PluginDeprecatedBadge(): React.ReactElement {\n return (\n <Badge\n icon=\"exclamation-triangle\"\n text=\"Deprecated\"\n color=\"orange\"\n tooltip=\"This plugin is deprecated and no longer receives updates.\"\n />\n );\n}\n","import React from 'react';\n\nimport { LoadingPlaceholder } from '@grafana/ui';\n\nexport interface Props {\n text?: string;\n}\n\nexport const Loader = ({ text = 'Loading...' }: Props) => {\n return (\n <div className=\"page-loader-wrapper\">\n <LoadingPlaceholder text={text} />\n </div>\n );\n};\n","import { css } from '@emotion/css';\nimport React from 'react';\n\nimport { dateTimeFormatTimeAgo, GrafanaTheme2 } from '@grafana/data';\nimport { useStyles2 } from '@grafana/ui';\n\nimport { getLatestCompatibleVersion } from '../helpers';\nimport { Version } from '../types';\n\ninterface Props {\n versions?: Version[];\n installedVersion?: string;\n}\n\nexport const VersionList = ({ versions = [], installedVersion }: Props) => {\n const styles = useStyles2(getStyles);\n const latestCompatibleVersion = getLatestCompatibleVersion(versions);\n\n if (versions.length === 0) {\n return <p>No version history was found.</p>;\n }\n\n return (\n <table className={styles.table}>\n <thead>\n <tr>\n <th>Version</th>\n <th>Last updated</th>\n <th>Grafana Dependency</th>\n </tr>\n </thead>\n <tbody>\n {versions.map((version) => {\n const isInstalledVersion = installedVersion === version.version;\n return (\n <tr key={version.version}>\n {/* Version number */}\n {isInstalledVersion ? (\n <td className={styles.currentVersion}>{version.version} (installed version)</td>\n ) : version.version === latestCompatibleVersion?.version ? (\n <td>{version.version} (latest compatible version)</td>\n ) : (\n <td>{version.version}</td>\n )}\n\n {/* Last updated */}\n <td className={isInstalledVersion ? styles.currentVersion : ''}>\n {dateTimeFormatTimeAgo(version.createdAt)}\n </td>\n {/* Dependency */}\n <td className={isInstalledVersion ? styles.currentVersion : ''}>{version.grafanaDependency || 'N/A'}</td>\n </tr>\n );\n })}\n </tbody>\n </table>\n );\n};\n\nconst getStyles = (theme: GrafanaTheme2) => ({\n container: css`\n padding: ${theme.spacing(2, 4, 3)};\n `,\n table: css`\n table-layout: fixed;\n width: 100%;\n td,\n th {\n padding: ${theme.spacing()} 0;\n }\n th {\n font-size: ${theme.typography.h5.fontSize};\n }\n `,\n currentVersion: css`\n font-weight: ${theme.typography.fontWeightBold};\n `,\n});\n","import { useAsync } from 'react-use';\n\nimport { loadPlugin } from '../../utils';\nimport { CatalogPlugin } from '../types';\n\nexport const usePluginConfig = (plugin?: CatalogPlugin) => {\n return useAsync(async () => {\n if (!plugin) {\n return null;\n }\n\n if (plugin.isFullyInstalled && !plugin.isDisabled) {\n return loadPlugin(plugin.id);\n }\n return null;\n }, [plugin?.id, plugin?.isInstalled, plugin?.isDisabled]);\n};\n","// Libraries\nimport { css } from '@emotion/css';\nimport { cloneDeep, extend } from 'lodash';\nimport React, { PureComponent } from 'react';\n\nimport { PluginMeta, AppPlugin, deprecationWarning } from '@grafana/data';\nimport { AngularComponent, getAngularLoader, getBackendSrv } from '@grafana/runtime';\nimport { Button } from '@grafana/ui';\n\ninterface Props {\n app: AppPlugin;\n}\n\ninterface State {\n angularCtrl: AngularComponent | null;\n refresh: number;\n}\n\nexport class AppConfigCtrlWrapper extends PureComponent<Props, State> {\n element: HTMLElement | null = null;\n //@ts-ignore\n model: PluginMeta;\n\n // Needed for angular scope\n preUpdateHook = () => Promise.resolve();\n postUpdateHook = () => Promise.resolve();\n\n constructor(props: Props) {\n super(props);\n this.state = {\n angularCtrl: null,\n refresh: 0,\n };\n }\n\n componentDidMount() {\n // Force a reload after the first mount -- is there a better way to do this?\n setTimeout(() => {\n this.setState({ refresh: this.state.refresh + 1 });\n }, 5);\n }\n\n componentDidUpdate(prevProps: Props) {\n if (!this.element || this.state.angularCtrl) {\n return;\n }\n\n // Set a copy of the meta\n this.model = cloneDeep(this.props.app.meta);\n\n const loader = getAngularLoader();\n const template = '<plugin-component type=\"app-config-ctrl\"></plugin-component>';\n const scopeProps = {\n ctrl: this,\n // used by angular injectorMonkeyPatch to detect this scenario\n isAppConfigCtrl: true,\n };\n const angularCtrl = loader.load(this.element, scopeProps, template);\n\n this.setState({ angularCtrl });\n }\n\n render() {\n const model = this.model;\n\n const withRightMargin = css({ marginRight: '8px' });\n\n return (\n <div>\n <div ref={(element) => (this.element = element)} />\n <br />\n <br />\n {model && (\n <div className=\"gf-form\">\n {!model.enabled && (\n <Button variant=\"primary\" onClick={this.enable} className={withRightMargin}>\n Enable\n </Button>\n )}\n {model.enabled && (\n <Button variant=\"primary\" onClick={this.update} className={withRightMargin}>\n Update\n </Button>\n )}\n {model.enabled && (\n <Button variant=\"destructive\" onClick={this.disable} className={withRightMargin}>\n Disable\n </Button>\n )}\n </div>\n )}\n </div>\n );\n }\n\n //-----------------------------------------------------------\n // Copied from plugin_edit_ctrl\n //-----------------------------------------------------------\n\n update = () => {\n const pluginId = this.model.id;\n\n this.preUpdateHook()\n .then(() => {\n const updateCmd = extend(\n {\n enabled: this.model.enabled,\n pinned: this.model.pinned,\n jsonData: this.model.jsonData,\n secureJsonData: this.model.secureJsonData,\n },\n {}\n );\n return getBackendSrv().post(`/api/plugins/${pluginId}/settings`, updateCmd);\n })\n .then(this.postUpdateHook)\n .then((res) => {\n window.location.href = window.location.href;\n });\n };\n\n setPreUpdateHook = (callback: () => Promise<void>) => {\n this.preUpdateHook = callback;\n };\n\n setPostUpdateHook = (callback: () => Promise<void>) => {\n this.postUpdateHook = callback;\n };\n\n // Stub to avoid unknown function in legacy code\n importDashboards = (): Promise<void> => {\n deprecationWarning('AppConfig', 'importDashboards()');\n return Promise.resolve();\n };\n\n enable = () => {\n this.model.enabled = true;\n this.model.pinned = true;\n this.update();\n };\n\n disable = () => {\n this.model.enabled = false;\n this.model.pinned = false;\n this.update();\n };\n}\n","import { extend } from 'lodash';\nimport React, { PureComponent } from 'react';\n\nimport { AppEvents, PluginMeta, DataSourceApi } from '@grafana/data';\nimport { getBackendSrv } from '@grafana/runtime';\nimport { appEvents } from 'app/core/core';\nimport DashboardsTable from 'app/features/datasources/components/DashboardsTable';\nimport { PluginDashboard } from 'app/types';\n\ninterface Props {\n plugin: PluginMeta;\n datasource?: DataSourceApi;\n}\n\ninterface State {\n dashboards: PluginDashboard[];\n loading: boolean;\n}\n\nexport class PluginDashboards extends PureComponent<Props, State> {\n constructor(props: Props) {\n super(props);\n this.state = {\n loading: true,\n dashboards: [],\n };\n }\n\n async componentDidMount() {\n const pluginId = this.props.plugin.id;\n getBackendSrv()\n .get(`/api/plugins/${pluginId}/dashboards`)\n .then((dashboards) => {\n this.setState({ dashboards, loading: false });\n });\n }\n\n importAll = () => {\n this.importNext(0);\n };\n\n private importNext = (index: number) => {\n const { dashboards } = this.state;\n return this.import(dashboards[index], true).then(() => {\n if (index + 1 < dashboards.length) {\n return new Promise<void>((resolve) => {\n setTimeout(() => {\n this.importNext(index + 1).then(() => {\n resolve();\n });\n }, 500);\n });\n } else {\n return Promise.resolve();\n }\n });\n };\n\n import = (dash: PluginDashboard, overwrite: boolean) => {\n const { plugin, datasource } = this.props;\n\n const installCmd = {\n pluginId: plugin.id,\n path: dash.path,\n overwrite: overwrite,\n inputs: datasource\n ? [\n {\n name: '*',\n type: 'datasource',\n pluginId: datasource.meta.id,\n value: datasource.name,\n },\n ]\n : [],\n };\n\n return getBackendSrv()\n .post(`/api/dashboards/import`, installCmd)\n .then((res: PluginDashboard) => {\n appEvents.emit(AppEvents.alertSuccess, ['Dashboard Imported', dash.title]);\n extend(dash, res);\n this.setState({ dashboards: [...this.state.dashboards] });\n });\n };\n\n remove = (dash: PluginDashboard) => {\n getBackendSrv()\n .delete('/api/dashboards/uid/' + dash.uid)\n .then(() => {\n dash.imported = false;\n this.setState({ dashboards: [...this.state.dashboards] });\n });\n };\n\n render() {\n const { loading, dashboards } = this.state;\n if (loading) {\n return <div>loading...</div>;\n }\n if (!dashboards || !dashboards.length) {\n return <div>No dashboards are included with this plugin</div>;\n }\n\n return <DashboardsTable dashboards={dashboards} onImport={this.import} onRemove={this.remove} />;\n }\n}\n","import { css } from '@emotion/css';\nimport React, { useMemo } from 'react';\nimport { useAsync } from 'react-use';\nimport AutoSizer from 'react-virtualized-auto-sizer';\nimport { of } from 'rxjs';\n\nimport { GrafanaTheme2, PluginMeta } from '@grafana/data';\nimport { config } from '@grafana/runtime';\nimport { Alert, Spinner, useStyles2 } from '@grafana/ui';\nimport EmptyListCTA from 'app/core/components/EmptyListCTA/EmptyListCTA';\nimport { SearchResultsTable } from 'app/features/search/page/components/SearchResultsTable';\nimport { getGrafanaSearcher, SearchQuery } from 'app/features/search/service';\n\ntype Props = {\n plugin: PluginMeta;\n};\n\nexport function PluginUsage({ plugin }: Props) {\n const styles = useStyles2(getStyles);\n\n const searchQuery = useMemo<SearchQuery>(() => {\n return {\n query: '*',\n panel_type: plugin.id,\n kind: ['panel'],\n };\n }, [plugin]);\n\n const results = useAsync(() => {\n return getGrafanaSearcher().search(searchQuery);\n }, [searchQuery]);\n\n const found = results.value;\n if (found?.totalRows) {\n return (\n <div className={styles.wrap}>\n <div className={styles.info}>\n {plugin.name} is used <b>{found.totalRows}</b> times.\n </div>\n <AutoSizer>\n {({ width, height }) => {\n return (\n <SearchResultsTable\n response={found}\n width={width}\n height={height}\n clearSelection={() => {}}\n keyboardEvents={of()}\n onTagSelected={() => {}}\n />\n );\n }}\n </AutoSizer>\n </div>\n );\n }\n\n if (results.loading) {\n return <Spinner />;\n }\n\n if (!config.featureToggles.panelTitleSearch) {\n return (\n <Alert title=\"Missing feature toggle: panelTitleSearch\">\n Plugin usage requires the new search index to find usage across dashboards\n </Alert>\n );\n }\n\n return (\n <EmptyListCTA\n title={`${plugin.name} is not used in any dashboards yet`}\n buttonIcon=\"plus\"\n buttonTitle=\"Create Dashboard\"\n buttonLink={`dashboard/new?panelType=${plugin.id}&editPanel=1`}\n />\n );\n}\n\nexport const getStyles = (theme: GrafanaTheme2) => {\n return {\n wrap: css`\n width: 100%;\n height: 100%;\n `,\n info: css`\n padding-bottom: 30px;\n `,\n };\n};\n","import { css, cx } from '@emotion/css';\nimport React, { useMemo } from 'react';\n\nimport { AppPlugin, GrafanaTheme2, PluginContextProvider, UrlQueryMap } from '@grafana/data';\nimport { config } from '@grafana/runtime';\nimport { CellProps, Column, InteractiveTable, Stack, useStyles2 } from '@grafana/ui';\n\nimport { VersionList } from '../components/VersionList';\nimport { usePluginConfig } from '../hooks/usePluginConfig';\nimport { CatalogPlugin, Permission, PluginTabIds } from '../types';\n\nimport { AppConfigCtrlWrapper } from './AppConfigWrapper';\nimport { PluginDashboards } from './PluginDashboards';\nimport { PluginUsage } from './PluginUsage';\n\ntype Props = {\n plugin: CatalogPlugin;\n queryParams: UrlQueryMap;\n pageId: string;\n};\n\ntype Cell<T extends keyof Permission = keyof Permission> = CellProps<Permission, Permission[T]>;\n\nexport function PluginDetailsBody({ plugin, queryParams, pageId }: Props): JSX.Element {\n const styles = useStyles2(getStyles);\n const { value: pluginConfig } = usePluginConfig(plugin);\n\n const columns: Array<Column<Permission>> = useMemo(\n () => [\n {\n id: 'action',\n header: 'Action',\n cell: ({ cell: { value } }: Cell<'action'>) => value,\n },\n {\n id: 'scope',\n header: 'Scope',\n cell: ({ cell: { value } }: Cell<'scope'>) => value,\n },\n ],\n []\n );\n\n if (pageId === PluginTabIds.OVERVIEW) {\n return (\n <div\n className={cx(styles.readme, styles.container)}\n dangerouslySetInnerHTML={{\n __html: plugin.details?.readme ?? 'No plugin help or readme markdown file was found',\n }}\n />\n );\n }\n\n if (pageId === PluginTabIds.VERSIONS) {\n return (\n <div className={styles.container}>\n <VersionList versions={plugin.details?.versions} installedVersion={plugin.installedVersion} />\n </div>\n );\n }\n\n if (pageId === PluginTabIds.CONFIG && pluginConfig?.angularConfigCtrl) {\n return (\n <div className={styles.container}>\n <AppConfigCtrlWrapper app={pluginConfig as AppPlugin} />\n </div>\n );\n }\n\n // Permissions will be returned in the iam field for installed plugins and in the details.iam field when fetching details from gcom\n const permissions = plugin.iam?.permissions || plugin.details?.iam?.permissions;\n\n const displayPermissions =\n config.featureToggles.externalServiceAccounts &&\n pageId === PluginTabIds.IAM &&\n permissions &&\n permissions.length > 0;\n\n if (displayPermissions) {\n return (\n <>\n <Stack direction=\"row\">\n The {plugin.name} plugin needs a service account to be able to query Grafana. The following list contains the\n permissions available to the service account:\n </Stack>\n <InteractiveTable\n columns={columns}\n data={permissions}\n getRowId={(permission: Permission) => String(permission.action)}\n />\n </>\n );\n }\n\n if (pluginConfig?.configPages) {\n for (const configPage of pluginConfig.configPages) {\n if (pageId === configPage.id) {\n return (\n <div className={styles.container}>\n <PluginContextProvider meta={pluginConfig.meta}>\n <configPage.body plugin={pluginConfig} query={queryParams} />\n </PluginContextProvider>\n </div>\n );\n }\n }\n }\n\n if (pageId === PluginTabIds.USAGE && pluginConfig) {\n return (\n <div className={styles.container}>\n <PluginUsage plugin={pluginConfig?.meta} />\n </div>\n );\n }\n\n if (pageId === PluginTabIds.DASHBOARDS && pluginConfig) {\n return (\n <div className={styles.container}>\n <PluginDashboards plugin={pluginConfig?.meta} />\n </div>\n );\n }\n\n return (\n <div className={styles.container}>\n <p>Page not found.</p>\n </div>\n );\n}\n\nexport const getStyles = (theme: GrafanaTheme2) => ({\n container: css({\n height: '100%',\n }),\n readme: css({\n '& img': {\n maxWidth: '100%',\n },\n 'h1, h2, h3': {\n marginTop: theme.spacing(3),\n marginBottom: theme.spacing(2),\n },\n '*:first-child': {\n marginTop: 0,\n },\n li: {\n marginLeft: theme.spacing(2),\n '& > p': {\n margin: theme.spacing(1, 0),\n },\n },\n a: {\n color: theme.colors.text.link,\n '&:hover': {\n color: theme.colors.text.link,\n textDecoration: 'underline',\n },\n },\n table: {\n tableLayout: 'fixed',\n width: '100%',\n 'td, th': {\n overflowX: 'auto',\n padding: theme.spacing(0.5, 1),\n },\n 'table, th, td': {\n border: `1px solid ${theme.colors.border.medium}`,\n borderCollapse: 'collapse',\n },\n },\n }),\n});\n","import React, { ReactElement } from 'react';\n\nimport { PluginErrorCode } from '@grafana/data';\nimport { selectors } from '@grafana/e2e-selectors';\nimport { Alert } from '@grafana/ui';\n\nimport { CatalogPlugin } from '../types';\n\ntype Props = {\n className?: string;\n plugin: CatalogPlugin;\n};\n\nexport function PluginDetailsDisabledError({ className, plugin }: Props): ReactElement | null {\n if (!plugin.isDisabled) {\n return null;\n }\n\n return (\n <Alert\n severity=\"error\"\n title=\"Plugin disabled\"\n className={className}\n data-testid={selectors.pages.PluginPage.disabledInfo}\n >\n {renderDescriptionFromError(plugin.error)}\n <p>Please contact your server administrator to get this resolved.</p>\n <a\n href=\"https://grafana.com/docs/grafana/latest/administration/cli/#plugins-commands\"\n className=\"external-link\"\n target=\"_blank\"\n rel=\"noreferrer\"\n >\n Read more about managing plugins\n </a>\n </Alert>\n );\n}\n\nfunction renderDescriptionFromError(error?: PluginErrorCode): ReactElement {\n switch (error) {\n case PluginErrorCode.modifiedSignature:\n return (\n <p>\n Grafana Labs checks each plugin to verify that it has a valid digital signature. While doing this, we\n discovered that the content of this plugin does not match its signature. We can not guarantee the trustworthy\n of this plugin and have therefore disabled it. We recommend you to reinstall the plugin to make sure you are\n running a verified version of this plugin.\n </p>\n );\n case PluginErrorCode.invalidSignature:\n return (\n <p>\n Grafana Labs checks each plugin to verify that it has a valid digital signature. While doing this, we\n discovered that it was invalid. We can not guarantee the trustworthy of this plugin and have therefore\n disabled it. We recommend you to reinstall the plugin to make sure you are running a verified version of this\n plugin.\n </p>\n );\n case PluginErrorCode.missingSignature:\n return (\n <p>\n Grafana Labs checks each plugin to verify that it has a valid digital signature. While doing this, we\n discovered that there is no signature for this plugin. We can not guarantee the trustworthy of this plugin and\n have therefore disabled it. We recommend you to reinstall the plugin to make sure you are running a verified\n version of this plugin.\n </p>\n );\n default:\n return (\n <p>\n We failed to run this plugin due to an unkown reason and have therefore disabled it. We recommend you to\n reinstall the plugin to make sure you are running a working version of this plugin.\n </p>\n );\n }\n}\n","import React from 'react';\n\nimport { PluginErrorCode, PluginSignatureStatus } from '@grafana/data';\nimport { selectors } from '@grafana/e2e-selectors';\nimport { Alert } from '@grafana/ui';\n\nimport { CatalogPlugin } from '../types';\n\ntype Props = {\n className?: string;\n plugin: CatalogPlugin;\n};\n\n// Designed to show signature information inside the active tab on the plugin's details page\nexport function PluginDetailsSignature({ className, plugin }: Props): React.ReactElement | null {\n const isSignatureValid = plugin.signature === PluginSignatureStatus.valid;\n const isCore = plugin.signature === PluginSignatureStatus.internal;\n const isDisabled = plugin.isDisabled && isDisabledDueTooSignatureError(plugin.error);\n\n // The basic information is already available in the header\n if (isSignatureValid || isCore || isDisabled) {\n return null;\n }\n\n return (\n <Alert\n severity=\"warning\"\n title=\"Invalid plugin signature\"\n data-testid={selectors.pages.PluginPage.signatureInfo}\n className={className}\n >\n <p>\n Grafana Labs checks each plugin to verify that it has a valid digital signature. Plugin signature verification\n is part of our security measures to ensure plugins are safe and trustworthy. Grafana Labs can’t guarantee the\n integrity of this unsigned plugin. Ask the plugin author to request it to be signed.\n </p>\n\n <a\n href=\"https://grafana.com/docs/grafana/latest/plugins/plugin-signatures/\"\n className=\"external-link\"\n target=\"_blank\"\n rel=\"noreferrer\"\n >\n Read more about plugins signing.\n </a>\n </Alert>\n );\n}\n\nfunction isDisabledDueTooSignatureError(error: PluginErrorCode | undefined) {\n // If the plugin is disabled due to signature error we rely on the disabled\n // error message instad of the warning about the signature.\n\n switch (error) {\n case PluginErrorCode.invalidSignature:\n case PluginErrorCode.missingSignature:\n case PluginErrorCode.modifiedSignature:\n return true;\n\n default:\n return false;\n }\n}\n","import { useMemo } from 'react';\nimport { useLocation } from 'react-router-dom';\n\nimport { GrafanaPlugin, NavModelItem, PluginIncludeType, PluginType } from '@grafana/data';\nimport { config } from '@grafana/runtime';\nimport { contextSrv } from 'app/core/core';\nimport { AccessControlAction } from 'app/types';\n\nimport { usePluginConfig } from '../hooks/usePluginConfig';\nimport { CatalogPlugin, PluginTabIds, PluginTabLabels } from '../types';\n\ntype ReturnType = {\n error: Error | undefined;\n loading: boolean;\n navModel: NavModelItem;\n activePageId: PluginTabIds | string;\n};\n\nexport const usePluginDetailsTabs = (plugin?: CatalogPlugin, pageId?: PluginTabIds): ReturnType => {\n const { loading, error, value: pluginConfig } = usePluginConfig(plugin);\n const { pathname } = useLocation();\n const defaultTab = useDefaultPage(plugin, pluginConfig);\n const isPublished = Boolean(plugin?.isPublished);\n\n const currentPageId = pageId || defaultTab;\n const navModelChildren = useMemo(() => {\n const canConfigurePlugins = plugin && contextSrv.hasPermissionInMetadata(AccessControlAction.PluginsWrite, plugin);\n const navModelChildren: NavModelItem[] = [];\n if (isPublished) {\n navModelChildren.push({\n text: PluginTabLabels.VERSIONS,\n id: PluginTabIds.VERSIONS,\n icon: 'history',\n url: `${pathname}?page=${PluginTabIds.VERSIONS}`,\n active: PluginTabIds.VERSIONS === currentPageId,\n });\n }\n\n // Not extending the tabs with the config pages if the plugin is not installed\n if (!pluginConfig) {\n return navModelChildren;\n }\n\n if (config.featureToggles.externalServiceAccounts && (plugin?.iam || plugin?.details?.iam)) {\n navModelChildren.push({\n text: PluginTabLabels.IAM,\n icon: 'shield',\n id: PluginTabIds.IAM,\n url: `${pathname}?page=${PluginTabIds.IAM}`,\n active: PluginTabIds.IAM === currentPageId,\n });\n }\n\n if (config.featureToggles.panelTitleSearch && pluginConfig.meta.type === PluginType.panel) {\n navModelChildren.push({\n text: PluginTabLabels.USAGE,\n icon: 'list-ul',\n id: PluginTabIds.USAGE,\n url: `${pathname}?page=${PluginTabIds.USAGE}`,\n active: PluginTabIds.USAGE === currentPageId,\n });\n }\n\n if (!canConfigurePlugins) {\n return navModelChildren;\n }\n\n if (pluginConfig.meta.type === PluginType.app) {\n if (pluginConfig.angularConfigCtrl) {\n navModelChildren.push({\n text: 'Config',\n icon: 'cog',\n id: PluginTabIds.CONFIG,\n url: `${pathname}?page=${PluginTabIds.CONFIG}`,\n active: PluginTabIds.CONFIG === currentPageId,\n });\n }\n\n if (pluginConfig.configPages) {\n for (const configPage of pluginConfig.configPages) {\n navModelChildren.push({\n text: configPage.title,\n icon: configPage.icon,\n id: configPage.id,\n url: `${pathname}?page=${configPage.id}`,\n active: configPage.id === currentPageId,\n });\n }\n }\n\n if (pluginConfig.meta.includes?.find((include) => include.type === PluginIncludeType.dashboard)) {\n navModelChildren.push({\n text: 'Dashboards',\n icon: 'apps',\n id: PluginTabIds.DASHBOARDS,\n url: `${pathname}?page=${PluginTabIds.DASHBOARDS}`,\n active: PluginTabIds.DASHBOARDS === currentPageId,\n });\n }\n }\n\n return navModelChildren;\n }, [plugin, pluginConfig, pathname, isPublished, currentPageId]);\n\n const navModel: NavModelItem = {\n text: plugin?.name ?? '',\n img: plugin?.info.logos.small,\n children: [\n {\n text: PluginTabLabels.OVERVIEW,\n icon: 'file-alt',\n id: PluginTabIds.OVERVIEW,\n url: `${pathname}?page=${PluginTabIds.OVERVIEW}`,\n active: PluginTabIds.OVERVIEW === currentPageId,\n },\n ...navModelChildren,\n ],\n };\n\n return {\n error,\n loading,\n navModel,\n activePageId: currentPageId,\n };\n};\n\nfunction useDefaultPage(plugin: CatalogPlugin | undefined, pluginConfig: GrafanaPlugin | undefined | null) {\n if (!plugin || !pluginConfig) {\n return PluginTabIds.OVERVIEW;\n }\n\n const hasAccess = contextSrv.hasPermissionInMetadata(AccessControlAction.PluginsWrite, plugin);\n\n if (!hasAccess || pluginConfig.meta.type !== PluginType.app) {\n return PluginTabIds.OVERVIEW;\n }\n\n if (pluginConfig.angularConfigCtrl) {\n return PluginTabIds.CONFIG;\n }\n\n if (pluginConfig.configPages?.length) {\n return pluginConfig.configPages[0].id;\n }\n\n return PluginTabIds.OVERVIEW;\n}\n","import React from 'react';\n\nimport { PluginMeta } from '@grafana/data';\nimport { Button } from '@grafana/ui';\nimport { contextSrv } from 'app/core/core';\nimport { AccessControlAction } from 'app/types';\n\nimport { updatePluginSettings } from '../../api';\nimport { usePluginConfig } from '../../hooks/usePluginConfig';\nimport { CatalogPlugin } from '../../types';\n\ntype Props = {\n plugin: CatalogPlugin;\n};\n\nexport function GetStartedWithApp({ plugin }: Props): React.ReactElement | null {\n const { value: pluginConfig } = usePluginConfig(plugin);\n\n if (!pluginConfig) {\n return null;\n }\n\n // Enforce RBAC\n if (!contextSrv.hasPermissionInMetadata(AccessControlAction.PluginsWrite, plugin)) {\n return null;\n }\n\n const { enabled, jsonData } = pluginConfig?.meta;\n\n const enable = () =>\n updatePluginSettingsAndReload(plugin.id, {\n enabled: true,\n pinned: true,\n jsonData,\n });\n\n const disable = () => {\n updatePluginSettingsAndReload(plugin.id, {\n enabled: false,\n pinned: false,\n jsonData,\n });\n };\n\n return (\n <>\n {!enabled && (\n <Button variant=\"primary\" onClick={enable}>\n Enable\n </Button>\n )}\n\n {enabled && (\n <Button variant=\"destructive\" onClick={disable}>\n Disable\n </Button>\n )}\n </>\n );\n}\n\nconst updatePluginSettingsAndReload = async (id: string, data: Partial<PluginMeta>) => {\n try {\n await updatePluginSettings(id, data);\n\n // Reloading the page as the plugin meta changes made here wouldn't be propagated throughout the app.\n window.location.reload();\n } catch (e) {\n console.error('Error while updating the plugin', e);\n }\n};\n","import { config } from 'app/core/config';\nimport { contextSrv } from 'app/core/services/context_srv';\nimport { AccessControlAction } from 'app/types';\n\nexport function isGrafanaAdmin(): boolean {\n return config.bootData.user.isGrafanaAdmin;\n}\n\nexport function isOrgAdmin() {\n return contextSrv.hasRole('Admin');\n}\n\nexport function isDataSourceEditor() {\n return (\n contextSrv.hasPermission(AccessControlAction.DataSourcesCreate) &&\n contextSrv.hasPermission(AccessControlAction.DataSourcesWrite)\n );\n}\n","import React, { useCallback } from 'react';\n\nimport { DataSourcePluginMeta } from '@grafana/data';\nimport { config } from '@grafana/runtime';\nimport { Button } from '@grafana/ui';\nimport { useDataSourcesRoutes, addDataSource } from 'app/features/datasources/state';\nimport { useDispatch } from 'app/types';\n\nimport { isDataSourceEditor } from '../../permissions';\nimport { CatalogPlugin } from '../../types';\n\ntype Props = {\n plugin: CatalogPlugin;\n};\n\nexport function GetStartedWithDataSource({ plugin }: Props): React.ReactElement | null {\n const dispatch = useDispatch();\n const dataSourcesRoutes = useDataSourcesRoutes();\n const onAddDataSource = useCallback(() => {\n const meta = {\n name: plugin.name,\n id: plugin.id,\n } as DataSourcePluginMeta;\n\n dispatch(addDataSource(meta, dataSourcesRoutes.Edit));\n }, [dispatch, plugin, dataSourcesRoutes]);\n\n if (!isDataSourceEditor()) {\n return null;\n }\n\n const disabledButton =\n config.featureToggles.managedPluginsInstall && config.pluginAdminExternalManageEnabled && !plugin.isFullyInstalled;\n\n return (\n <Button\n variant=\"primary\"\n onClick={onAddDataSource}\n disabled={disabledButton}\n title={\n disabledButton ? \"The plugin isn't usable yet, it may take some time to complete the installation.\" : undefined\n }\n >\n Add new data source\n </Button>\n );\n}\n","import React, { ReactElement } from 'react';\n\nimport { PluginType } from '@grafana/data';\n\nimport { CatalogPlugin } from '../../types';\n\nimport { GetStartedWithApp } from './GetStartedWithApp';\nimport { GetStartedWithDataSource } from './GetStartedWithDataSource';\n\ntype Props = {\n plugin: CatalogPlugin;\n};\n\nexport function GetStartedWithPlugin({ plugin }: Props): ReactElement | null {\n if (!plugin.isInstalled || plugin.isDisabled) {\n return null;\n }\n\n switch (plugin.type) {\n case PluginType.datasource:\n return <GetStartedWithDataSource plugin={plugin} />;\n case PluginType.app:\n return <GetStartedWithApp plugin={plugin} />;\n default:\n return null;\n }\n}\n","import { css } from '@emotion/css';\nimport React from 'react';\n\nimport { GrafanaTheme2, PluginType } from '@grafana/data';\nimport { config, featureEnabled } from '@grafana/runtime';\nimport { HorizontalGroup, Icon, LinkButton, useStyles2 } from '@grafana/ui';\nimport { contextSrv } from 'app/core/core';\nimport { AccessControlAction } from 'app/types';\n\nimport { getExternalManageLink } from '../../helpers';\nimport { useIsRemotePluginsAvailable } from '../../state/hooks';\nimport { CatalogPlugin, PluginStatus, Version } from '../../types';\n\ninterface Props {\n plugin: CatalogPlugin;\n pluginStatus: PluginStatus;\n latestCompatibleVersion?: Version;\n}\n\nexport const InstallControlsWarning = ({ plugin, pluginStatus, latestCompatibleVersion }: Props) => {\n const styles = useStyles2(getStyles);\n const isExternallyManaged = config.pluginAdminExternalManageEnabled;\n const hasPermission = contextSrv.hasPermission(AccessControlAction.PluginsInstall);\n const isRemotePluginsAvailable = useIsRemotePluginsAvailable();\n const isCompatible = Boolean(latestCompatibleVersion);\n\n if (plugin.type === PluginType.renderer) {\n return <div className={styles.message}>Renderer plugins cannot be managed by the Plugin Catalog.</div>;\n }\n\n if (plugin.type === PluginType.secretsmanager) {\n return <div className={styles.message}>Secrets manager plugins cannot be managed by the Plugin Catalog.</div>;\n }\n\n if (plugin.isEnterprise && !featureEnabled('enterprise.plugins')) {\n return (\n <HorizontalGroup height=\"auto\" align=\"center\">\n <span className={styles.message}>No valid Grafana Enterprise license detected.</span>\n <LinkButton\n href={`${getExternalManageLink(plugin.id)}?utm_source=grafana_catalog_learn_more`}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n size=\"sm\"\n fill=\"text\"\n icon=\"external-link-alt\"\n >\n Learn more\n </LinkButton>\n </HorizontalGroup>\n );\n }\n\n if (plugin.isDev) {\n return (\n <div className={styles.message}>This is a development build of the plugin and can't be uninstalled.</div>\n );\n }\n\n if (!hasPermission && !isExternallyManaged) {\n return <div className={styles.message}>{statusToMessage(pluginStatus)}</div>;\n }\n\n if (!plugin.isPublished) {\n return (\n <div className={styles.message}>\n <Icon name=\"exclamation-triangle\" /> This plugin is not published to{' '}\n <a href=\"https://www.grafana.com/plugins\" target=\"__blank\" rel=\"noreferrer\">\n grafana.com/plugins\n </a>{' '}\n and can't be managed via the catalog.\n </div>\n );\n }\n\n if (!isCompatible) {\n return (\n <div className={styles.message}>\n <Icon name=\"exclamation-triangle\" />\n This plugin doesn't support your version of Grafana.\n </div>\n );\n }\n\n if (!isRemotePluginsAvailable) {\n return (\n <div className={styles.message}>\n The install controls have been disabled because the Grafana server cannot access grafana.com.\n </div>\n );\n }\n\n return null;\n};\n\nexport const getStyles = (theme: GrafanaTheme2) => {\n return {\n message: css`\n color: ${theme.colors.text.secondary};\n `,\n };\n};\n\nfunction statusToMessage(status: PluginStatus): string {\n switch (status) {\n case PluginStatus.INSTALL:\n case PluginStatus.REINSTALL:\n return `You do not have permission to install this plugin.`;\n case PluginStatus.UNINSTALL:\n return `You do not have permission to uninstall this plugin.`;\n case PluginStatus.UPDATE:\n return `You do not have permission to update this plugin.`;\n default:\n return `You do not have permission to manage this plugin.`;\n }\n}\n","import { reportInteraction } from '@grafana/runtime';\n\ntype PluginTrackingProps = {\n // The ID of the plugin (e.g. grafana-azure-monitor-datasource)\n plugin_id: string;\n // The type of the plugin (e.g. 'app' or 'datasource')\n plugin_type?: string;\n // The path where the plugin details page was rendered (e.g. /plugins/grafana-azure-monitor-datasource )\n path: string;\n};\n\nexport const trackPluginInstalled = (props: PluginTrackingProps) => {\n reportInteraction('grafana_plugin_install_clicked', props);\n};\n\nexport const trackPluginUninstalled = (props: PluginTrackingProps) => {\n reportInteraction('grafana_plugin_uninstall_clicked', props);\n};\n","import React, { useEffect, useState } from 'react';\nimport { useLocation } from 'react-router-dom';\n\nimport { AppEvents } from '@grafana/data';\nimport { config, locationService } from '@grafana/runtime';\nimport { Button, HorizontalGroup, ConfirmModal } from '@grafana/ui';\nimport appEvents from 'app/core/app_events';\nimport configCore from 'app/core/config';\nimport { useQueryParams } from 'app/core/hooks/useQueryParams';\nimport { removePluginFromNavTree } from 'app/core/reducers/navBarTree';\nimport { useDispatch } from 'app/types';\n\nimport {\n useInstallStatus,\n useUninstallStatus,\n useInstall,\n useUninstall,\n useUnsetInstall,\n useFetchDetailsLazy,\n} from '../../state/hooks';\nimport { trackPluginInstalled, trackPluginUninstalled } from '../../tracking';\nimport { CatalogPlugin, PluginStatus, PluginTabIds, Version } from '../../types';\n\ntype InstallControlsButtonProps = {\n plugin: CatalogPlugin;\n pluginStatus: PluginStatus;\n latestCompatibleVersion?: Version;\n hasInstallWarning?: boolean;\n setNeedReload?: (needReload: boolean) => void;\n};\n\nexport function InstallControlsButton({\n plugin,\n pluginStatus,\n latestCompatibleVersion,\n hasInstallWarning,\n setNeedReload,\n}: InstallControlsButtonProps) {\n const dispatch = useDispatch();\n const [queryParams] = useQueryParams();\n const location = useLocation();\n const { isInstalling, error: errorInstalling } = useInstallStatus();\n const { isUninstalling, error: errorUninstalling } = useUninstallStatus();\n const install = useInstall();\n const uninstall = useUninstall();\n const unsetInstall = useUnsetInstall();\n const fetchDetails = useFetchDetailsLazy();\n const [isConfirmModalVisible, setIsConfirmModalVisible] = useState(false);\n const showConfirmModal = () => setIsConfirmModalVisible(true);\n const hideConfirmModal = () => setIsConfirmModalVisible(false);\n const uninstallBtnText = isUninstalling ? 'Uninstalling' : 'Uninstall';\n const trackingProps = {\n plugin_id: plugin.id,\n plugin_type: plugin.type,\n path: location.pathname,\n };\n\n useEffect(() => {\n return () => {\n // Remove possible installation errors\n unsetInstall();\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const onInstall = async () => {\n trackPluginInstalled(trackingProps);\n const result = await install(plugin.id, latestCompatibleVersion?.version);\n if (!errorInstalling && !('error' in result)) {\n let successMessage = `Installed ${plugin.name}`;\n if (config.pluginAdminExternalManageEnabled && configCore.featureToggles.managedPluginsInstall) {\n successMessage = 'Install requested, this may take a few minutes.';\n }\n\n appEvents.emit(AppEvents.alertSuccess, [successMessage]);\n if (plugin.type === 'app') {\n setNeedReload?.(true);\n }\n\n await fetchDetails(plugin.id);\n }\n };\n\n const onUninstall = async () => {\n hideConfirmModal();\n trackPluginUninstalled(trackingProps);\n await uninstall(plugin.id);\n if (!errorUninstalling) {\n // If an app plugin is uninstalled we need to reset the active tab when the config / dashboards tabs are removed.\n const activePageId = queryParams.page;\n const isViewingAppConfigPage = activePageId !== PluginTabIds.OVERVIEW && activePageId !== PluginTabIds.VERSIONS;\n if (isViewingAppConfigPage) {\n locationService.replace(`${location.pathname}?page=${PluginTabIds.OVERVIEW}`);\n }\n\n let successMessage = `Uninstalled ${plugin.name}`;\n if (config.pluginAdminExternalManageEnabled && configCore.featureToggles.managedPluginsInstall) {\n successMessage = 'Uninstall requested, this may take a few minutes.';\n }\n\n appEvents.emit(AppEvents.alertSuccess, [successMessage]);\n if (plugin.type === 'app') {\n dispatch(removePluginFromNavTree({ pluginID: plugin.id }));\n setNeedReload?.(false);\n }\n }\n };\n\n const onUpdate = async () => {\n await install(plugin.id, latestCompatibleVersion?.version, true);\n if (!errorInstalling) {\n appEvents.emit(AppEvents.alertSuccess, [`Updated ${plugin.name}`]);\n }\n };\n\n if (pluginStatus === PluginStatus.UNINSTALL) {\n return (\n <>\n <ConfirmModal\n isOpen={isConfirmModalVisible}\n title={`Uninstall ${plugin.name}`}\n body=\"Are you sure you want to uninstall this plugin?\"\n confirmText=\"Confirm\"\n icon=\"exclamation-triangle\"\n onConfirm={onUninstall}\n onDismiss={hideConfirmModal}\n />\n <HorizontalGroup align=\"flex-start\" width=\"auto\" height=\"auto\">\n <Button variant=\"destructive\" disabled={isUninstalling} onClick={showConfirmModal}>\n {uninstallBtnText}\n </Button>\n </HorizontalGroup>\n </>\n );\n }\n\n if (!plugin.isPublished || hasInstallWarning) {\n // Cannot be updated or installed\n return null;\n }\n\n if (pluginStatus === PluginStatus.UPDATE) {\n return (\n <HorizontalGroup align=\"flex-start\" width=\"auto\" height=\"auto\">\n <Button disabled={isInstalling} onClick={onUpdate}>\n {isInstalling ? 'Updating' : 'Update'}\n </Button>\n <Button variant=\"destructive\" disabled={isUninstalling} onClick={onUninstall}>\n {uninstallBtnText}\n </Button>\n </HorizontalGroup>\n );\n }\n const shouldDisable = isInstalling || errorInstalling || (!config.angularSupportEnabled && plugin.angularDetected);\n return (\n <Button disabled={shouldDisable} onClick={onInstall}>\n {isInstalling ? 'Installing' : 'Install'}\n </Button>\n );\n}\n","import React from 'react';\n\nimport { config } from '@grafana/runtime';\nimport { HorizontalGroup, LinkButton } from '@grafana/ui';\n\nimport { getExternalManageLink } from '../../helpers';\nimport { PluginStatus } from '../../types';\n\ntype ExternallyManagedButtonProps = {\n pluginId: string;\n pluginStatus: PluginStatus;\n angularDetected?: boolean;\n};\n\nexport function ExternallyManagedButton({ pluginId, pluginStatus, angularDetected }: ExternallyManagedButtonProps) {\n const externalManageLink = `${getExternalManageLink(pluginId)}/?tab=installation`;\n\n if (pluginStatus === PluginStatus.UPDATE) {\n return (\n <HorizontalGroup height=\"auto\">\n <LinkButton href={externalManageLink} target=\"_blank\" rel=\"noopener noreferrer\">\n Update via grafana.com\n </LinkButton>\n <LinkButton variant=\"destructive\" href={externalManageLink} target=\"_blank\" rel=\"noopener noreferrer\">\n Uninstall via grafana.com\n </LinkButton>\n </HorizontalGroup>\n );\n }\n\n if (pluginStatus === PluginStatus.UNINSTALL) {\n return (\n <LinkButton variant=\"destructive\" href={externalManageLink} target=\"_blank\" rel=\"noopener noreferrer\">\n Uninstall via grafana.com\n </LinkButton>\n );\n }\n\n return (\n <LinkButton\n disabled={!config.angularSupportEnabled && angularDetected}\n href={externalManageLink}\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n >\n Install via grafana.com\n </LinkButton>\n );\n}\n","import { css } from '@emotion/css';\nimport React, { useState } from 'react';\n\nimport { GrafanaTheme2 } from '@grafana/data';\nimport { config } from '@grafana/runtime';\nimport { HorizontalGroup, Icon, useStyles2, VerticalGroup } from '@grafana/ui';\nimport configCore from 'app/core/config';\n\nimport { GetStartedWithPlugin } from '../components/GetStartedWithPlugin';\nimport { InstallControlsButton } from '../components/InstallControls';\nimport { ExternallyManagedButton } from '../components/InstallControls/ExternallyManagedButton';\nimport { getLatestCompatibleVersion, hasInstallControlWarning, isInstallControlsEnabled } from '../helpers';\nimport { useIsRemotePluginsAvailable } from '../state/hooks';\nimport { CatalogPlugin, PluginStatus } from '../types';\n\ninterface Props {\n plugin?: CatalogPlugin;\n}\n\nexport const PluginActions = ({ plugin }: Props) => {\n const styles = useStyles2(getStyles);\n const isRemotePluginsAvailable = useIsRemotePluginsAvailable();\n const latestCompatibleVersion = getLatestCompatibleVersion(plugin?.details?.versions);\n const [needReload, setNeedReload] = useState(false);\n\n if (!plugin) {\n return null;\n }\n\n const hasInstallWarning = hasInstallControlWarning(plugin, isRemotePluginsAvailable, latestCompatibleVersion);\n const isExternallyManaged = config.pluginAdminExternalManageEnabled;\n const pluginStatus = plugin.isInstalled\n ? plugin.hasUpdate\n ? PluginStatus.UPDATE\n : PluginStatus.UNINSTALL\n : PluginStatus.INSTALL;\n const isInstallControlsDisabled = plugin.isCore || plugin.isDisabled || !isInstallControlsEnabled();\n\n return (\n <VerticalGroup>\n <HorizontalGroup>\n {!isInstallControlsDisabled && (\n <>\n {isExternallyManaged && !hasInstallWarning && !configCore.featureToggles.managedPluginsInstall ? (\n <ExternallyManagedButton\n pluginId={plugin.id}\n pluginStatus={pluginStatus}\n angularDetected={plugin.angularDetected}\n />\n ) : (\n <InstallControlsButton\n plugin={plugin}\n latestCompatibleVersion={latestCompatibleVersion}\n pluginStatus={pluginStatus}\n setNeedReload={setNeedReload}\n hasInstallWarning={hasInstallWarning}\n />\n )}\n </>\n )}\n <GetStartedWithPlugin plugin={plugin} />\n </HorizontalGroup>\n {needReload && (\n <HorizontalGroup>\n <Icon name=\"exclamation-triangle\" />\n <span className={styles.message}>Refresh the page to see the changes</span>\n </HorizontalGroup>\n )}\n </VerticalGroup>\n );\n};\n\nconst getStyles = (theme: GrafanaTheme2) => {\n return {\n message: css`\n color: ${theme.colors.text.secondary};\n `,\n };\n};\n","import { css } from '@emotion/css';\nimport React from 'react';\n\nimport { GrafanaTheme2 } from '@grafana/data';\nimport { Alert, useStyles2 } from '@grafana/ui';\n\nimport { InstallControlsWarning } from '../components/InstallControls';\nimport { getLatestCompatibleVersion, hasInstallControlWarning } from '../helpers';\nimport { useInstallStatus, useIsRemotePluginsAvailable } from '../state/hooks';\nimport { CatalogPlugin, PluginStatus } from '../types';\n\ninterface Props {\n plugin?: CatalogPlugin;\n}\n\nexport const PluginSubtitle = ({ plugin }: Props) => {\n const isRemotePluginsAvailable = useIsRemotePluginsAvailable();\n const styles = useStyles2(getStyles);\n const { error: errorInstalling } = useInstallStatus();\n if (!plugin) {\n return null;\n }\n const latestCompatibleVersion = getLatestCompatibleVersion(plugin.details?.versions);\n const pluginStatus = plugin.isInstalled\n ? plugin.hasUpdate\n ? PluginStatus.UPDATE\n : PluginStatus.UNINSTALL\n : PluginStatus.INSTALL;\n\n return (\n <div className={styles.subtitle}>\n {errorInstalling && (\n <Alert title={'message' in errorInstalling ? errorInstalling.message : ''}>\n {typeof errorInstalling === 'string' ? errorInstalling : errorInstalling.error}\n </Alert>\n )}\n {plugin?.description && <div>{plugin?.description}</div>}\n {plugin?.details?.links && plugin.details.links.length > 0 && (\n <span>\n {plugin.details.links.map((link, index) => (\n <React.Fragment key={index}>\n {index > 0 && ' | '}\n <a href={link.url} className=\"external-link\">\n {link.name}\n </a>\n </React.Fragment>\n ))}\n </span>\n )}\n {hasInstallControlWarning(plugin, isRemotePluginsAvailable, latestCompatibleVersion) && (\n <InstallControlsWarning\n plugin={plugin}\n pluginStatus={pluginStatus}\n latestCompatibleVersion={latestCompatibleVersion}\n />\n )}\n </div>\n );\n};\n\nexport const getStyles = (theme: GrafanaTheme2) => {\n return {\n subtitle: css`\n display: flex;\n flex-direction: column;\n gap: ${theme.spacing(1)};\n `,\n };\n};\n","import { css } from '@emotion/css';\nimport React from 'react';\n\nimport { GrafanaTheme2 } from '@grafana/data';\nimport { useStyles2, Icon, Stack } from '@grafana/ui';\n\nimport { CatalogPlugin, PluginIconName } from '../types';\n\ntype Props = {\n plugin: CatalogPlugin;\n grafanaDependency?: string;\n className?: string;\n};\n\nexport function PluginDetailsHeaderDependencies({ plugin, grafanaDependency }: Props): React.ReactElement | null {\n const styles = useStyles2(getStyles);\n const pluginDependencies = plugin.details?.pluginDependencies;\n const hasNoDependencyInfo = !grafanaDependency && (!pluginDependencies || !pluginDependencies.length);\n\n if (hasNoDependencyInfo) {\n return null;\n }\n\n return (\n <Stack gap={1}>\n {/* Grafana dependency */}\n {Boolean(grafanaDependency) && (\n <div className={styles.depBadge}>\n <Icon name=\"grafana\" className={styles.icon} />\n Grafana {grafanaDependency}\n </div>\n )}\n\n {/* Plugin dependencies */}\n {pluginDependencies && pluginDependencies.length > 0 && (\n <div>\n {pluginDependencies.map((p) => {\n return (\n <span className={styles.depBadge} key={p.name}>\n <Icon name={PluginIconName[p.type]} className={styles.icon} />\n {p.name} {p.version}\n </span>\n );\n })}\n </div>\n )}\n </Stack>\n );\n}\n\nexport const getStyles = (theme: GrafanaTheme2) => {\n return {\n dependencyTitle: css`\n margin-right: ${theme.spacing(0.5)};\n\n &::after {\n content: '';\n padding: 0;\n }\n `,\n depBadge: css({\n display: 'flex',\n alignItems: 'flex-start',\n }),\n icon: css`\n color: ${theme.colors.text.secondary};\n margin-right: ${theme.spacing(0.5)};\n `,\n };\n};\n","import { css } from '@emotion/css';\nimport { capitalize } from 'lodash';\nimport React from 'react';\n\nimport { GrafanaTheme2, PluginSignatureType } from '@grafana/data';\nimport { useStyles2, Icon, Badge, IconName } from '@grafana/ui';\n\nconst SIGNATURE_ICONS: Record<string, IconName> = {\n [PluginSignatureType.grafana]: 'grafana',\n [PluginSignatureType.commercial]: 'shield',\n [PluginSignatureType.community]: 'shield',\n DEFAULT: 'shield-exclamation',\n};\n\ntype Props = {\n signatureType?: PluginSignatureType;\n signatureOrg?: string;\n};\n\n// Shows more information about a valid signature\nexport function PluginSignatureDetailsBadge({ signatureType, signatureOrg = '' }: Props): React.ReactElement | null {\n const styles = useStyles2(getStyles);\n\n if (!signatureType && !signatureOrg) {\n return null;\n }\n\n const signatureTypeText = signatureType === PluginSignatureType.grafana ? 'Grafana Labs' : capitalize(signatureType);\n const signatureIcon = SIGNATURE_ICONS[signatureType || ''] || SIGNATURE_ICONS.DEFAULT;\n\n return (\n <>\n <DetailsBadge>\n <div className={styles.detailsWrapper}>\n <strong className={styles.strong}>Level: </strong>\n <Icon size=\"xs\" name={signatureIcon} />\n \n {signatureTypeText}\n </div>\n </DetailsBadge>\n\n <DetailsBadge>\n <strong className={styles.strong}>Signed by:</strong> {signatureOrg}\n </DetailsBadge>\n </>\n );\n}\n\nexport const DetailsBadge = ({ children }: React.PropsWithChildren<{}>) => {\n const styles = useStyles2(getStyles);\n\n return <Badge color=\"green\" className={styles.badge} text={children} />;\n};\n\nconst getStyles = (theme: GrafanaTheme2) => ({\n badge: css`\n background-color: ${theme.colors.background.canvas};\n border-color: ${theme.colors.border.strong};\n color: ${theme.colors.text.secondary};\n white-space: nowrap;\n `,\n detailsWrapper: css`\n align-items: center;\n display: flex;\n `,\n strong: css`\n color: ${theme.colors.text.primary};\n `,\n icon: css`\n margin-right: ${theme.spacing(0.5)};\n `,\n});\n","import { css } from '@emotion/css';\nimport React from 'react';\n\nimport { GrafanaTheme2, PluginSignatureStatus } from '@grafana/data';\nimport { PluginSignatureBadge, useStyles2 } from '@grafana/ui';\n\nimport { CatalogPlugin } from '../types';\n\nimport { PluginSignatureDetailsBadge } from './PluginSignatureDetailsBadge';\n\ntype Props = {\n plugin: CatalogPlugin;\n};\n\n// Designed to show plugin signature information in the header on the plugin's details page\nexport function PluginDetailsHeaderSignature({ plugin }: Props): React.ReactElement {\n const styles = useStyles2(getStyles);\n const isSignatureValid = plugin.signature === PluginSignatureStatus.valid;\n\n return (\n <div className={styles.container}>\n <a\n href=\"https://grafana.com/docs/grafana/latest/plugins/plugin-signatures/\"\n target=\"_blank\"\n rel=\"noreferrer\"\n className={styles.link}\n >\n <PluginSignatureBadge status={plugin.signature} />\n </a>\n\n {isSignatureValid && (\n <PluginSignatureDetailsBadge signatureType={plugin.signatureType} signatureOrg={plugin.signatureOrg} />\n )}\n </div>\n );\n}\n\nexport const getStyles = (theme: GrafanaTheme2) => {\n return {\n container: css`\n display: flex;\n flex-wrap: wrap;\n gap: ${theme.spacing(0.5)};\n `,\n link: css`\n display: inline-flex;\n align-items: center;\n `,\n };\n};\n","import { css } from '@emotion/css';\nimport React from 'react';\n\nimport { GrafanaTheme2, PluginSignatureType } from '@grafana/data';\n\nimport { PageInfoItem } from '../../../../core/components/Page/types';\nimport { PluginDisabledBadge } from '../components/Badges';\nimport { PluginDetailsHeaderDependencies } from '../components/PluginDetailsHeaderDependencies';\nimport { PluginDetailsHeaderSignature } from '../components/PluginDetailsHeaderSignature';\nimport { getLatestCompatibleVersion } from '../helpers';\nimport { CatalogPlugin } from '../types';\n\nexport const usePluginInfo = (plugin?: CatalogPlugin): PageInfoItem[] => {\n const info: PageInfoItem[] = [];\n\n if (!plugin) {\n return info;\n }\n\n // Populate info\n const latestCompatibleVersion = getLatestCompatibleVersion(plugin.details?.versions);\n const useLatestCompatibleInfo = !plugin.isInstalled;\n let version = plugin.installedVersion;\n if (!version && useLatestCompatibleInfo && latestCompatibleVersion?.version) {\n version = latestCompatibleVersion?.version;\n }\n\n if (Boolean(version)) {\n info.push({\n label: 'Version',\n value: version,\n });\n }\n\n if (Boolean(plugin.orgName)) {\n info.push({\n label: 'From',\n value: plugin.orgName,\n });\n }\n\n const showDownloads =\n !plugin.signatureType ||\n plugin.signatureType === PluginSignatureType.community ||\n plugin.signatureType === PluginSignatureType.commercial;\n if (showDownloads && Boolean(plugin.downloads > 0)) {\n info.push({\n label: 'Downloads',\n value: new Intl.NumberFormat().format(plugin.downloads),\n });\n }\n\n const pluginDependencies = plugin.details?.pluginDependencies;\n let grafanaDependency = plugin.details?.grafanaDependency;\n if (useLatestCompatibleInfo && latestCompatibleVersion?.grafanaDependency) {\n grafanaDependency = latestCompatibleVersion?.grafanaDependency;\n }\n const hasNoDependencyInfo = !grafanaDependency && (!pluginDependencies || !pluginDependencies.length);\n\n if (!hasNoDependencyInfo) {\n info.push({\n label: 'Dependencies',\n value: <PluginDetailsHeaderDependencies plugin={plugin} grafanaDependency={grafanaDependency} />,\n });\n }\n\n if (plugin.isDisabled) {\n info.push({\n label: 'Status',\n value: <PluginDisabledBadge error={plugin.error!} />,\n });\n }\n\n info.push({\n label: 'Signature',\n value: <PluginDetailsHeaderSignature plugin={plugin} />,\n });\n\n return info;\n};\n\nexport const getStyles = (theme: GrafanaTheme2) => {\n return {\n subtitle: css`\n display: flex;\n flex-direction: column;\n gap: ${theme.spacing(1)};\n `,\n };\n};\n","import React from 'react';\n\nimport { PageInfoItem } from '../../../../core/components/Page/types';\nimport { PluginActions } from '../components/PluginActions';\nimport { PluginSubtitle } from '../components/PluginSubtitle';\nimport { CatalogPlugin } from '../types';\n\nimport { usePluginInfo } from './usePluginInfo';\n\ntype ReturnType = {\n actions: React.ReactNode;\n info: PageInfoItem[];\n subtitle: React.ReactNode;\n};\n\nexport const usePluginPageExtensions = (plugin?: CatalogPlugin): ReturnType => {\n const info = usePluginInfo(plugin);\n\n return {\n actions: <PluginActions plugin={plugin} />,\n info,\n subtitle: <PluginSubtitle plugin={plugin} />,\n };\n};\n","import React, { useState } from 'react';\n\nimport { renderMarkdown } from '@grafana/data';\nimport { Alert } from '@grafana/ui';\n\nimport { CatalogPlugin } from '../types';\n\ntype Props = {\n className?: string;\n plugin: CatalogPlugin;\n};\n\nexport function PluginDetailsDeprecatedWarning(props: Props): React.ReactElement | null {\n const { className, plugin } = props;\n const [dismissed, setDismissed] = useState(false);\n const isWarningVisible = plugin.isDeprecated && !dismissed;\n\n return isWarningVisible ? (\n <Alert severity=\"warning\" title=\"Deprecated\" className={className} onRemove={() => setDismissed(true)}>\n <p>\n This {plugin.type} plugin is{' '}\n <a\n className=\"external-link\"\n href=\"https://grafana.com/legal/plugin-deprecation/\"\n rel=\"noreferrer\"\n target=\"_blank\"\n >\n deprecated\n </a>{' '}\n and has been removed from the catalog.\n </p>\n\n {/* Additional contextual deprecation message supporting markdown */}\n {plugin.details?.statusContext && (\n <div\n className=\"markdown-html\"\n dangerouslySetInnerHTML={{\n __html: renderMarkdown(plugin.details.statusContext),\n }}\n />\n )}\n </Alert>\n ) : null;\n}\n","import { css } from '@emotion/css';\nimport React from 'react';\nimport { useLocation } from 'react-router-dom';\n\nimport { GrafanaTheme2, NavModelItem } from '@grafana/data';\nimport { config } from '@grafana/runtime';\nimport { useStyles2, TabContent, Alert } from '@grafana/ui';\nimport { Layout } from '@grafana/ui/src/components/Layout/Layout';\nimport { Page } from 'app/core/components/Page/Page';\nimport { AppNotificationSeverity } from 'app/types';\n\nimport { AngularDeprecationPluginNotice } from '../../angularDeprecation/AngularDeprecationPluginNotice';\nimport { Loader } from '../components/Loader';\nimport { PluginDetailsBody } from '../components/PluginDetailsBody';\nimport { PluginDetailsDisabledError } from '../components/PluginDetailsDisabledError';\nimport { PluginDetailsSignature } from '../components/PluginDetailsSignature';\nimport { usePluginDetailsTabs } from '../hooks/usePluginDetailsTabs';\nimport { usePluginPageExtensions } from '../hooks/usePluginPageExtensions';\nimport { useGetSingle, useFetchStatus, useFetchDetailsStatus } from '../state/hooks';\nimport { PluginTabIds } from '../types';\n\nimport { PluginDetailsDeprecatedWarning } from './PluginDetailsDeprecatedWarning';\n\nexport type Props = {\n // The ID of the plugin\n pluginId: string;\n // The navigation ID used for displaying the sidebar navigation\n navId?: string;\n // Can be used to customise the title & subtitle for the not found page\n notFoundNavModel?: NavModelItem;\n // Can be used to customise the content shown when a plugin with the given ID cannot be found\n notFoundComponent?: React.ReactElement;\n};\n\nexport function PluginDetailsPage({\n pluginId,\n navId = 'plugins',\n notFoundComponent = <NotFoundPlugin />,\n notFoundNavModel = {\n text: 'Unknown plugin',\n subTitle: 'The requested ID does not belong to any plugin',\n active: true,\n },\n}: Props) {\n const location = useLocation();\n const queryParams = new URLSearchParams(location.search);\n const plugin = useGetSingle(pluginId); // fetches the plugin settings for this Grafana instance\n const { navModel, activePageId } = usePluginDetailsTabs(plugin, queryParams.get('page') as PluginTabIds);\n const { actions, info, subtitle } = usePluginPageExtensions(plugin);\n const { isLoading: isFetchLoading } = useFetchStatus();\n const { isLoading: isFetchDetailsLoading } = useFetchDetailsStatus();\n const styles = useStyles2(getStyles);\n\n if (isFetchLoading || isFetchDetailsLoading) {\n return (\n <Page\n navId={navId}\n pageNav={{\n text: '',\n active: true,\n }}\n >\n <Loader />\n </Page>\n );\n }\n\n if (!plugin) {\n return (\n <Page navId={navId} pageNav={notFoundNavModel}>\n {notFoundComponent}\n </Page>\n );\n }\n\n return (\n <Page navId={navId} pageNav={navModel} actions={actions} subTitle={subtitle} info={info}>\n <Page.Contents>\n <TabContent className={styles.tabContent}>\n {plugin.angularDetected && (\n <AngularDeprecationPluginNotice\n className={styles.alert}\n angularSupportEnabled={config?.angularSupportEnabled}\n pluginId={plugin.id}\n pluginType={plugin.type}\n showPluginDetailsLink={false}\n interactionElementId=\"plugin-details-page\"\n />\n )}\n <PluginDetailsSignature plugin={plugin} className={styles.alert} />\n <PluginDetailsDisabledError plugin={plugin} className={styles.alert} />\n <PluginDetailsDeprecatedWarning plugin={plugin} className={styles.alert} />\n <PluginDetailsBody queryParams={Object.fromEntries(queryParams)} plugin={plugin} pageId={activePageId} />\n </TabContent>\n </Page.Contents>\n </Page>\n );\n}\n\nexport const getStyles = (theme: GrafanaTheme2) => {\n return {\n alert: css`\n margin-bottom: ${theme.spacing(2)};\n `,\n subtitle: css`\n display: flex;\n flex-direction: column;\n gap: ${theme.spacing(1)};\n `,\n // Needed due to block formatting context\n tabContent: css`\n overflow: auto;\n height: 100%;\n padding-left: 5px;\n `,\n };\n};\n\nfunction NotFoundPlugin() {\n return (\n <Layout justify=\"center\" align=\"center\">\n <Alert severity={AppNotificationSeverity.Warning} title=\"Plugin not found\">\n That plugin cannot be found. Please check the url is correct or <br />\n go to the <a href=\"/plugins\">plugin catalog</a>.\n </Alert>\n </Layout>\n );\n}\n","import { createSelector } from '@reduxjs/toolkit';\n\nimport { PluginError, PluginType, unEscapeStringFromRegex } from '@grafana/data';\n\nimport { filterByKeyword } from '../helpers';\nimport { RequestStatus, PluginCatalogStoreState } from '../types';\n\nimport { pluginsAdapter } from './reducer';\n\nexport const selectRoot = (state: PluginCatalogStoreState) => state.plugins;\n\nexport const selectItems = createSelector(selectRoot, ({ items }) => items);\n\nexport const selectDisplayMode = createSelector(selectRoot, ({ settings }) => settings.displayMode);\n\nexport const { selectAll, selectById } = pluginsAdapter.getSelectors(selectItems);\n\nexport type PluginFilters = {\n // Searches for a string in certain fields (e.g. \"name\" or \"orgName\")\n // (Note: this will be an escaped regex string as it comes from `FilterInput`)\n keyword?: string;\n\n // (Optional, only applied if set)\n type?: PluginType;\n\n // (Optional, only applied if set)\n isInstalled?: boolean;\n\n // (Optional, only applied if set)\n isEnterprise?: boolean;\n};\n\nexport const selectPlugins = (filters: PluginFilters) =>\n createSelector(selectAll, (plugins) => {\n const keyword = filters.keyword ? unEscapeStringFromRegex(filters.keyword.toLowerCase()) : '';\n const filteredPluginIds = keyword !== '' ? filterByKeyword(plugins, keyword) : null;\n\n return plugins.filter((plugin) => {\n if (keyword && filteredPluginIds == null) {\n return false;\n }\n\n if (keyword && !filteredPluginIds?.includes(plugin.id)) {\n return false;\n }\n\n if (filters.type && plugin.type !== filters.type) {\n return false;\n }\n\n if (filters.isInstalled !== undefined && plugin.isInstalled !== filters.isInstalled) {\n return false;\n }\n\n if (filters.isEnterprise !== undefined && plugin.isEnterprise !== filters.isEnterprise) {\n return false;\n }\n\n return true;\n });\n });\n\nexport const selectPluginErrors = (filterByPluginType?: PluginType) =>\n createSelector(selectAll, (plugins) => {\n const pluginErrors: PluginError[] = [];\n for (const plugin of plugins) {\n if (plugin.error && (!filterByPluginType || plugin.type === filterByPluginType)) {\n pluginErrors.push({\n pluginId: plugin.id,\n errorCode: plugin.error,\n pluginType: plugin.type,\n });\n }\n }\n return pluginErrors;\n });\n\n// The following selectors are used to get information about the outstanding or completed plugins-related network requests.\nexport const selectRequest = (actionType: string) =>\n createSelector(selectRoot, ({ requests = {} }) => requests[actionType]);\n\nexport const selectIsRequestPending = (actionType: string) =>\n createSelector(selectRequest(actionType), (request) => request?.status === RequestStatus.Pending);\n\nexport const selectRequestError = (actionType: string) =>\n createSelector(selectRequest(actionType), (request) =>\n request?.status === RequestStatus.Rejected ? request?.error : null\n );\n\nexport const selectIsRequestNotFetched = (actionType: string) =>\n createSelector(selectRequest(actionType), (request) => request === undefined);\n","import { useEffect, useMemo } from 'react';\n\nimport { PluginError, PluginType } from '@grafana/data';\nimport { useDispatch, useSelector } from 'app/types';\n\nimport { sortPlugins, Sorters } from '../helpers';\nimport { CatalogPlugin, PluginListDisplayMode } from '../types';\n\nimport { fetchAll, fetchDetails, fetchRemotePlugins, install, uninstall, fetchAllLocal, unsetInstall } from './actions';\nimport { setDisplayMode } from './reducer';\nimport {\n selectPlugins,\n selectById,\n selectIsRequestPending,\n selectRequestError,\n selectIsRequestNotFetched,\n selectDisplayMode,\n selectPluginErrors,\n type PluginFilters,\n} from './selectors';\n\nexport const useGetAll = (filters: PluginFilters, sortBy: Sorters = Sorters.nameAsc) => {\n useFetchAll();\n\n const selector = useMemo(() => selectPlugins(filters), [filters]);\n const plugins = useSelector(selector);\n // As the locally installed plugins load quicker than the remote ones, we only show a loading state until these are being loaded\n // (In case the remote ones are not loaded within a reasonable timeout, we will merge those with the locally installed plugins once they are loaded)\n const { isLoading, error } = useLocalFetchStatus();\n const sortedPlugins = sortPlugins(plugins, sortBy);\n\n return {\n isLoading,\n error,\n plugins: sortedPlugins,\n };\n};\n\nexport const useGetSingle = (id: string): CatalogPlugin | undefined => {\n useFetchAll();\n useFetchDetails(id);\n\n return useSelector((state) => selectById(state, id));\n};\n\nexport const useGetSingleLocalWithoutDetails = (id: string): CatalogPlugin | undefined => {\n useFetchAllLocal();\n return useSelector((state) => selectById(state, id));\n};\n\nexport const useGetErrors = (filterByPluginType?: PluginType): PluginError[] => {\n useFetchAll();\n\n return useSelector(selectPluginErrors(filterByPluginType));\n};\n\nexport const useInstall = () => {\n const dispatch = useDispatch();\n return (id: string, version?: string, isUpdating?: boolean) => dispatch(install({ id, version, isUpdating }));\n};\n\nexport const useUnsetInstall = () => {\n const dispatch = useDispatch();\n\n return () => dispatch(unsetInstall());\n};\n\nexport const useUninstall = () => {\n const dispatch = useDispatch();\n\n return (id: string) => dispatch(uninstall(id));\n};\n\nexport const useIsRemotePluginsAvailable = () => {\n const error = useSelector(selectRequestError(fetchRemotePlugins.typePrefix));\n return error === null;\n};\n\nexport const useLocalFetchStatus = () => {\n const isLoading = useSelector(selectIsRequestPending('plugins/fetchLocal'));\n const error = useSelector(selectRequestError('plugins/fetchLocal'));\n\n return { isLoading, error };\n};\n\nexport const useFetchStatus = () => {\n const isLoading = useSelector(selectIsRequestPending(fetchAll.typePrefix));\n const error = useSelector(selectRequestError(fetchAll.typePrefix));\n\n return { isLoading, error };\n};\n\nexport const useFetchDetailsStatus = () => {\n const isLoading = useSelector(selectIsRequestPending(fetchDetails.typePrefix));\n const error = useSelector(selectRequestError(fetchDetails.typePrefix));\n\n return { isLoading, error };\n};\n\nexport const useInstallStatus = () => {\n const isInstalling = useSelector(selectIsRequestPending(install.typePrefix));\n const error = useSelector(selectRequestError(install.typePrefix));\n\n return { isInstalling, error };\n};\n\nexport const useUninstallStatus = () => {\n const isUninstalling = useSelector(selectIsRequestPending(uninstall.typePrefix));\n const error = useSelector(selectRequestError(uninstall.typePrefix));\n\n return { isUninstalling, error };\n};\n\n// Only fetches in case they were not fetched yet\nexport const useFetchAll = () => {\n const dispatch = useDispatch();\n const isNotFetched = useSelector(selectIsRequestNotFetched(fetchAll.typePrefix));\n\n useEffect(() => {\n isNotFetched && dispatch(fetchAll());\n }, []); // eslint-disable-line\n};\n\n// Only fetches in case they were not fetched yet\nexport const useFetchAllLocal = () => {\n const dispatch = useDispatch();\n const isNotFetched = useSelector(selectIsRequestNotFetched(fetchAllLocal.typePrefix));\n\n useEffect(() => {\n isNotFetched && dispatch(fetchAllLocal());\n }, []); // eslint-disable-line\n};\n\nexport const useFetchDetails = (id: string) => {\n const dispatch = useDispatch();\n const plugin = useSelector((state) => selectById(state, id));\n const isNotFetching = !useSelector(selectIsRequestPending(fetchDetails.typePrefix));\n const shouldFetch = isNotFetching && plugin && !plugin.details;\n\n useEffect(() => {\n shouldFetch && dispatch(fetchDetails(id));\n }, [plugin]); // eslint-disable-line\n};\n\nexport const useFetchDetailsLazy = () => {\n const dispatch = useDispatch();\n\n return (id: string) => dispatch(fetchDetails(id));\n};\n\nexport const useDisplayMode = () => {\n const dispatch = useDispatch();\n const displayMode = useSelector(selectDisplayMode);\n\n return {\n displayMode,\n setDisplayMode: (v: PluginListDisplayMode) => dispatch(setDisplayMode(v)),\n };\n};\n"],"names":["DashboardsTable","dashboards","onImport","onRemove","buttonText","dashboard","index","PluginDisabledBadge","error","tooltip","errorCodeToTooltip","Badge","getBadgeColor","theme","PluginInstalledBadge","customBadgeStyles","PluginEnterpriseBadge","plugin","onClick","ev","PluginSignatureBadge","Button","PluginUpdateAvailableBadge","styles","getStyles","PluginAngularBadge","PluginDeprecatedBadge","Loader","text","LoadingPlaceholder","VersionList","versions","installedVersion","latestCompatibleVersion","version","isInstalledVersion","usePluginConfig","useAsync","AppConfigCtrlWrapper","props","pluginId","updateCmd","res","callback","deprecationWarning","prevProps","loader","template","scopeProps","angularCtrl","model","withRightMargin","element","PluginDashboards","resolve","dash","overwrite","datasource","installCmd","loading","PluginUsage","searchQuery","results","found","width","height","SearchResultsTable","of","Spinner","EmptyListCTA","Alert","PluginDetailsBody","queryParams","pageId","pluginConfig","columns","value","permissions","Stack","InteractiveTable","permission","configPage","PluginContextProvider","PluginDetailsDisabledError","className","selectors","renderDescriptionFromError","PluginDetailsSignature","isSignatureValid","isCore","isDisabled","isDisabledDueTooSignatureError","usePluginDetailsTabs","pathname","defaultTab","useDefaultPage","isPublished","currentPageId","navModelChildren","canConfigurePlugins","include","navModel","GetStartedWithApp","enabled","jsonData","enable","updatePluginSettingsAndReload","disable","id","data","e","isGrafanaAdmin","isOrgAdmin","isDataSourceEditor","GetStartedWithDataSource","dispatch","dataSourcesRoutes","onAddDataSource","meta","disabledButton","GetStartedWithPlugin","InstallControlsWarning","pluginStatus","isExternallyManaged","hasPermission","isRemotePluginsAvailable","isCompatible","statusToMessage","Icon","status","trackPluginInstalled","trackPluginUninstalled","InstallControlsButton","hasInstallWarning","setNeedReload","useQueryParams","location","isInstalling","errorInstalling","isUninstalling","errorUninstalling","install","uninstall","unsetInstall","fetchDetails","isConfirmModalVisible","setIsConfirmModalVisible","showConfirmModal","hideConfirmModal","uninstallBtnText","trackingProps","onInstall","result","successMessage","onUninstall","activePageId","onUpdate","ConfirmModal","shouldDisable","ExternallyManagedButton","angularDetected","externalManageLink","PluginActions","needReload","isInstallControlsDisabled","PluginSubtitle","link","PluginDetailsHeaderDependencies","grafanaDependency","pluginDependencies","p","SIGNATURE_ICONS","PluginSignatureDetailsBadge","signatureType","signatureOrg","signatureTypeText","signatureIcon","DetailsBadge","children","PluginDetailsHeaderSignature","usePluginInfo","info","useLatestCompatibleInfo","usePluginPageExtensions","PluginDetailsDeprecatedWarning","dismissed","setDismissed","PluginDetailsPage","navId","notFoundComponent","NotFoundPlugin","notFoundNavModel","actions","subtitle","isFetchLoading","isFetchDetailsLoading","Page","TabContent","AngularDeprecationPluginNotice","Layout","selectRoot","state","selectItems","items","selectDisplayMode","settings","selectAll","selectPlugins","filters","plugins","keyword","filteredPluginIds","selectPluginErrors","filterByPluginType","pluginErrors","selectRequest","actionType","requests","selectIsRequestPending","request","selectRequestError","useGetAll","sortBy","useFetchAll","selector","isLoading","useLocalFetchStatus","sortedPlugins","useGetSingle","useFetchDetails","useGetSingleLocalWithoutDetails","useFetchAllLocal","useGetErrors","useInstall","isUpdating","useUnsetInstall","useUninstall","useIsRemotePluginsAvailable","useFetchStatus","useFetchDetailsStatus","useInstallStatus","useUninstallStatus","isNotFetched","shouldFetch","useFetchDetailsLazy","useDisplayMode","v"],"sourceRoot":""}
Edit
Rename
Chmod
Delete
FILE
FOLDER
INFO
Name
Size
Permission
Action
static
---
0755
0.c88fc16b6533c8976681.js
11857 bytes
0644
0.c88fc16b6533c8976681.js.map
46011 bytes
0644
1118.6d1cbbd2070e00a7483d.js
9459 bytes
0644
1118.6d1cbbd2070e00a7483d.js.map
22012 bytes
0644
1121.6c31bf81768d3312b0d4.js
11557 bytes
0644
1121.6c31bf81768d3312b0d4.js.map
40274 bytes
0644
1122.1b3b5a9bdf4a2fc70a83.js
4310 bytes
0644
1122.1b3b5a9bdf4a2fc70a83.js.map
9301 bytes
0644
1133.cd705902767ed2e9bf55.js
107191 bytes
0644
1133.cd705902767ed2e9bf55.js.map
459177 bytes
0644
1216.ddb58ad09e0c4e3f4079.js
12860 bytes
0644
1216.ddb58ad09e0c4e3f4079.js.map
47906 bytes
0644
1282.2347f27d5b3a18a42a1e.js
2965 bytes
0644
1282.2347f27d5b3a18a42a1e.js.map
6699 bytes
0644
1345.8570fef914aafab94513.js
2223 bytes
0644
1345.8570fef914aafab94513.js.map
5201 bytes
0644
1347.8ad23b870a6e21306189.js
32035 bytes
0644
1347.8ad23b870a6e21306189.js.map
89851 bytes
0644
1420.f2553cafc235b7c32261.js
14576 bytes
0644
1420.f2553cafc235b7c32261.js.map
32839 bytes
0644
1438.897db349b7f48a15b9eb.js
2830 bytes
0644
1438.897db349b7f48a15b9eb.js.map
6911 bytes
0644
1446.babd36e7134aac1046c4.js
1832 bytes
0644
1446.babd36e7134aac1046c4.js.map
3282 bytes
0644
1488.ff35935a06f41b02b6cc.js
316 bytes
0644
1488.ff35935a06f41b02b6cc.js.map
1206 bytes
0644
1560.30962127c91e5eae9982.js
8916 bytes
0644
1560.30962127c91e5eae9982.js.map
20515 bytes
0644
1660.e1f66118fb028d12074f.js
21866 bytes
0644
1660.e1f66118fb028d12074f.js.map
71039 bytes
0644
1698.68ff1ef08e94a87836b3.js
12570 bytes
0644
1698.68ff1ef08e94a87836b3.js.map
46006 bytes
0644
1708.f42a783c0f6c7a317d49.js
2249 bytes
0644
1708.f42a783c0f6c7a317d49.js.map
2954 bytes
0644
1710.d96221051fceaf8c89dd.js
10172 bytes
0644
1710.d96221051fceaf8c89dd.js.map
22097 bytes
0644
1740.e57d920c47a11759ade4.js
6204 bytes
0644
1740.e57d920c47a11759ade4.js.map
13740 bytes
0644
1888.0ede69d3190c536744b9.js
6822 bytes
0644
1888.0ede69d3190c536744b9.js.map
15421 bytes
0644
1914.58113477b565d57e8bfe.js
10710 bytes
0644
1914.58113477b565d57e8bfe.js.map
23555 bytes
0644
198.b84c0e4f5759344ae05a.js
8267 bytes
0644
198.b84c0e4f5759344ae05a.js.map
19446 bytes
0644
205.6c51b5e35c8147226738.js
3542 bytes
0644
205.6c51b5e35c8147226738.js.map
8376 bytes
0644
2058.0e5df44647184aaf02e2.js
1252 bytes
0644
2058.0e5df44647184aaf02e2.js.map
4744 bytes
0644
2077.12b2df3682085a92a810.js
34133 bytes
0644
2077.12b2df3682085a92a810.js.map
122011 bytes
0644
2094.259625d8acf28b9c7361.js
16518 bytes
0644
2094.259625d8acf28b9c7361.js.map
41269 bytes
0644
21.afca69f2d336e287a655.js
6172 bytes
0644
21.afca69f2d336e287a655.js.map
17305 bytes
0644
2136.9c8dcd43d3af327f51f5.js
498667 bytes
0644
2136.9c8dcd43d3af327f51f5.js.map
1908011 bytes
0644
2228.cf629cf4a83c5b6c2671.js
269 bytes
0644
2228.cf629cf4a83c5b6c2671.js.map
457 bytes
0644
2244.9324c28eca7d2ffb7568.js
3396 bytes
0644
2244.9324c28eca7d2ffb7568.js.map
7683 bytes
0644
2261.ac6a26854d5acee00776.js
106373 bytes
0644
2261.ac6a26854d5acee00776.js.map
478562 bytes
0644
2278.bdd73b14b6337c6b14e4.js
5754 bytes
0644
2278.bdd73b14b6337c6b14e4.js.map
13399 bytes
0644
2398.3de0e7aa3057b7dcf9da.js
8016 bytes
0644
2398.3de0e7aa3057b7dcf9da.js.map
18383 bytes
0644
2514.c86950e9813e27962050.js
1983 bytes
0644
2514.c86950e9813e27962050.js.map
4863 bytes
0644
2571.345ecfd2b82551018f2e.js
162139 bytes
0644
2571.345ecfd2b82551018f2e.js.map
2046 bytes
0644
2586.972e9a7d564398afee76.js
6385 bytes
0644
2586.972e9a7d564398afee76.js.map
14676 bytes
0644
2658.f4100815829c4d37d35c.js
5432 bytes
0644
2658.f4100815829c4d37d35c.js.map
13650 bytes
0644
2686.2fbaa7db9c01d59cad8d.js
2815 bytes
0644
2686.2fbaa7db9c01d59cad8d.js.map
6564 bytes
0644
2692.20098ad0182743d98d62.js
2282 bytes
0644
2692.20098ad0182743d98d62.js.map
5680 bytes
0644
2694.a31d749361a36eb167da.js
2726 bytes
0644
2694.a31d749361a36eb167da.js.map
3618 bytes
0644
2745.2e5ec1fdf377d2940fb4.js
33584 bytes
0644
2745.2e5ec1fdf377d2940fb4.js.map
120277 bytes
0644
2962.4c3147d8ee365fe296ef.js
7640 bytes
0644
2962.4c3147d8ee365fe296ef.js.map
17621 bytes
0644
3042.248a4194805a8500fd28.js
19010 bytes
0644
3042.248a4194805a8500fd28.js.map
38148 bytes
0644
3062.4e9a427c2a59d53f902e.js
4663 bytes
0644
3062.4e9a427c2a59d53f902e.js.map
10650 bytes
0644
3082.c09cff56c35d736ee8b6.js
52872 bytes
0644
3082.c09cff56c35d736ee8b6.js.map
56822 bytes
0644
3096.8d41728a4f5010bc56a2.js
4378 bytes
0644
3096.8d41728a4f5010bc56a2.js.map
10739 bytes
0644
3098.f22ad6dab13d06477be0.js
31462 bytes
0644
3098.f22ad6dab13d06477be0.js.map
85588 bytes
0644
3182.1d531f28507c00e391fc.js
13817 bytes
0644
3182.1d531f28507c00e391fc.js.map
26653 bytes
0644
3407.666eb88a718e66b93f72.js
34425 bytes
0644
3407.666eb88a718e66b93f72.js.map
103716 bytes
0644
3418.d31d882b87bd5a2ef66f.js
33061 bytes
0644
3418.d31d882b87bd5a2ef66f.js.map
114234 bytes
0644
3541.8d063e3d43d55745d89b.js
20582 bytes
0644
3541.8d063e3d43d55745d89b.js.map
67154 bytes
0644
3543.eecef49ce94da5ee0418.js
136752 bytes
0644
3543.eecef49ce94da5ee0418.js.map
446118 bytes
0644
3622.976b1aef94b333e450b9.js
1260 bytes
0644
3622.976b1aef94b333e450b9.js.map
2819 bytes
0644
3686.102abfc00452299017bb.js
87 bytes
0644
3718.3993946b7a0eb8f64b4d.js
23620 bytes
0644
3718.3993946b7a0eb8f64b4d.js.map
92024 bytes
0644
3726.3adfe210678d2cd26969.js
31765 bytes
0644
3726.3adfe210678d2cd26969.js.map
118227 bytes
0644
398.4e93ffb675609ea7a9c6.js
2990 bytes
0644
398.4e93ffb675609ea7a9c6.js.map
7145 bytes
0644
4114.953b39a9ce57caa0e87a.js
2536 bytes
0644
4114.953b39a9ce57caa0e87a.js.map
6028 bytes
0644
4120.67bf5d203ed4a2eb5f1b.js
3229 bytes
0644
4120.67bf5d203ed4a2eb5f1b.js.map
7533 bytes
0644
4209.c7060d489834063658f5.js
17352 bytes
0644
4209.c7060d489834063658f5.js.map
30980 bytes
0644
4254.c5f4a5512b252e3a5796.js
71716 bytes
0644
4254.c5f4a5512b252e3a5796.js.map
237783 bytes
0644
4289.d5662b0904798ff437e9.js
16496 bytes
0644
4289.d5662b0904798ff437e9.js.map
32015 bytes
0644
4334.bc078c368a20ed3257b6.js
2598 bytes
0644
4334.bc078c368a20ed3257b6.js.map
6308 bytes
0644
4630.b604ea691184ba563d59.js
5585 bytes
0644
4630.b604ea691184ba563d59.js.map
11866 bytes
0644
4680.358dfdd92851f69ecc97.js
4573 bytes
0644
4680.358dfdd92851f69ecc97.js.map
10841 bytes
0644
4698.696713071ff5d9929a11.js
3682 bytes
0644
4698.696713071ff5d9929a11.js.map
8967 bytes
0644
4787.bd938ea7cb58d64ee246.js
738 bytes
0644
4787.bd938ea7cb58d64ee246.js.map
2168 bytes
0644
4839.17a10e0ceca3eb8954b4.js
39585 bytes
0644
4839.17a10e0ceca3eb8954b4.js.map
145699 bytes
0644
494.8cf705bc1ea509187c88.js
3796 bytes
0644
494.8cf705bc1ea509187c88.js.map
8987 bytes
0644
4958.cd447d877778fc5af081.js
4923 bytes
0644
4958.cd447d877778fc5af081.js.map
11000 bytes
0644
4962.0da526ad79f816a15985.js
2242 bytes
0644
4962.0da526ad79f816a15985.js.map
4978 bytes
0644
50.7b1e44d5b9dbbed566be.js
617497 bytes
0644
50.7b1e44d5b9dbbed566be.js.map
2271464 bytes
0644
5017.003cacead1bba1cba035.js
3567142 bytes
0644
5017.003cacead1bba1cba035.js.map
13214665 bytes
0644
5130.4d31108de97088a3b014.js
2850 bytes
0644
5130.4d31108de97088a3b014.js.map
6536 bytes
0644
5196.064b914693b6a5591a48.js
4035 bytes
0644
5196.064b914693b6a5591a48.js.map
10273 bytes
0644
5240.eceb5f73f807ac22d800.js
704 bytes
0644
5240.eceb5f73f807ac22d800.js.map
2618 bytes
0644
5277.ce6608b6f47246e32767.js
269 bytes
0644
5277.ce6608b6f47246e32767.js.map
457 bytes
0644
5280.4348c762594edebf7d0e.js
16657 bytes
0644
5280.4348c762594edebf7d0e.js.map
89146 bytes
0644
5356.eabc0dc2021a3814a65f.js
10156 bytes
0644
5356.eabc0dc2021a3814a65f.js.map
25249 bytes
0644
5358.7c5e9e1b192582f3082d.js
6173 bytes
0644
5358.7c5e9e1b192582f3082d.js.map
19652 bytes
0644
5364.ac21c32fd45a27bc998a.js
3070 bytes
0644
5364.ac21c32fd45a27bc998a.js.map
7368 bytes
0644
5398.d0c11aa7c1232f4afe44.js
81872 bytes
0644
5398.d0c11aa7c1232f4afe44.js.map
769414 bytes
0644
5428.e85b0800b30feca9d7dc.js
330175 bytes
0644
5428.e85b0800b30feca9d7dc.js.map
530929 bytes
0644
5511.93023985e5c5efe49ae2.js
21275 bytes
0644
5511.93023985e5c5efe49ae2.js.map
93188 bytes
0644
5550.9284e42acc3f2bbdfc9d.js
7039 bytes
0644
5550.9284e42acc3f2bbdfc9d.js.map
16382 bytes
0644
558.701e8b4db7b852c4a10d.js
12211 bytes
0644
558.701e8b4db7b852c4a10d.js.map
24505 bytes
0644
5618.638c32d58d896f3f7261.js
3348 bytes
0644
5618.638c32d58d896f3f7261.js.map
8181 bytes
0644
5648.cb3fd92dbbc06f7d45d2.js
57392 bytes
0644
5648.cb3fd92dbbc06f7d45d2.js.map
60585 bytes
0644
5786.db7abc3b8e4f474a8f7b.js
5325 bytes
0644
5786.db7abc3b8e4f474a8f7b.js.map
11885 bytes
0644
5807.f05d997ece5811bbc849.js
2922915 bytes
0644
5807.f05d997ece5811bbc849.js.map
10524334 bytes
0644
5950.30ec6aaa9dcece6c3b3c.js
4616249 bytes
0644
5950.30ec6aaa9dcece6c3b3c.js.map
19277501 bytes
0644
6018.f4de7ac19ac8f0c774e6.js
5861 bytes
0644
6018.f4de7ac19ac8f0c774e6.js.map
13314 bytes
0644
6029.0549a3fcb50e73c4b256.js
409895 bytes
0644
6029.0549a3fcb50e73c4b256.js.map
998408 bytes
0644
6185.883629fcc773b4968b24.js
2258 bytes
0644
6185.883629fcc773b4968b24.js.map
4788 bytes
0644
6263.e4ef9aaa3073ebacc3a5.js
54594 bytes
0644
6263.e4ef9aaa3073ebacc3a5.js.map
242030 bytes
0644
6302.257b2eb06c25ee74090e.js
8440 bytes
0644
6302.257b2eb06c25ee74090e.js.map
19322 bytes
0644
6359.f824c85233ec703f8cea.js
11411 bytes
0644
6359.f824c85233ec703f8cea.js.map
41881 bytes
0644
6377.45d36c143a694fc45bd3.js
20571 bytes
0644
6377.45d36c143a694fc45bd3.js.map
79590 bytes
0644
6378.27b1e6d863a0a3b85962.js
977993 bytes
0644
6378.27b1e6d863a0a3b85962.js.map
3865587 bytes
0644
6414.192cf271de6ecbbbcb11.js
3984 bytes
0644
6414.192cf271de6ecbbbcb11.js.map
9134 bytes
0644
6446.b4b93ee91aa1bb57ea93.js
7731 bytes
0644
6446.b4b93ee91aa1bb57ea93.js.map
17485 bytes
0644
6464.f379e014f9909e621de6.js
34429 bytes
0644
6464.f379e014f9909e621de6.js.map
113303 bytes
0644
6499.9f52e0855fd4782a8b45.js
78297 bytes
0644
6499.9f52e0855fd4782a8b45.js.map
273155 bytes
0644
6587.bfb1ca0c32c6f325b0df.js
135004 bytes
0644
6587.bfb1ca0c32c6f325b0df.js.map
541974 bytes
0644
660.838743295c2108f3492d.js
43101 bytes
0644
660.838743295c2108f3492d.js.map
100340 bytes
0644
6678.a615dbe07b8a3e591e66.js
14725 bytes
0644
6678.a615dbe07b8a3e591e66.js.map
51145 bytes
0644
680.1a328432fae403eacab3.js
53846 bytes
0644
680.1a328432fae403eacab3.js.map
57615 bytes
0644
6830.0c200fec1efc2be388e2.js
5811 bytes
0644
6830.0c200fec1efc2be388e2.js.map
13972 bytes
0644
6934.fa19d392db34411fb300.js
168944 bytes
0644
6934.fa19d392db34411fb300.js.map
540337 bytes
0644
6940.9c5d3a2dcf9d7d58fa2c.js
3408 bytes
0644
6940.9c5d3a2dcf9d7d58fa2c.js.map
8039 bytes
0644
6969.f8f153735314f9426000.js
1119 bytes
0644
6969.f8f153735314f9426000.js.map
4230 bytes
0644
6990.cc2f5674128929a3f870.js
4418 bytes
0644
6990.cc2f5674128929a3f870.js.map
10503 bytes
0644
7048.117de444b1e1cb5a1360.js
4365 bytes
0644
7048.117de444b1e1cb5a1360.js.map
10316 bytes
0644
7166.480da6892ee84ee8bb53.js
593985 bytes
0644
7166.480da6892ee84ee8bb53.js.map
2430098 bytes
0644
7200.dc60128b9d612fc7b5b0.js
3634 bytes
0644
7200.dc60128b9d612fc7b5b0.js.map
8184 bytes
0644
7246.3adf293a34fa2043387b.js
4306 bytes
0644
7246.3adf293a34fa2043387b.js.map
9084 bytes
0644
7400.024c96bd5b99b8b47a63.js
14112 bytes
0644
7400.024c96bd5b99b8b47a63.js.map
64001 bytes
0644
7409.24316c87d08c1053c46a.js
3287 bytes
0644
7409.24316c87d08c1053c46a.js.map
11649 bytes
0644
7455.845968885abe369e6479.js
19801 bytes
0644
7455.845968885abe369e6479.js.map
77213 bytes
0644
7466.09e6e197d2507f62097d.js
11670 bytes
0644
7466.09e6e197d2507f62097d.js.map
24830 bytes
0644
7515.95323f0dfbd0de010e5c.js
1083 bytes
0644
7515.95323f0dfbd0de010e5c.js.map
1321 bytes
0644
7613.6334cff4df12cc157522.js
808779 bytes
0644
7613.6334cff4df12cc157522.js.map
991378 bytes
0644
7836.6a7e4207e70fc2dc235f.js
7192 bytes
0644
7836.6a7e4207e70fc2dc235f.js.map
17613 bytes
0644
7882.1a3cc418752c83396970.js
3743 bytes
0644
7882.1a3cc418752c83396970.js.map
14950 bytes
0644
7886.485c46f14540aa23cf70.js
8668 bytes
0644
7886.485c46f14540aa23cf70.js.map
20124 bytes
0644
7914.2b1a06c504df18e20fe4.js
2390 bytes
0644
7914.2b1a06c504df18e20fe4.js.map
6418 bytes
0644
7982.6761217193d3060dbf0e.js
188973 bytes
0644
7982.6761217193d3060dbf0e.js.map
1737667 bytes
0644
8054.094788468423bb88ee68.js
38124 bytes
0644
8054.094788468423bb88ee68.js.map
132296 bytes
0644
8107.92bd414247a1d05c014f.js
5144 bytes
0644
8107.92bd414247a1d05c014f.js.map
15320 bytes
0644
8230.2eedae6021a4715c6dea.js
2413 bytes
0644
8230.2eedae6021a4715c6dea.js.map
5812 bytes
0644
8332.f4b05d2f028641445650.js
3177 bytes
0644
8332.f4b05d2f028641445650.js.map
7186 bytes
0644
8334.c95ec0eb6900c0cf7e89.js
7803 bytes
0644
8334.c95ec0eb6900c0cf7e89.js.map
17714 bytes
0644
8390.1fd9505094c8cf8830ab.js
2096 bytes
0644
8390.1fd9505094c8cf8830ab.js.map
5157 bytes
0644
84.a6f8658e6a033d642231.js
30608 bytes
0644
84.a6f8658e6a033d642231.js.map
142543 bytes
0644
8494.4470c87b7093ddf70db7.js
2180 bytes
0644
8494.4470c87b7093ddf70db7.js.map
4863 bytes
0644
8542.1391ab96a455b01963a7.js
1514 bytes
0644
8542.1391ab96a455b01963a7.js.map
3249 bytes
0644
8566.e05562713181c6ca30fe.js
3852 bytes
0644
8566.e05562713181c6ca30fe.js.map
8781 bytes
0644
8730.3dcdd8cbf22c63b45d78.js
2109 bytes
0644
8730.3dcdd8cbf22c63b45d78.js.map
2893 bytes
0644
8786.1b0e43b80c82c73e2096.js
1535 bytes
0644
8786.1b0e43b80c82c73e2096.js.map
4055 bytes
0644
8902.37d0b14aa6ef24687b7b.js
2673 bytes
0644
8902.37d0b14aa6ef24687b7b.js.map
5993 bytes
0644
8990.5a822b8788ebf0bdba81.js
3969 bytes
0644
8990.5a822b8788ebf0bdba81.js.map
9161 bytes
0644
9034.200fc7a09b466256c9a9.js
3486 bytes
0644
9034.200fc7a09b466256c9a9.js.map
8180 bytes
0644
9038.7ae2448b9cc5c423aeca.js
4937 bytes
0644
9038.7ae2448b9cc5c423aeca.js.map
11973 bytes
0644
9118.3121c6b96ec7dc211973.js
48311 bytes
0644
9118.3121c6b96ec7dc211973.js.map
62149 bytes
0644
9150.9eb62d45f9b21cb38850.js
10056 bytes
0644
9150.9eb62d45f9b21cb38850.js.map
21143 bytes
0644
9199.9897e268d6d13e834d4c.js
2307 bytes
0644
9199.9897e268d6d13e834d4c.js.map
8853 bytes
0644
9320.c403e78b78aa6df1d0bd.js
336139 bytes
0644
9320.c403e78b78aa6df1d0bd.js.map
1624993 bytes
0644
9355.421530b20c759bb75633.js
22098 bytes
0644
9355.421530b20c759bb75633.js.map
66961 bytes
0644
9384.a0d5fc49f1b15b3e311e.js
2855 bytes
0644
9384.a0d5fc49f1b15b3e311e.js.map
3717 bytes
0644
9390.fa2af7f3d3d9600c08ee.js
4201 bytes
0644
9390.fa2af7f3d3d9600c08ee.js.map
9682 bytes
0644
946.f2494c0c39a9590349b9.js
9194 bytes
0644
946.f2494c0c39a9590349b9.js.map
22193 bytes
0644
9510.4cfa85a51931dc20573a.js
2949 bytes
0644
9510.4cfa85a51931dc20573a.js.map
6939 bytes
0644
9521.de2a74ca5eb365810ca5.js
46306 bytes
0644
9521.de2a74ca5eb365810ca5.js.map
51040 bytes
0644
9538.996ade7a03ccdb01942d.js
64493 bytes
0644
9538.996ade7a03ccdb01942d.js.map
49212 bytes
0644
9569.a8d60b39654a160cb917.js
27965 bytes
0644
9569.a8d60b39654a160cb917.js.map
99160 bytes
0644
9643.b408884004ca73c102bc.js
627 bytes
0644
9643.b408884004ca73c102bc.js.map
2195 bytes
0644
968.22e079d28acb4131d34c.js
4001 bytes
0644
968.22e079d28acb4131d34c.js.map
9740 bytes
0644
970.a61e37b9b897c8098261.js
5239 bytes
0644
970.a61e37b9b897c8098261.js.map
13858 bytes
0644
9711.d6e977bd60f0e5ba673d.js
13555 bytes
0644
9711.d6e977bd60f0e5ba673d.js.map
43973 bytes
0644
9737.3340c89ea96d33307cc7.js
1001 bytes
0644
9737.3340c89ea96d33307cc7.js.map
3504 bytes
0644
9739.5a801055fcf72bf4d06f.js
1147 bytes
0644
9739.5a801055fcf72bf4d06f.js.map
4390 bytes
0644
9772.49e918c9331237552c0b.js
141 bytes
0644
9772.49e918c9331237552c0b.js.map
416 bytes
0644
9838.b8f01dc360f0c2151291.js
4003 bytes
0644
9838.b8f01dc360f0c2151291.js.map
8118 bytes
0644
AdminAuthentication.b7044adf53b669e61a87.js
22504 bytes
0644
AdminAuthentication.b7044adf53b669e61a87.js.map
67352 bytes
0644
AdminEditOrgPage.96fb6c37346641f44246.js
6369 bytes
0644
AdminEditOrgPage.96fb6c37346641f44246.js.map
20602 bytes
0644
AdminFeatureTogglesPage.22157fe31f358f1c4f09.js
4939 bytes
0644
AdminFeatureTogglesPage.22157fe31f358f1c4f09.js.map
16531 bytes
0644
AdminListOrgsPage.f01c8496fd635e20124b.js
2702 bytes
0644
AdminListOrgsPage.f01c8496fd635e20124b.js.map
7735 bytes
0644
AdminSettings.845c6def917892a0c1f9.js
1903 bytes
0644
AdminSettings.845c6def917892a0c1f9.js.map
5580 bytes
0644
AlertAmRoutes.10a0d9a23a082caf12c8.js
54554 bytes
0644
AlertAmRoutes.10a0d9a23a082caf12c8.js.map
208792 bytes
0644
AlertGroups.efd523dc41621f9f7935.js
10088 bytes
0644
AlertGroups.efd523dc41621f9f7935.js.map
39108 bytes
0644
AlertRuleListIndex.f0b17a6119cc5ea575ed.js
44623 bytes
0644
AlertRuleListIndex.f0b17a6119cc5ea575ed.js.map
156842 bytes
0644
AlertRuleListLegacy.8e675db4469232c87308.js
6270 bytes
0644
AlertRuleListLegacy.8e675db4469232c87308.js.map
18086 bytes
0644
AlertSilences.4ff252ad4c0057124d5d.js
24687 bytes
0644
AlertSilences.4ff252ad4c0057124d5d.js.map
83377 bytes
0644
AlertTabCtrl.d3377d127a336a69beb5.js
9844 bytes
0644
AlertTabCtrl.d3377d127a336a69beb5.js.map
27934 bytes
0644
AlertingAdmin.e62f9c73a69abe6a1ac0.js
10523 bytes
0644
AlertingAdmin.e62f9c73a69abe6a1ac0.js.map
37393 bytes
0644
AlertingFeatureTogglePage.f971bb7b2ad4ceb0acbd.js
672 bytes
0644
AlertingFeatureTogglePage.f971bb7b2ad4ceb0acbd.js.map
1220 bytes
0644
AlertingHome.0d6be993ef4a3df37345.js
33492 bytes
0644
AlertingHome.0d6be993ef4a3df37345.js.map
106868 bytes
0644
AlertingRedirectToRule.37a0040f89e20b99b751.js
3648 bytes
0644
AlertingRedirectToRule.37a0040f89e20b99b751.js.map
10875 bytes
0644
AlertingRuleForm.66bb5b2724b31ae6a5a4.js
79931 bytes
0644
AlertingRuleForm.66bb5b2724b31ae6a5a4.js.map
292923 bytes
0644
AlertingUpgrade.c757b99e306db50cdb16.js
31333 bytes
0644
AlertingUpgrade.c757b99e306db50cdb16.js.map
98330 bytes
0644
AngularApp.7e72879caebef22a5217.js
72809 bytes
0644
AngularApp.7e72879caebef22a5217.js.map
102853 bytes
0644
ApiKeysPage.12b0cd511f7b1e9c50dc.js
8422 bytes
0644
ApiKeysPage.12b0cd511f7b1e9c50dc.js.map
23375 bytes
0644
BenchmarksPage.3a183df3d44714f9a96a.js
2941 bytes
0644
BenchmarksPage.3a183df3d44714f9a96a.js.map
9749 bytes
0644
ChangePasswordPage.5e0562f6a9674bd95cfe.js
470 bytes
0644
ChangePasswordPage.5e0562f6a9674bd95cfe.js.map
1195 bytes
0644
Connections.b53c715b9b9a782d8647.js
32448 bytes
0644
Connections.b53c715b9b9a782d8647.js.map
112998 bytes
0644
CorrelationsFeatureToggle.71addced22f59948b708.js
674 bytes
0644
CorrelationsFeatureToggle.71addced22f59948b708.js.map
1149 bytes
0644
CorrelationsPage.4e02feddf752bdf7cfe6.js
22725 bytes
0644
CorrelationsPage.4e02feddf752bdf7cfe6.js.map
69262 bytes
0644
CreateTeam.dbde5b87278cf087cc5e.js
3046 bytes
0644
CreateTeam.dbde5b87278cf087cc5e.js.map
9594 bytes
0644
DashboardImport.06e6c4c03113061aae6c.js
18153 bytes
0644
DashboardImport.06e6c4c03113061aae6c.js.map
58242 bytes
0644
DashboardListPage.dac1fe75fbaa4f9b1c23.js
30967 bytes
0644
DashboardListPage.dac1fe75fbaa4f9b1c23.js.map
108517 bytes
0644
DashboardPage.5e50193556ad6b828f5d.js
2786 bytes
0644
DashboardPage.5e50193556ad6b828f5d.js.map
8754 bytes
0644
DashboardPageProxy.9a6d60e5cac89c11c71c.js
65136 bytes
0644
DashboardPageProxy.9a6d60e5cac89c11c71c.js.map
226791 bytes
0644
DataTrailsPage.aa19ca6750eb3f91ac5d.js
331 bytes
0644
DataTrailsPage.aa19ca6750eb3f91ac5d.js.map
582 bytes
0644
EditNotificationChannelLegacy.75122e6dbfb215d89d81.js
10507 bytes
0644
EditNotificationChannelLegacy.75122e6dbfb215d89d81.js.map
37444 bytes
0644
EmbeddedDashboard.3856404d3d608c739864.js
1768 bytes
0644
EmbeddedDashboard.3856404d3d608c739864.js.map
5917 bytes
0644
FolderAlerting.a0fe69e3574320c8a74a.js
9633 bytes
0644
FolderAlerting.a0fe69e3574320c8a74a.js.map
29985 bytes
0644
FolderLibraryPanelsPage.95dd7bf6735e202a79d2.js
8599 bytes
0644
FolderLibraryPanelsPage.95dd7bf6735e202a79d2.js.map
25919 bytes
0644
LibraryPanelsPage.4a952d4aa9c21984995a.js
2704 bytes
0644
LibraryPanelsPage.4a952d4aa9c21984995a.js.map
7623 bytes
0644
ListPublicDashboardPage.469a693c4011a5193fcd.js
4713 bytes
0644
ListPublicDashboardPage.469a693c4011a5193fcd.js.map
14309 bytes
0644
MuteTimings.cb66b37f52c9ee3ce1da.js
20855 bytes
0644
MuteTimings.cb66b37f52c9ee3ce1da.js.map
58932 bytes
0644
NewNotificationChannelLegacy.1d57814bc534bb1a3681.js
9785 bytes
0644
NewNotificationChannelLegacy.1d57814bc534bb1a3681.js.map
32951 bytes
0644
NewOrgPage.2bb0e1cab09f0cbd0310.js
1325 bytes
0644
NewOrgPage.2bb0e1cab09f0cbd0310.js.map
3158 bytes
0644
NotificationsListLegacyPage.33212668898a6db361a8.js
2547 bytes
0644
NotificationsListLegacyPage.33212668898a6db361a8.js.map
6671 bytes
0644
NotificationsListPage.1eb9cb05bf88eee08291.js
1620 bytes
0644
NotificationsListPage.1eb9cb05bf88eee08291.js.map
3378 bytes
0644
NotificationsPage.d26b90d7348139106351.js
4646 bytes
0644
NotificationsPage.d26b90d7348139106351.js.map
25381 bytes
0644
OrgDetailsPage.2d5c98f188683c2e1d3b.js
6742 bytes
0644
OrgDetailsPage.2d5c98f188683c2e1d3b.js.map
17850 bytes
0644
PlaylistEditPage.d14b3673a1bb03ca0dbb.js
6892 bytes
0644
PlaylistEditPage.d14b3673a1bb03ca0dbb.js.map
19989 bytes
0644
PlaylistNewPage.13696f39b95b8416ede2.js
6583 bytes
0644
PlaylistNewPage.13696f39b95b8416ede2.js.map
19084 bytes
0644
PlaylistPage.8f45dcc09add615f90e8.js
7895 bytes
0644
PlaylistPage.8f45dcc09add615f90e8.js.map
25502 bytes
0644
PlaylistStartPage.8be462b13a24cddee188.js
275 bytes
0644
PlaylistStartPage.8be462b13a24cddee188.js.map
698 bytes
0644
PluginListPage.815b65d32380d0a800f7.js
12167 bytes
0644
PluginListPage.815b65d32380d0a800f7.js.map
43537 bytes
0644
PluginPage.c790de5e17a0b728dd3a.js
314 bytes
0644
PluginPage.c790de5e17a0b728dd3a.js.map
668 bytes
0644
ProfileFeatureTogglePage.a14257ebc5da1e8c85e0.js
552 bytes
0644
ProfileFeatureTogglePage.a14257ebc5da1e8c85e0.js.map
1012 bytes
0644
PublicDashboardPage.51c7c24941781e091898.js
4295 bytes
0644
PublicDashboardPage.51c7c24941781e091898.js.map
14393 bytes
0644
SelectOrgPage.695c19a5101a3a03ee28.js
1124 bytes
0644
SelectOrgPage.695c19a5101a3a03ee28.js.map
2993 bytes
0644
SendResetMailPage.f16b7172a87070f57227.js
1736 bytes
0644
SendResetMailPage.f16b7172a87070f57227.js.map
4350 bytes
0644
ServerStats.3fbd2493deb8f4598755.js
3863 bytes
0644
ServerStats.3fbd2493deb8f4598755.js.map
11534 bytes
0644
ServiceAccountCreatePage.4f989fb6cd2a41193ff0.js
2440 bytes
0644
ServiceAccountCreatePage.4f989fb6cd2a41193ff0.js.map
7939 bytes
0644
ServiceAccountPage.bc7c35b63b03ccc89628.js
14806 bytes
0644
ServiceAccountPage.bc7c35b63b03ccc89628.js.map
51593 bytes
0644
ServiceAccountsPage.baaa08c045390c05e276.js
14565 bytes
0644
ServiceAccountsPage.baaa08c045390c05e276.js.map
46399 bytes
0644
SignupInvited.81ad56aceb8dd1839e15.js
2360 bytes
0644
SignupInvited.81ad56aceb8dd1839e15.js.map
6096 bytes
0644
SnapshotListPage.519c760ed66124a771ff.js
3061 bytes
0644
SnapshotListPage.519c760ed66124a771ff.js.map
9043 bytes
0644
SoloPanelPage.c729750a88c3fa90d1cc.js
3229 bytes
0644
SoloPanelPage.c729750a88c3fa90d1cc.js.map
12316 bytes
0644
SoloPanelPageOld.6518c21ccaf29701fa97.js
1727 bytes
0644
SoloPanelPageOld.6518c21ccaf29701fa97.js.map
5509 bytes
0644
StoragePage.9b93a99e75f7f2842c11.js
14081 bytes
0644
StoragePage.9b93a99e75f7f2842c11.js.map
48740 bytes
0644
SupportBundles.567d512b3f919b8112e4.js
3058 bytes
0644
SupportBundles.567d512b3f919b8112e4.js.map
8751 bytes
0644
SupportBundlesCreate.fc6b6e4cf6366f751081.js
2779 bytes
0644
SupportBundlesCreate.fc6b6e4cf6366f751081.js.map
8882 bytes
0644
TeamList.2e23d37c91734f608f09.js
9019 bytes
0644
TeamList.2e23d37c91734f608f09.js.map
30348 bytes
0644
TeamPages.4f6177b4c6ec769c72d8.js
22839 bytes
0644
TeamPages.4f6177b4c6ec769c72d8.js.map
66001 bytes
0644
TestStuffPage.8ddabdd17d265b771b17.js
2654 bytes
0644
TestStuffPage.8ddabdd17d265b771b17.js.map
8058 bytes
0644
UserCreatePage.72e86cf2c9a3ce50cff3.js
1470 bytes
0644
UserCreatePage.72e86cf2c9a3ce50cff3.js.map
3788 bytes
0644
UserInvitePage.c8243c9cee4b06e10222.js
2576 bytes
0644
UserInvitePage.c8243c9cee4b06e10222.js.map
6594 bytes
0644
UserListPage.acbb5778a782ca90c7ba.js
25463 bytes
0644
UserListPage.acbb5778a782ca90c7ba.js.map
79671 bytes
0644
UserProfileEditPage.7cc4c218d9e4664250e3.js
14593 bytes
0644
UserProfileEditPage.7cc4c218d9e4664250e3.js.map
42901 bytes
0644
UsersListPage.1b61c82d62ca416b6f2f.js
8800 bytes
0644
UsersListPage.1b61c82d62ca416b6f2f.js.map
30059 bytes
0644
alert-rules-drawer-content.1fd9de3b496d077a5f3a.js
957 bytes
0644
alert-rules-drawer-content.1fd9de3b496d077a5f3a.js.map
3199 bytes
0644
alert-rules-toolbar-button.6f275f0d03748b6c297d.js
1429 bytes
0644
alert-rules-toolbar-button.6f275f0d03748b6c297d.js.map
4041 bytes
0644
alertmanagerPlugin.d13ca72afb3f996bb284.js
3810 bytes
0644
alertmanagerPlugin.d13ca72afb3f996bb284.js.map
10753 bytes
0644
app.b11fde05d43f9632a473.js
920821 bytes
0644
app.b11fde05d43f9632a473.js.map
69088 bytes
0644
assets-manifest.json
280835 bytes
0644
azureMonitorPlugin.0bc37a9d4e3bd8421cc0.js
232 bytes
0644
azureMonitorPlugin.0bc37a9d4e3bd8421cc0.js.map
600 bytes
0644
brace.fcd4b1c7e8b9264ab02c.js
371235 bytes
0644
brace.fcd4b1c7e8b9264ab02c.js.map
1132097 bytes
0644
canvasPanel.a46aa5e57d26b1fcc380.js
485254 bytes
0644
canvasPanel.a46aa5e57d26b1fcc380.js.map
2136916 bytes
0644
cloudMonitoringPlugin.c6ea431eae8e9ad2c7b1.js
198 bytes
0644
cloudMonitoringPlugin.c6ea431eae8e9ad2c7b1.js.map
555 bytes
0644
cloudwatchPlugin.06ef34f60000c4f7ea37.js
192 bytes
0644
cloudwatchPlugin.06ef34f60000c4f7ea37.js.map
544 bytes
0644
dark.7fa24d1908c1c96e6fcc.js
134 bytes
0644
elasticsearchPlugin.3f2edb012f5162b48903.js
214 bytes
0644
elasticsearchPlugin.3f2edb012f5162b48903.js.map
583 bytes
0644
explore-feature-toggle-page.897d9f08c342ad4c0702.js
612 bytes
0644
explore-feature-toggle-page.897d9f08c342ad4c0702.js.map
1280 bytes
0644
explore.476912733278e2a99729.js
165810 bytes
0644
explore.476912733278e2a99729.js.map
579148 bytes
0644
geomapPanel.14b9605971a38c51d262.js
417078 bytes
0644
geomapPanel.14b9605971a38c51d262.js.map
540371 bytes
0644
grafana.dark.8c716fbcf630eae84ced.css
209089 bytes
0644
grafana.light.b8b3904788f25480f4a1.css
209047 bytes
0644
grafanaPlugin.1cb208185a89de28dc3a.js
8654 bytes
0644
grafanaPlugin.1cb208185a89de28dc3a.js.map
28174 bytes
0644
graphPlugin.f47f722cdfc0ceb85136.js
70277 bytes
0644
graphPlugin.f47f722cdfc0ceb85136.js.map
243430 bytes
0644
graphitePlugin.d59175976346917781fe.js
75305 bytes
0644
graphitePlugin.d59175976346917781fe.js.map
272016 bytes
0644
heatmapPanel.f6f29a53ed0f682b4404.js
37545 bytes
0644
heatmapPanel.f6f29a53ed0f682b4404.js.map
158066 bytes
0644
influxdbPlugin.140a7777089f9559c11c.js
68843 bytes
0644
influxdbPlugin.140a7777089f9559c11c.js.map
265085 bytes
0644
jaegerPlugin.d254fd4a19ef0cb5b4f5.js
19727 bytes
0644
jaegerPlugin.d254fd4a19ef0cb5b4f5.js.map
65603 bytes
0644
light.af65e5ce03b9ed0aa2b1.js
134 bytes
0644
loki-query-field.a588d587d9d762b18f22.js
191 bytes
0644
loki-query-field.a588d587d9d762b18f22.js.map
548 bytes
0644
lokiPlugin.77364509de280321b6f8.js
185 bytes
0644
lokiPlugin.77364509de280321b6f8.js.map
536 bytes
0644
mixedPlugin.f36bd557a883d9a67538.js
180 bytes
0644
mssqlPlugin.88775f59ced74c2283c5.js
20457 bytes
0644
mssqlPlugin.88775f59ced74c2283c5.js.map
61420 bytes
0644
mysqlPlugin.72fb44411afd8165d201.js
17323 bytes
0644
mysqlPlugin.72fb44411afd8165d201.js.map
45415 bytes
0644
nodeGraphPanel.9a7cdd8efdae281cbe28.js
2107 bytes
0644
nodeGraphPanel.9a7cdd8efdae281cbe28.js.map
7132 bytes
0644
opentsdbPlugin.418b8c8ea0d97ed99edb.js
22866 bytes
0644
opentsdbPlugin.418b8c8ea0d97ed99edb.js.map
82180 bytes
0644
parcaPlugin.7f2e6dde7161b08ceed2.js
11184 bytes
0644
parcaPlugin.7f2e6dde7161b08ceed2.js.map
42340 bytes
0644
postgresPlugin.f88c598bae2653ae177b.js
18902 bytes
0644
postgresPlugin.f88c598bae2653ae177b.js.map
54304 bytes
0644
prom-query-field.ff217c474ea457bdd65e.js
14104 bytes
0644
prom-query-field.ff217c474ea457bdd65e.js.map
76811 bytes
0644
prometheusPlugin.2ba02c28d3f7293e903e.js
224 bytes
0644
prometheusPlugin.2ba02c28d3f7293e903e.js.map
699 bytes
0644
pyroscopePlugin.eb14b78419d619d90dca.js
22269 bytes
0644
pyroscopePlugin.eb14b78419d619d90dca.js.map
86896 bytes
0644
react-monaco-editor.988b1aa5e90b11f9941a.js
15759 bytes
0644
react-monaco-editor.988b1aa5e90b11f9941a.js.map
51544 bytes
0644
runtime.4b7e1b5735d2ed64b824.js
13640 bytes
0644
runtime.4b7e1b5735d2ed64b824.js.map
35122 bytes
0644
tableOldPlugin.8c72b8399d197aeebe16.js
25242 bytes
0644
tableOldPlugin.8c72b8399d197aeebe16.js.map
80497 bytes
0644
tempoPlugin.efa8c2a55984263b4b61.js
182 bytes
0644
tempoPlugin.efa8c2a55984263b4b61.js.map
529 bytes
0644
testDataDSPlugin.9717509b124d754e4f35.js
120550 bytes
0644
testDataDSPlugin.9717509b124d754e4f35.js.map
303302 bytes
0644
visjs-network.d93b3aa71ac24c8cde84.js
459653 bytes
0644
visjs-network.d93b3aa71ac24c8cde84.js.map
1951742 bytes
0644
zipkinPlugin.70f0f24b6d0b6e673ccb.js
13172 bytes
0644
zipkinPlugin.70f0f24b6d0b6e673ccb.js.map
46861 bytes
0644
N4ST4R_ID | Naxtarrr