• About TC
  • Affiliate Disclaimer
  • Privacy Policy
  • TOS
  • Contact
Thursday, May 22, 2025
Techcratic
Click For A Secret Deal
  • TC
  • AI
    Artificial Intelligence

    Surprising Things You Can Do with Python’s csv Module

    Artificial Intelligence

    Set up a custom plugin on Amazon Q Business and authenticate with Amazon Cognito to interact with backend systems

    Artificial Intelligence

    StreamBridge: Turning Your Offline Video Large Language Model into a Proactive Streaming Assistant

    Artificial Intelligence

    3 Excellent Practical Generative AI Courses

    Artificial Intelligence

    Building End-to-End Data Pipelines with Dask

    Artificial Intelligence

    Automate document translation and standardization with Amazon Bedrock and Amazon Translate

    Artificial Intelligence

    InterVision accelerates AI development using AWS LLM League and Amazon SageMaker AI

    Artificial Intelligence

    FireDucks: An Accelerated Fully Compatible Pandas Library

    Artificial Intelligence

    Breaking Out of Beginner: Python Patterns for Intermediate Data Scientists

  • Crypto
    Pakistan to Launch Digital Assets Authority to Regulate Crypto Market and Foster Financial Innovation

    Pakistan to Launch Digital Assets Authority to Regulate Crypto Market and Foster Financial Innovation

    Study: XRP Sees Q1 Growth While BTC, ETH, SOL Market Caps Fall

    Study: XRP Sees Q1 Growth While BTC, ETH, SOL Market Caps Fall

    Hong Kong Passes Landmark Stablecoin Bill, Reshaping Digital Finance

    Hong Kong Passes Landmark Stablecoin Bill, Reshaping Digital Finance

    US Lawmakers Reload Blockchain Regulatory Certainty Act to Shield Crypto Builders

    US Lawmakers Reload Blockchain Regulatory Certainty Act to Shield Crypto Builders

    Texas House Approves Strategic Bitcoin Reserve Bill, Awaits Governor’s Signature

    Texas House Approves Strategic Bitcoin Reserve Bill, Awaits Governor’s Signature

    Bitcoin Hits All-Time High as Dow Tumbles and Treasury Yields Soar

    Bitcoin Hits All-Time High as Dow Tumbles and Treasury Yields Soar

    Bank lobby is ‘panicking’ about yield-bearing stablecoins — NYU professor

    Bank lobby is ‘panicking’ about yield-bearing stablecoins — NYU professor

    Renewables Power 52% of Mining

    New Hampshire Passes BTC Reserve Law: Which States Are Next?

    Kraken Launches European Regulated Crypto Derivatives Offering From Cyprus

    Kraken Launches European Regulated Crypto Derivatives Offering From Cyprus

  • Cybersecurity
    Cybersecurity

    Securing CI/CD workflows with Wazuh

    Cybersecurity

    PureRAT Malware Spikes 4x in 2025, Deploying PureLogs to Target Russian Firms

    Cybersecurity

    Google Chrome Can Now Auto-Change Compromised Passwords Using Its Built-In Manager

    Cybersecurity

    AWS Default IAM Roles Found to Enable Lateral Movement and Cross-Service Exploitation

    Cybersecurity

    South Asian Ministries Hit by SideWinder APT Using Old Office Flaws and Custom Malware

    Cybersecurity

    Chinese Hackers Deploy MarsSnake Backdoor in Multi-Year Attack on Saudi Organization

    Cybersecurity

    Go-Based Malware Deploys XMRig Miner on Linux Hosts via Redis Configuration Abuse

    Cybersecurity

    RVTools Official Site Hacked to Deliver Bumblebee Malware via Trojanized Installer

    Cybersecurity

    Ransomware Gangs Use Skitnet Malware for Stealthy Data Theft and Remote Access

  • Deals
    CyberPowerPC Gamer Xtreme VR Gaming PC, Intel Core Ultra 7 265F 2.4GHz, Arc B580 12GB,…

    CyberPowerPC Gamer Xtreme VR Gaming PC, Intel Core Ultra 7 265F 2.4GHz, Arc B580 12GB,…

    IELLO: Prophecy – Strategic Trick Taking Card Game, Mayan Themed Betting Game, Family…

    IELLO: Prophecy – Strategic Trick Taking Card Game, Mayan Themed Betting Game, Family…

    HAAKUN Horror Playing Cards Scary Spooky Board Game Poker Paper Card with Jokers

    HAAKUN Horror Playing Cards Scary Spooky Board Game Poker Paper Card with Jokers

    The Most Dangerous Game

    The Most Dangerous Game

    Portable Charger Power Bank 32000mAh with Built in Cables, PD3.0 USB C Fast Phone…

    Portable Charger Power Bank 32000mAh with Built in Cables, PD3.0 USB C Fast Phone…

    Foldable Tablet Phone Stand Holder – iPad Stand for Desk Adjustable Height,Portable…

    Foldable Tablet Phone Stand Holder – iPad Stand for Desk Adjustable Height,Portable…

    Logitech Design Collection Wireless Mouse

    Logitech Design Collection Wireless Mouse

    GIGASTONE V10 128GB USB 2.0 Flash Drive 128GB Flash Drive Thumb Drive Memory Stick Pen…

    GIGASTONE V10 128GB USB 2.0 Flash Drive 128GB Flash Drive Thumb Drive Memory Stick Pen…

    STGAubron Gaming PC Computer Desktop, Radeon RX 560 4GB, Intel i7 Xeon E5 up to 3.0GHz,…

    STGAubron Gaming PC Computer Desktop, Radeon RX 560 4GB, Intel i7 Xeon E5 up to 3.0GHz,…

  • Gaming
    I Gave Up On Gotham Knights ….. A Review… Kinda

    I Gave Up On Gotham Knights ….. A Review… Kinda

    HOGWARTS LEGACY – ALL 4 MERLIN TRIALS IN MARUNWEEN LAKE REGION [Solution Walkthrough]

    HOGWARTS LEGACY – ALL 4 MERLIN TRIALS IN MARUNWEEN LAKE REGION [Solution Walkthrough]

    This $6,000 professional grade direct transfer printer comes with plenty of viruses for no extra cost, unless it also steals your crypto

    This $6,000 professional grade direct transfer printer comes with plenty of viruses for no extra cost, unless it also steals your crypto

    New TIPS & TRICKS after PATCH! – Faster Oil Farm / New Pall Stats & Chromite Farm Changes – Palworl

    New TIPS & TRICKS after PATCH! – Faster Oil Farm / New Pall Stats & Chromite Farm Changes – Palworl

    BIG Sale & A HUGE UPDATE Coming To HYPERCHARGE On Switch!

    BIG Sale & A HUGE UPDATE Coming To HYPERCHARGE On Switch!

    Senua’s Saga: Hellblade II Comes to PlayStation 5 This Summer | Senua’s Saga: Hellblade II – Available Now

    Senua’s Saga: Hellblade II Comes to PlayStation 5 This Summer | Senua’s Saga: Hellblade II – Available Now

    Scars Above Gameplay Trailer | Koch Media Primetime 2021

    Scars Above Gameplay Trailer | Koch Media Primetime 2021

    FFVII Rebirth Steam Deck Review – It's COMPLETELY Portable?!

    FFVII Rebirth Steam Deck Review – It's COMPLETELY Portable?!

    Five Nights at Freddy's MOVIE TRAILER Reaction!

    Five Nights at Freddy's MOVIE TRAILER Reaction!

  • Tesla
    Autel Home Smart AI Level 2 EV Charger up to 40Amp, 240V, Indoor/Outdoor Fast Electric…

    Autel Home Smart AI Level 2 EV Charger up to 40Amp, 240V, Indoor/Outdoor Fast Electric…

    Left & Right Side Rearview Mirror Cover Cap For Tesla Model 3 2017 2018 2019 2020 2021…

    Left & Right Side Rearview Mirror Cover Cap For Tesla Model 3 2017 2018 2019 2020 2021…

    2025 Upgrade Sunshade Roof for Tesla Model Y Juniper [No-Gap/Sag-Free] Middle Magnetic…

    2025 Upgrade Sunshade Roof for Tesla Model Y Juniper [No-Gap/Sag-Free] Middle Magnetic…

    Tyger Auto Platform Style Roof Rack Compatible with 2020-2024 Jeep Gladiator | For…

    Tyger Auto Platform Style Roof Rack Compatible with 2020-2024 Jeep Gladiator | For…

    Tesla’s head of self-driving admits ‘lagging a couple years’ behind Waymo

    BestEvMod Foldable Roof Sunshade Compatible with 2024 2025 Tesla Cybertruck Accessories…

    BestEvMod Foldable Roof Sunshade Compatible with 2024 2025 Tesla Cybertruck Accessories…

    Lower Center Console Organizer Cup Holder Compatible with Tesla Cybertruck…

    Lower Center Console Organizer Cup Holder Compatible with Tesla Cybertruck…

    Partsam 12V Submersible Square Led Trailer Light,Red White LED Stop Turn Tail License…

    Partsam 12V Submersible Square Led Trailer Light,Red White LED Stop Turn Tail License…

    Kayme Full Size Truck Cover Waterproof All Weather, Heavy Duty Outdoor Pickup Cover…

    Kayme Full Size Truck Cover Waterproof All Weather, Heavy Duty Outdoor Pickup Cover…

  • UFO
    JELEEL! – Intergalactic ( prod. CONNIE ) (Official Video) (2020)

    JELEEL! – Intergalactic ( prod. CONNIE ) (Official Video) (2020)

    NY Threads Mens Polo Shirt Short Sleeves Quick Dry Performance Tactical Pique Jersey Golf Shirt

    NY Threads Mens Polo Shirt Short Sleeves Quick Dry Performance Tactical Pique Jersey Golf Shirt

    Biggest Disappointment in Space Exploration, Aliens Hiding, Privatisation of Space | Q&A 304

    Biggest Disappointment in Space Exploration, Aliens Hiding, Privatisation of Space | Q&A 304

    Paranormal Activity: The Ghost Dimension Official Trailer #1 (2015) – Horror Movie HD

    Paranormal Activity: The Ghost Dimension Official Trailer #1 (2015) – Horror Movie HD

    Funny UFO Problem Solved Political Humor Sarcastic T-Shirt

    Funny UFO Problem Solved Political Humor Sarcastic T-Shirt

    Cartoon Conspiracy Theories That Will Ruin Your Childhood

    Cartoon Conspiracy Theories That Will Ruin Your Childhood

    Alien Pocket Cool Funny Cute Peace UFO Gift Pullover Hoodie

    Alien Pocket Cool Funny Cute Peace UFO Gift Pullover Hoodie

    Unidentified Flying Object Shot Down Over US Airspace: A Recap of the Prudhoe Bay Incident #shorts

    Unidentified Flying Object Shot Down Over US Airspace: A Recap of the Prudhoe Bay Incident #shorts

    SpaceX rocket launches as stranded NASA astronauts prepare for return | BBC News

    SpaceX rocket launches as stranded NASA astronauts prepare for return | BBC News

No Result
View All Result
  • TC
  • AI
    Artificial Intelligence

    Surprising Things You Can Do with Python’s csv Module

    Artificial Intelligence

    Set up a custom plugin on Amazon Q Business and authenticate with Amazon Cognito to interact with backend systems

    Artificial Intelligence

    StreamBridge: Turning Your Offline Video Large Language Model into a Proactive Streaming Assistant

    Artificial Intelligence

    3 Excellent Practical Generative AI Courses

    Artificial Intelligence

    Building End-to-End Data Pipelines with Dask

    Artificial Intelligence

    Automate document translation and standardization with Amazon Bedrock and Amazon Translate

    Artificial Intelligence

    InterVision accelerates AI development using AWS LLM League and Amazon SageMaker AI

    Artificial Intelligence

    FireDucks: An Accelerated Fully Compatible Pandas Library

    Artificial Intelligence

    Breaking Out of Beginner: Python Patterns for Intermediate Data Scientists

  • Crypto
    Pakistan to Launch Digital Assets Authority to Regulate Crypto Market and Foster Financial Innovation

    Pakistan to Launch Digital Assets Authority to Regulate Crypto Market and Foster Financial Innovation

    Study: XRP Sees Q1 Growth While BTC, ETH, SOL Market Caps Fall

    Study: XRP Sees Q1 Growth While BTC, ETH, SOL Market Caps Fall

    Hong Kong Passes Landmark Stablecoin Bill, Reshaping Digital Finance

    Hong Kong Passes Landmark Stablecoin Bill, Reshaping Digital Finance

    US Lawmakers Reload Blockchain Regulatory Certainty Act to Shield Crypto Builders

    US Lawmakers Reload Blockchain Regulatory Certainty Act to Shield Crypto Builders

    Texas House Approves Strategic Bitcoin Reserve Bill, Awaits Governor’s Signature

    Texas House Approves Strategic Bitcoin Reserve Bill, Awaits Governor’s Signature

    Bitcoin Hits All-Time High as Dow Tumbles and Treasury Yields Soar

    Bitcoin Hits All-Time High as Dow Tumbles and Treasury Yields Soar

    Bank lobby is ‘panicking’ about yield-bearing stablecoins — NYU professor

    Bank lobby is ‘panicking’ about yield-bearing stablecoins — NYU professor

    Renewables Power 52% of Mining

    New Hampshire Passes BTC Reserve Law: Which States Are Next?

    Kraken Launches European Regulated Crypto Derivatives Offering From Cyprus

    Kraken Launches European Regulated Crypto Derivatives Offering From Cyprus

  • Cybersecurity
    Cybersecurity

    Securing CI/CD workflows with Wazuh

    Cybersecurity

    PureRAT Malware Spikes 4x in 2025, Deploying PureLogs to Target Russian Firms

    Cybersecurity

    Google Chrome Can Now Auto-Change Compromised Passwords Using Its Built-In Manager

    Cybersecurity

    AWS Default IAM Roles Found to Enable Lateral Movement and Cross-Service Exploitation

    Cybersecurity

    South Asian Ministries Hit by SideWinder APT Using Old Office Flaws and Custom Malware

    Cybersecurity

    Chinese Hackers Deploy MarsSnake Backdoor in Multi-Year Attack on Saudi Organization

    Cybersecurity

    Go-Based Malware Deploys XMRig Miner on Linux Hosts via Redis Configuration Abuse

    Cybersecurity

    RVTools Official Site Hacked to Deliver Bumblebee Malware via Trojanized Installer

    Cybersecurity

    Ransomware Gangs Use Skitnet Malware for Stealthy Data Theft and Remote Access

  • Deals
    CyberPowerPC Gamer Xtreme VR Gaming PC, Intel Core Ultra 7 265F 2.4GHz, Arc B580 12GB,…

    CyberPowerPC Gamer Xtreme VR Gaming PC, Intel Core Ultra 7 265F 2.4GHz, Arc B580 12GB,…

    IELLO: Prophecy – Strategic Trick Taking Card Game, Mayan Themed Betting Game, Family…

    IELLO: Prophecy – Strategic Trick Taking Card Game, Mayan Themed Betting Game, Family…

    HAAKUN Horror Playing Cards Scary Spooky Board Game Poker Paper Card with Jokers

    HAAKUN Horror Playing Cards Scary Spooky Board Game Poker Paper Card with Jokers

    The Most Dangerous Game

    The Most Dangerous Game

    Portable Charger Power Bank 32000mAh with Built in Cables, PD3.0 USB C Fast Phone…

    Portable Charger Power Bank 32000mAh with Built in Cables, PD3.0 USB C Fast Phone…

    Foldable Tablet Phone Stand Holder – iPad Stand for Desk Adjustable Height,Portable…

    Foldable Tablet Phone Stand Holder – iPad Stand for Desk Adjustable Height,Portable…

    Logitech Design Collection Wireless Mouse

    Logitech Design Collection Wireless Mouse

    GIGASTONE V10 128GB USB 2.0 Flash Drive 128GB Flash Drive Thumb Drive Memory Stick Pen…

    GIGASTONE V10 128GB USB 2.0 Flash Drive 128GB Flash Drive Thumb Drive Memory Stick Pen…

    STGAubron Gaming PC Computer Desktop, Radeon RX 560 4GB, Intel i7 Xeon E5 up to 3.0GHz,…

    STGAubron Gaming PC Computer Desktop, Radeon RX 560 4GB, Intel i7 Xeon E5 up to 3.0GHz,…

  • Gaming
    I Gave Up On Gotham Knights ….. A Review… Kinda

    I Gave Up On Gotham Knights ….. A Review… Kinda

    HOGWARTS LEGACY – ALL 4 MERLIN TRIALS IN MARUNWEEN LAKE REGION [Solution Walkthrough]

    HOGWARTS LEGACY – ALL 4 MERLIN TRIALS IN MARUNWEEN LAKE REGION [Solution Walkthrough]

    This $6,000 professional grade direct transfer printer comes with plenty of viruses for no extra cost, unless it also steals your crypto

    This $6,000 professional grade direct transfer printer comes with plenty of viruses for no extra cost, unless it also steals your crypto

    New TIPS & TRICKS after PATCH! – Faster Oil Farm / New Pall Stats & Chromite Farm Changes – Palworl

    New TIPS & TRICKS after PATCH! – Faster Oil Farm / New Pall Stats & Chromite Farm Changes – Palworl

    BIG Sale & A HUGE UPDATE Coming To HYPERCHARGE On Switch!

    BIG Sale & A HUGE UPDATE Coming To HYPERCHARGE On Switch!

    Senua’s Saga: Hellblade II Comes to PlayStation 5 This Summer | Senua’s Saga: Hellblade II – Available Now

    Senua’s Saga: Hellblade II Comes to PlayStation 5 This Summer | Senua’s Saga: Hellblade II – Available Now

    Scars Above Gameplay Trailer | Koch Media Primetime 2021

    Scars Above Gameplay Trailer | Koch Media Primetime 2021

    FFVII Rebirth Steam Deck Review – It's COMPLETELY Portable?!

    FFVII Rebirth Steam Deck Review – It's COMPLETELY Portable?!

    Five Nights at Freddy's MOVIE TRAILER Reaction!

    Five Nights at Freddy's MOVIE TRAILER Reaction!

  • Tesla
    Autel Home Smart AI Level 2 EV Charger up to 40Amp, 240V, Indoor/Outdoor Fast Electric…

    Autel Home Smart AI Level 2 EV Charger up to 40Amp, 240V, Indoor/Outdoor Fast Electric…

    Left & Right Side Rearview Mirror Cover Cap For Tesla Model 3 2017 2018 2019 2020 2021…

    Left & Right Side Rearview Mirror Cover Cap For Tesla Model 3 2017 2018 2019 2020 2021…

    2025 Upgrade Sunshade Roof for Tesla Model Y Juniper [No-Gap/Sag-Free] Middle Magnetic…

    2025 Upgrade Sunshade Roof for Tesla Model Y Juniper [No-Gap/Sag-Free] Middle Magnetic…

    Tyger Auto Platform Style Roof Rack Compatible with 2020-2024 Jeep Gladiator | For…

    Tyger Auto Platform Style Roof Rack Compatible with 2020-2024 Jeep Gladiator | For…

    Tesla’s head of self-driving admits ‘lagging a couple years’ behind Waymo

    BestEvMod Foldable Roof Sunshade Compatible with 2024 2025 Tesla Cybertruck Accessories…

    BestEvMod Foldable Roof Sunshade Compatible with 2024 2025 Tesla Cybertruck Accessories…

    Lower Center Console Organizer Cup Holder Compatible with Tesla Cybertruck…

    Lower Center Console Organizer Cup Holder Compatible with Tesla Cybertruck…

    Partsam 12V Submersible Square Led Trailer Light,Red White LED Stop Turn Tail License…

    Partsam 12V Submersible Square Led Trailer Light,Red White LED Stop Turn Tail License…

    Kayme Full Size Truck Cover Waterproof All Weather, Heavy Duty Outdoor Pickup Cover…

    Kayme Full Size Truck Cover Waterproof All Weather, Heavy Duty Outdoor Pickup Cover…

  • UFO
    JELEEL! – Intergalactic ( prod. CONNIE ) (Official Video) (2020)

    JELEEL! – Intergalactic ( prod. CONNIE ) (Official Video) (2020)

    NY Threads Mens Polo Shirt Short Sleeves Quick Dry Performance Tactical Pique Jersey Golf Shirt

    NY Threads Mens Polo Shirt Short Sleeves Quick Dry Performance Tactical Pique Jersey Golf Shirt

    Biggest Disappointment in Space Exploration, Aliens Hiding, Privatisation of Space | Q&A 304

    Biggest Disappointment in Space Exploration, Aliens Hiding, Privatisation of Space | Q&A 304

    Paranormal Activity: The Ghost Dimension Official Trailer #1 (2015) – Horror Movie HD

    Paranormal Activity: The Ghost Dimension Official Trailer #1 (2015) – Horror Movie HD

    Funny UFO Problem Solved Political Humor Sarcastic T-Shirt

    Funny UFO Problem Solved Political Humor Sarcastic T-Shirt

    Cartoon Conspiracy Theories That Will Ruin Your Childhood

    Cartoon Conspiracy Theories That Will Ruin Your Childhood

    Alien Pocket Cool Funny Cute Peace UFO Gift Pullover Hoodie

    Alien Pocket Cool Funny Cute Peace UFO Gift Pullover Hoodie

    Unidentified Flying Object Shot Down Over US Airspace: A Recap of the Prudhoe Bay Incident #shorts

    Unidentified Flying Object Shot Down Over US Airspace: A Recap of the Prudhoe Bay Incident #shorts

    SpaceX rocket launches as stranded NASA astronauts prepare for return | BBC News

    SpaceX rocket launches as stranded NASA astronauts prepare for return | BBC News

