Skip to content

Setup/obs - #4

Merged
Coderx85 merged 4 commits into
mainfrom
setup/obs
Dec 13, 2025
Merged

Coderx85 merged 4 commits into
mainfrom
setup/obs

Conversation

@Coderx85

Copy link
Copy Markdown
Owner

No description provided.

@Coderx85
Coderx85 requested a review from Copilot December 13, 2025 09:40
@vercel

vercel Bot commented Dec 13, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
onyx Ready Ready Preview Dec 13, 2025 9:40am

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request sets up an observability stack (Loki, Grafana, Vector) for development mode logging and adds a comprehensive UI component library with dashboard functionality. The changes introduce infrastructure for collecting and visualizing logs from Docker containers, along with a complete set of shadcn/ui components for building the application interface.

Key Changes:

  • Observability infrastructure with Loki for log aggregation, Grafana for visualization, and Vector for log collection
  • Loki logger utility for pushing application logs directly to Loki in development mode
  • Complete shadcn/ui component library including tables, charts, forms, and navigation elements
  • Dashboard layout with sidebar navigation, theme support, and responsive design

Reviewed changes

Copilot reviewed 52 out of 53 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
docker-compose.dev.yaml Adds observability services (Loki, Grafana, Vector) with profile configuration
observability/vector.toml Configures Vector to collect Docker logs and forward to Loki
observability/loki-config.yaml Loki server configuration for log storage and querying
observability/grafana/* Grafana provisioning for datasources and dashboards
lib/loki.ts Custom logger utility for pushing logs to Loki in development
package.json Adds UI component dependencies (@radix-ui, @dnd-kit, recharts, etc.)
components/ui/* Complete set of shadcn/ui components for the application
app/(dashboard)/* Dashboard layout and pages with sidebar navigation
app/layout.tsx Integrates theme provider for dark/light mode support
hooks/* Custom hooks for theme and mobile detection

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/(dashboard)/dashboard/page.tsx
Comment on lines +5 to +10
import { usePathname, useRouter } from "next/navigation";
import { ModeToggle } from "./mode-toggle";

export function SiteHeader() {
const pathname = usePathname();
const router = useRouter();

Copilot AI Dec 13, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused variable router.

Suggested change
import { usePathname, useRouter } from "next/navigation";
import { ModeToggle } from "./mode-toggle";
export function SiteHeader() {
const pathname = usePathname();
const router = useRouter();
import { usePathname } from "next/navigation";
import { ModeToggle } from "./mode-toggle";
export function SiteHeader() {
const pathname = usePathname();

Copilot uses AI. Check for mistakes.
Comment thread components/data-table.tsx
Comment on lines +38 to +52
import {
CheckCircle2Icon,
CheckCircleIcon,
ChevronDownIcon,
ChevronLeftIcon,
ChevronRightIcon,
ChevronsLeftIcon,
ChevronsRightIcon,
ColumnsIcon,
GripVerticalIcon,
LoaderIcon,
MoreVerticalIcon,
PlusIcon,
TrendingUpIcon,
} from "lucide-react";

Copilot AI Dec 13, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused import CheckCircleIcon.

Copilot uses AI. Check for mistakes.
@Coderx85
Coderx85 merged commit 6f7cafe into main Dec 13, 2025
9 checks passed
@Coderx85
Coderx85 deleted the setup/obs branch December 13, 2025 09:49

This branch was successfully deployed

1 active deployment
Preview — 524ffb5c Deployed Dec 13, 2025 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants