The Dashboard application is a Next.js project that provides a user interface for visualizing telemetry data collected via OpenTelemetry SDKs. It features a service map, service list, and detailed views for specific telemetry data.
- Node.js >= 18
- pnpm
-
Navigate to the
apps/dashboard
directory:cd apps/dashboard
-
Install dependencies:
pnpm install
-
Set up environment variables:
Create a
.env
file in theapps/dashboard
directory and add your ClickHouse credentials:CLICKHOUSE_ENDPOINT=your_endpoint_here CLICKHOUSE_DATABASE=your_database_here CLICKHOUSE_USERNAME=your_username_here CLICKHOUSE_PASSWORD=your_password_here
-
Start the development server:
pnpm dev
-
Open http://localhost:3001 with your browser to see the result.
-
Build the application:
pnpm build
-
Start the production server:
pnpm start
- app: Contains the main application code.
- components: Reusable React components.
- services: Service-specific pages and components.
- styles: Global styles
- public: Static assets.
- .eslintrc.js: ESLint configuration.
- next.config.js: Next.js configuration.
- tailwind.config.js: Tailwind CSS configuration.
- tsconfig.json: TypeScript configuration.
- Service Map: Visualizes services as nodes and their connections using React Flow.
- Service List: Displays a list of services with key metrics.
- Detailed View: Shows traces and metrics for each service.
- AI-powered Assistant: Uses Vercel AI SDK to provide insights and answer queries about the telemetry data.