No Result
View All Result
Techcratic
No Result
View All Result

How we Built Scalable & Customizable Dashboards

Hacker News by Hacker News
May 21, 2025
in Hacker News
Reading Time: 12 mins read
122 8
A A
0
Home Hacker News
Share on FacebookShare on XShare on LinkedIn

2025-05-21 13:40:00
langfuse.com

How we Built Scalable & Customizable DashboardsMay 21, 2025

A technical deep dive into the core abstractions and architecture

On Day 3 of , we introduce customizable dashboards (): a powerful way to visualize LLM usage directly within the Langfuse UI.
Whether you want to track latency trends, monitor user feedback, or correlate cost with performance, our new dashboards let you build the charts you need – right where you need them.
And for those who prefer working in their own analytics stack, we’ve made the same querying capabilities available via our API ().

For context: quick demo of the finished product

In this post, I’ll take you behind the scenes: from our product thinking to the technical implementation, testing, and rollout—and share the lessons we learned in building flexible, real-time insights into your LLM pipelines.

Motivation

Customizable dashboards were among the features within Langfuse.
Early on, we had the home screen dashboard that showed users metrics we believed to be relevant and accurate.
We expanded that over time based on feedback about the charts users wanted to see.
The dashboard grew quite long, and we found that charts were relevant but not necessarily to the same kind of users.
A product manager wants to understand which score specific traces receive, while a developer wants to see latencies, error rates, and costs.

