Skip to content

Commit

Permalink
Remove search until ValkeySearch arrives
Browse files Browse the repository at this point in the history
  • Loading branch information
sfeifer committed Nov 6, 2024
1 parent fa4a3aa commit 7819d02
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
30 changes: 30 additions & 0 deletions src/components/app/App.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import React from 'react';
import { AppRootProps } from '@grafana/data';
import { css } from '@emotion/css';

export function App(props: AppRootProps) {
return (
<div style={{ paddingTop: '2em' }}>
<h2>Performance Co-Pilot App</h2>
This app integrates metrics from Performance Co-Pilot.
<br />
<br />
It includes the following data sources:
<ul
className={css`
margin-left: 2em;
`}
>
<li>
<strong>PCP Valkey</strong> for fast, scalable time series aggregation across multiple hosts
</li>
<li>
<strong>PCP Vector</strong> for live, on-host metrics analysis, with container support
</li>
<li>
<strong>PCP bpftrace</strong> for system introspection using bpftrace scripts
</li>
</ul>
</div>
);
}
4 changes: 2 additions & 2 deletions src/module.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { AppPlugin } from '@grafana/data';
import { AppConfig } from './components/appconfig/config';
import { AppSettings } from './components/appconfig/types';
import { Search } from './components/search/Search';
import { App } from './components/app/App';

export const plugin = new AppPlugin<AppSettings>()
.addConfigPage({ id: 'config', title: 'Config', icon: 'cog', body: AppConfig })
.setRootPage(Search);
.setRootPage(App);

0 comments on commit 7819d02

Please sign in to comment.