Skip to content

Conversation

@emasab
Copy link
Contributor

@emasab emasab commented Nov 19, 2025

The dashboard uses PromQL and can also be used when metrics are collected through Prometheus or compatible service.

Copilot AI review requested due to automatic review settings November 19, 2025 11:30
@emasab emasab requested a review from a team as a code owner November 19, 2025 11:30
@confluent-cla-assistant
Copy link

🎉 All Contributor License Agreements have been signed. Ready to merge.
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a Grafana dashboard for visualizing librdkafka statistics collected from JSON messages. The dashboard uses VictoriaMetrics as a time-series database and supports PromQL queries for metrics visualization.

Key Changes:

  • Implemented a Python script to parse librdkafka stats JSON from log files and store them in SQLite
  • Created Docker Compose setup with Grafana and VictoriaMetrics for metrics visualization
  • Added automated dashboard provisioning with configurable scrape intervals

Reviewed Changes

Copilot reviewed 9 out of 11 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
stats-dashboard/run.py Main script orchestrating log parsing, database creation, metrics backfilling, and dashboard initialization
stats-dashboard/docker-compose.yml Docker Compose configuration for Grafana and VictoriaMetrics services
stats-dashboard/requirements.txt Python dependencies including prometheus-remote-writer
stats-dashboard/provisioning/datasources/victoriametrics.yaml Grafana datasource configuration for VictoriaMetrics
stats-dashboard/provisioning/dashboards/dashboards.yaml Grafana dashboard provisioning configuration
stats-dashboard/victoriametrics/prometheus.yml VictoriaMetrics scrape configuration
stats-dashboard/conf/grafana.ini Grafana server configuration file
stats-dashboard/README.md Documentation for setup and usage
stats-dashboard/.gitignore Git ignore rules for generated database file

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

@airlock-confluentinc airlock-confluentinc bot force-pushed the dev_stats_dashboard_prometheus branch from 7ddab65 to 49b3b24 Compare November 19, 2025 12:00
when coming from different nodes
(for example different Kubernetes pods)
@airlock-confluentinc airlock-confluentinc bot force-pushed the dev_stats_dashboard_prometheus branch from 49b3b24 to 52c197b Compare November 19, 2025 12:23
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