We realized that we needed to provide dashboards that were adaptable to the needs of different users and personas.
This involved the ability to create multiple dashboards, a variety of charts and insights, and a flexible query engine.
While exploring custom dashboards, we found that within our data model and constraints, this would become quite complex.

Therefore, we included custom dashboards as part of the Superday in our interview process and had many candidates design their version of the dashboard and share their thoughts.
That’s how this became the most specced feature we have ever had at Langfuse.
Early in March, I set out to finally implement it and now, I’ll take you on the journey showing how I completed the feature that we are launching today.

Architecture: Building for Flexibility, Performance, Maintainability

Dashboards are built on top of 3 major components:

  1. Database/metrics Abstraction
  2. Query Builder
  3. Dashboard Builder

Let’s dive into each of these and show how we can use them to build the dashboards.

Database Abstraction

Before we could start the dashboard, we had to decide how to abstract our data model.
Directly exposing our database felt like the wrong move as this would lock us from updating the data model and may not fit the mental model of our customers.
Therefore, we decided to build custom dashboards around the .

For this purpose, we created a virtual data model that contains the full definition of what we expose.
It is used to fill the frontend, including units and documentation, and also used for validations on the backend.
Below, you can find an excerpt of the Trace definition.

This declarative definition helps us to decouple the database from the request schema and enables us to quickly define new measures and dimensions.

Query Builder

The hardest challenge around the dashboards, and something we knew right away, was getting the query builder right.
I think representing dashboard configurations within the database is a solved problem, as is having charts on the front end that render nicely, are responsive, and look good on different screens (s/o to all the great libraries for this).

We introduced ClickHouse back in November of last year, and this was the first unlock we needed to get this done (learn more about this change in our ).
The second challenge was figuring out the data model and how to generate queries reliably while staying flexible.

Within our data model, we often see that observations need to be aggregated at the trace, user, or session level.
In the typical OLAP cube model – common across visualization tools – those multi-level aggregations are not natively supported or are complex to define.

In addition, the dashboard must be responsive, and look good on all screens and devices.
We need a good data model to represent the individual charts and the overall dashboard, making a good trade-off between reuse and understandability of how things work.

Langfuse is developing rapidly, so we need to ensure that the created dashboards are decoupled from the data model.
This will prevent the charts from breaking as we modify the underlying data layer.

With those constraints in mind, the challenge was to accept a flexible, domain-specific JSON and translate it.
We thought about how we would query this endpoint.
The typical OLAP cube model came in really handy here, and we tried to stick to it as much as possible.
We settled onto the following input format:

After multiple iterations, we settled on a generic query pattern that pre-computes the necessary metrics at the entity level and then performs an additional set of aggregations on the entity to produce the final result.
Schematically the query looks like this:

Within our execution flow, we transformed the input in multiple steps to consistently arrive at the valid, final query.

To test this, we created our own query playground where you could input a JSON statement, and it would compile and execute a corresponding query.
Using these features, we started to replace the queries we used for our legacy/static home screen dashboard to verify that the query builder was sufficiently flexible and performant.

We saw that the queries would execute at scale with a lot of flexibility.
Given that we had already covered a lot of ground within those dashboards, seeing them run well and scale effectively even across longer time horizons gave us the confidence that we were on the right track and could proceed to build the remaining features.
At this point, the power of ClickHouse came in really handy because initially, we optimized for development speed, focusing on understanding what is going on within the query builder.

Dashboard Builder

In addition, we had to decide whether we wanted to embed all the widgets within the dashboards, meaning that they only live and exist within the scope of a single dashboard, or if we wanted to allow some reuse between the widgets.
We found that the reuse option seemed very tempting, as it allows you to have a single source of truth on charts.
One expert could create a score and a corresponding score widget, which can then be reused across multiple dashboards.
I have seen in the past, with many companies, that the replication of things across dashboards either led to a lack of maintenance where items would get out of date or where a misunderstanding of the metric created multiple widgets with separate meaning.

Delivery & Launch

Creating the Beta

Based on the specification we created above, we started vibe-coding an initial version of the feature.
Tools like Claude Code, Cursor, and Windsurf came in really handy in creating the necessary functionality.
We had a clear idea of what the final query should look like, what the test cases should cover, and how the interface should be designed.
In this situation, prompting works really well.

Overall, this is something we frequently use here at Langfuse (see ).
We understand the topic deeply, create a design or mental model of how it should work, and then have AI help us write the code for it.
This approach allows our team of eight people to scale to tens of thousands of users and billions of events.

Our next use of the AI agent was toward creating unit tests. Initially, we focused on creating valid queries.
Then, we wanted to create correct queries, meaning that we created a known set of test data and validated that they produce the correct results.
After that, we compared the results to our existing dashboard logic to reproduce our home dashboard functionality.
Finally, we went deep on SQL injection tests to ensure that any variety of user inputs are caught and not forwarded to the database if the input might be malicious.
This is fundamental for a feature like custom dashboards and a non-negotiable for us.
If you want to see the total size of the tests we created, which are much larger than the feature overall, head over to our .

Once the backend powered our home dashboards, we began building the UI.
Here, we reused as many fully functional libraries as possible, giving a shout-out to the shadcn/charts, Recharts, and React Grid Layout.
We started with a basic prototype of how the widget builder can work – focusing on its responsiveness, rendering, and ensuring that a single component functions well and that users can understand the flow.
From there, we explored how to render multiple components and how to save the configurations within the database.

Even though I am historically more of a platform developer, it was easy enough to get into it and flesh this out end-to-end, and the reviews from the other maintainers helped me avoid the biggest mistakes.
We see AI as a significant enabler for engineers to be faster and build more things across a wider domain (embrace end-to-end product engineering).
However, we still recognize the need for human interaction and expert reviews to prevent creating excessive technical debt.
It is always important to understand what you are doing and what is happening in order to keep the management model intact.

Test and Launch

With this early version in place, we decided to create a beta release and share custom dashboards with our users on the cloud product.
Why cloud only and not for self-hosted deployments, you may ask?
Because here we were confident that we could still change the data model, the interface, and how we store dashboards, in the worst case, manually.
We didn’t want to risk users having to mutate data within Postgres and ClickHouse on their own if necessary.

After seeing the data from the first week and confirming that the behavior worked well, we also pushed the release for our open-source self-hosters so they could get started building their dashboards.

Right after the launch, feedback started coming in about which charts users wanted to see, what other functionality they wanted to use, and which parts of the dashboards were unintuitive.
Fortunately for us, performance was rarely a concern.
The focus was more on seeing more, visualizing more, and overall making the feature more complete.

Many of the features that users wished for are included in today’s release. These include:

  • Additional chart components.
  • Resizable and movable widgets within the dashboard screen.
  • The ability to rename components.
  • More tooling support when creating a new widget to reduce friction.

In addition, we are launching Langfuse-managed Dashboards, which consists of topic-focused dashboards that we believe are useful given the data users have.
You can use them as they are and receive the latest updates with each new release, or clone them into your repository and modify them to your liking.

Try it Today

We’re excited to see what users will build using the new dashboarding functionality.
In the coming days and weeks, we will release additional chart types, with tables and pivot tables high on our list.
Please share any feedback you might have with us on .
We will also continue adding improvements, more metrics, and more data to the dashboards.
One likely candidate for future development is the experiments feature.
This will allow you to observe your offline activities together with your online evaluations and cross-correlate the results.
Stay tuned.

Don’t Miss Out

Learn More About Langfuse

Questions? We’re here to help

Source Link


Keep your files stored safely and securely with the SanDisk 2TB Extreme Portable SSD. With over 69,505 ratings and an impressive 4.6 out of 5 stars, this product has been purchased over 8K+ times in the past month. At only $129.99, this Amazon’s Choice product is a must-have for secure file storage.

Help keep private content private with the included password protection featuring 256-bit AES hardware encryption. Order now for just $129.99 on Amazon!


Start your free Amazon Prime trial
today and unlock unlimited streaming and more!

Help Power Techcratic’s Future – Scan To Support

If Techcratic’s content and insights have helped you, consider giving back by supporting the platform with crypto. Every contribution makes a difference, whether it’s for high-quality content, server maintenance, or future updates. Techcratic is constantly evolving, and your support helps drive that progress.

As a solo operator who wears all the hats, creating content, managing the tech, and running the site, your support allows me to stay focused on delivering valuable resources. Your support keeps everything running smoothly and enables me to continue creating the content you love. I’m deeply grateful for your support, it truly means the world to me! Thank you!

BITCOIN

Bitcoin Logo

Bitcoin QR Code

bc1qlszw7elx2qahjwvaryh0tkgg8y68enw30gpvge

Scan the QR code with your crypto wallet app

DOGECOIN

Dogecoin Logo

Dogecoin QR Code

D64GwvvYQxFXYyan3oQCrmWfidf6T3JpBA

Scan the QR code with your crypto wallet app

ETHEREUM

Ethereum Logo

Ethereum QR Code

0xe9BC980DF3d985730dA827996B43E4A62CCBAA7a

Scan the QR code with your crypto wallet app

Please read the Privacy and Security Disclaimer on how Techcratic handles your support.

Disclaimer: As an Amazon Associate, Techcratic may earn from qualifying purchases.

Tags: Hacker News
Share162Tweet101Share28
Previous Post

Xbox Game Pass Retro Classics has over 50 old-school games for people over 50

Next Post

Incredible shrinking clownfish beats the heat

Hacker News

Hacker News

Stay updated with Hacker News, where technology meets entrepreneurial spirit. Get the latest on tech trends, startup news, and discussions from the tech community. Read the latest updates here at Techcratic.

Related Posts

Devstral | Mistral AI
Hacker News

Devstral | Mistral AI

May 22, 2025
1.3k
Kotlin/kotlin-lsp: Kotlin Language Server and plugin for Visual Studio Code
Hacker News

Kotlin/kotlin-lsp: Kotlin Language Server and plugin for Visual Studio Code

May 22, 2025
1.3k
The US has a new most powerful laser
Hacker News

The US has a new most powerful laser

May 21, 2025
1.3k
ITXPlus: A ITX Sized Macintosh Plus Logicboard Reproduction
Hacker News

ITXPlus: A ITX Sized Macintosh Plus Logicboard Reproduction

May 21, 2025
1.3k
LLM function calls don’t scale; code orchestration is simpler, more effective.
Hacker News

LLM function calls don’t scale; code orchestration is simpler, more effective.

May 21, 2025
1.3k
lune-org/lune: A standalone Luau runtime
Hacker News

lune-org/lune: A standalone Luau runtime

May 21, 2025
1.3k
Load More
Next Post
Incredible shrinking clownfish beats the heat

Incredible shrinking clownfish beats the heat

Nvidia CEO Jensen Huang criticizes US curbs on AI chip sales to China

Nvidia CEO Jensen Huang criticizes US curbs on AI chip sales to China

Which Antivirus Is Right for You?

Which Antivirus Is Right for You?

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Your Tech Resources

  • 30 Second Tech ™
  • AI
  • App Zone ™
  • Apple
  • Ars Technica
  • CNET
  • ComputerWorld
  • Crypto News
  • Cybersecurity
  • Endgadget
  • Fossbytes
  • Gaming
  • GeekWire
  • Gizmodo
  • Google News
  • Hacker News
  • Harvard Tech
  • I Like Cats ™
  • I Like Dogs ™
  • LifeHacker
  • MacRumors
  • Macworld
  • Mashable
  • Microsoft
  • MIT Tech
  • PC World
  • Photofocus
  • Physics
  • Random Tech
  • Retro Rewind ™
  • Robot Report
  • SiliconANGLE
  • SlashGear
  • Smartphone
  • StackSocial
  • Tech Art
  • Tech Careers
  • Tech Deals
  • Techcratic ™
  • TechCrunch
  • Techdirt
  • TechRepublic
  • Techs Got To Eat ™
  • TechSpot
  • Tesla
  • The Verge
  • TNW
  • Trusted Reviews
  • UFO
  • VentureBeat
  • Visual Capitalist
  • Weird Stuff
  • Wired
  • ZDNet

Tech News

  • 30 Second Tech ™
  • AI
  • AnandTech
  • Apple Insider
  • Ars Technica
  • CNET
  • ComputerWorld
  • Crypto News
  • Cybersecurity
  • Endgadget
  • ExtremeTech
  • Fossbytes
  • Gaming
  • GeekWire
  • Gizmodo

Tech News

  • Harvard Tech
  • MacRumors
  • Macworld
  • Mashable
  • Microsoft
  • MIT Tech
  • Physics
  • PC World
  • Random Tech
  • Retro Rewind ™
  • SiliconANGLE
  • SlashGear
  • Smartphone
  • StackSocial
  • Tech Careers

Tech News​

  • Tech Art
  • TechCrunch
  • Techdirt
  • TechRepublic
  • Techs Got To Eat ™
  • TechSpot
  • Tesla
  • The Verge
  • TNW
  • Trusted Reviews
  • UFO
  • VentureBeat
  • Visual Capitalist
  • Weird Stuff
  • Wired
  • ZDNet

Site Links

  • About Techcratic
  • Affiliate Disclaimer
  • Affiliate Link Policy
  • Contact Techcratic
  • Dealors Discount Store
  • Privacy and Security Disclaimer
  • Privacy Policy
  • RSS Feed
  • Site Map
  • Support Techcratic
  • Techcratic
  • Tech Deals
  • TOS
  • 𝕏
Click For A Secret Deal

Techcratic – Your All In One Tech Hub © 2020 – 2025
All Rights Reserved
∞

No Result
View All Result
  • Home
  • Apple
  • Gaming
  • Microsoft
  • AnandTech