Monday, July 21, 2025
News Wave
No Result
View All Result
  • Home
  • World
  • USA
  • Business
  • Sports
  • Entertainment
  • Technology
Login
News Wave
  • Home
  • World
  • USA
  • Business
  • Sports
  • Entertainment
  • Technology
Login
No Result
View All Result
Login
News Wave
No Result
View All Result
Home Business

Solving Data Wrangling for Dashboards

11 March 2024
in Business
0 0
0
Solving Data Wrangling for Dashboards
Share on FacebookShare on Twitter


This post is about Dashify, the Cisco Observability Platform’s dashboarding framework. We are going to describe how AppDynamics, and partners, use Dashify to build custom product screens, and then we are going to dive into details of the framework itself. We will describe its specific features that make it the most powerful and flexible dashboard framework in the industry.

What are dashboards? Dashboards are data-driven user interfaces that are designed to be viewed, edited, and even created by product users. Product screens themselves are also built with dashboards. For this reason, a complete dashboard framework provides leverage for both the end users looking to share dashboards with their teams, and the product-engineers of COP solutions like Cisco Cloud Observability.

In the observability space most dashboards are focused on charts and tables for rendering time series data, for example “average response time” or “errors per minute”. The image below shows the COP EBS Volumes Overview Dashboard, which is used to understand the performance of Elastic Block Storage (EBS) on Amazon Web Services. The dashboard features interactive controls (dropdowns) that are used to further-refine the scenario from all EBS volumes to, for example unhealthy EBS volumes in US-WEST-1.

Several other dashboards are provided by our Cisco Cloud Observability app for monitoring other AWS systems. Here are just a few examples of the rapidly expanding use of Dashify dashboards across the Cisco Observability Platform.

  • EFS Volumes
  • Elastic Load Balancers
  • S3 Buckets
  • EC2 Instances

Why Dashboards No observability product can “pre-imagine” every way that customers want to observe their systems. Dashboards allow end-users to create custom experiences, building on existing in-product dashboards, or creating them from scratch. I have seen large organizations with more than 10,000 dashboards across dozens of teams. Dashboards are a cornerstone of observability, forming a bridge between a remote data source, and local display of data in the user’s browser. Dashboards are used to capture “scenarios” or “lenses” on a particular problem. They can serve a relatively fixed use case, or they can be ad-hoc creations for a troubleshooting “war room.” A dashboard performs many steps and queries to derive the data needed to address the observability scenario, and to render the data into visualizations. Dashboards can be authored once, and used by many different users, leveraging the know-how of the author to enlighten the audience. Dashboards play a critical role in low-level troubleshooting and in rolling up high-level business KPIs to executives.

The goal of dashboard frameworks has always been to provide a way for users, as opposed to ‘developers’, to build useful visualizations. Inherent to this “democratization” of visualizations is the notion that building a dashboard must somehow be easier than a pure JavaScript app development approach. Afterall, dashboards cater to users, not hardcore developers.

The problem with dashboard frameworks The diagram below illustrates how a traditional dashboard framework allows the author to configure and arrange components but does not allow the author to create new components or data sources. The dashboard author is stuck with whatever components, layouts, and data sources are made available. This is because the areas shown in red are developed in JavaScript and are provided by the framework. JavaScript is neither a secure, nor easy technology to learn, therefore it is rarely exposed directly to authors. Instead, dashboards expose a JSON or YAML based DSL. This typically leaves field teams, SEs, and power users in the position of waiting for the engineering team to release new components, and there is almost a deep feature backlog. I have personally seen this scenario play out many times. To take a real example, a team building dashboards for IT services wanted rows in a table to be colored according to a “heat map”. This required a feature request to be logged with engineering, and the core JavaScript-based Table component had to be changed to support heat maps. It became typical for the core JS components to become a mishmash of domain-driven spaghetti code. Eventually the code for Table itself was hard to find amidst the dozens of props and hidden behaviors like “heat maps”. Nobody was happy with the situation, but it was typical, and core component teams mostly spent their sprint cycles building domain behaviors and trying to understand the spaghetti.

What if dashboard authors themselves on the power-user end of the spectrum could be empowered to create components themselves? Enter Dashify Dashify’s mission is to remove the barrier of “you can’t do that” and “we don’t have a component for that”. To accomplish this, Dashify rethinks some of the foundations of traditional dashboard frameworks. The diagram below shows that Dashify shifts the boundaries around what is “built in” and what is made completely accessible to the Author. This radical shift allows the core framework team to focus on “pure” visualizations, and empowers domain teams, who author dashboards, to build domain specific behaviors like “IT heat maps” without being blocked by the framework team.

To accomplish this breakthrough, Dashify had to solve the key challenge of how to simplify and expose reactive behavior and composition without cracking open the proverbial can of JavaScript worms. To do this, Dashify leveraged a new JSON/YAML meta-language, created at Cisco in the open source, for the purpose of declarative, reactive state management. This new meta-language is called “Stated,” and it is being used to drive dashboards, as well as many other JSON/YAML configurations within the Cisco Observability Platform.

Let’s take a simple example to show how Stated enables a dashboard author to insert logic directly into a dashboard JSON/YAML. Suppose we receive data from a data source that provides “health” about AWS availability zones. Assume the health data is updated asynchronously. Now suppose we wish to bind the changing health data to a table of “alerts” according to some business rules: only show alerts if the percentage of unhealthy instances is greater than 10% show alerts in descending order based on percentage of unhealthy instances update the alerts every time the health data is updated (in other words declare a reactive dependency between alerts and health). This snippet illustrates a desired state, that adheres to the rules.

But how can we build a dashboard that continuously adheres to the three rules? If the health data changes, how can we be sure the alerts will be updated? These questions get to the heart of what it means for a system to be Reactive. This Reactive scenario is at best difficult to accomplish in today’s popular dashboard frameworks. Notice we have framed this problem in terms of the data and relationships between different data items (health and alerts), without mentioning the user interface yet. In the diagram above, note the “data manipulation” layer. This layer allows us to create exactly these kinds of reactive (change driven) relationships between data, decoupling the data from the visual components.

Let’s look at how easy it is in Dashify to create a reactive data rule that captures our three requirements. Dashify allows us to replace *any* piece of a dashboard with a reactive rule, so we simply write a reactive rule that generates the alerts from the health. The Stated rule, beginning on line 12 is a JSONata expression. Feel free to try it yourself here. One of the most interesting things is that it appears you don’t have to “tell” Dashify what data your rule depends on. You just write your rule. This simplicity is enabled by Stated’s compiler, which analyzes all the rules in the template and produces a Reactive change graph. If you change anything that the ‘alerts’ rule is looking at, the ‘alerts’ rule will fire, and recompute the alerts.

Let’s quickly prove this out using the stated REPL which lets us run and interact with Stated templates like Dashify dashboards. Let’s see what happens if we use Stated to change the first zone’s unhealthy count to 200. The screenshot below shows execution of the command “.set /health/0/unhealthy 200” in the Stated JSON/YAML REPL. Dissecting this command, it says “set the value at json pointer /health/0/unhealthy to value 200”. We see that the alerts are immediately recomputed, and that us-east-1a is now present in the alerts with 99% unhealthy. By recasting much of dashboarding as a reactive data problem, and by providing a robust in-dashboard expression language, Dashify allows authors to do both traditional dashboard creation, advanced data bindings, and reusable component…



Source link

Tags: DashboardsDataSolvingWrangling
Previous Post

OKC’s Sam Presti is an overrated draft savant

Next Post

Debt repayments, holidays and home improvements ‘most popular reasons to save’

Related Posts

3 Monster Stocks in the Making to Buy Right Now
Business

3 Monster Stocks in the Making to Buy Right Now

by My News Wave
20 July 2025
0

Investors looking for potential "monster stocks" should consider the biotech sector, which offers promising early-stage companies. Three Motley Fool contributors highlight CRISPR Therapeutics (NASDAQ: CRSP), Summit Therapeutics (NASDAQ: SMMT), and Viking Therapeutics (NASDAQ: VKTX) as stocks with significant growth potential. Explain It To Me Like I'm 5: Some smart people think there are special companies that make medicine, called biotech stocks, and they believe that CRISPR Therapeutics, Summit Therapeutics, and Viking Therapeutics could become really...

Read more
Nvidia and Broadcom: Here's How These Top AI Stocks Are Doing 1 Year After Their Stock Splits
Business

Nvidia and Broadcom: Here's How These Top AI Stocks Are Doing 1 Year After Their Stock Splits

by My News Wave
20 July 2025
0

In 2024, major companies Nvidia and Broadcom completed stock splits to make their shares more accessible after significant price increases of over 200% and 100%, respectively. Stock splits, like a 10-for-1 ratio, do not change a company's market value but increase the number of shares held by investors, facilitating broader participation. Explain It To Me Like I'm 5: Last year, big companies like Nvidia and Broadcom made their stocks easier to buy by splitting them...

Read more
6 Questions You Should Ask Before Retiring During a Bear Market
Business

6 Questions You Should Ask Before Retiring During a Bear Market

by My News Wave
20 July 2025
0

Economists often worry about bear markets as they are a common part of the economic cycle, occurring when a market drops by 20% or more from its recent high, while a bull market is defined by a 20% increase. Investors can expect to experience around 14 bear markets over a 50-year period, and while retiring during one can be daunting, it is not the end of your financial future. Explain It To Me Like I'm...

Read more
5 Reasons to Buy Energy Transfer Stock Like There's No Tomorrow
Business

5 Reasons to Buy Energy Transfer Stock Like There's No Tomorrow

by My News Wave
20 July 2025
0

Energy Transfer (NYSE: ET) presents an attractive risk-reward profile and high yield, making it a significant holding in my portfolio. After a period of restructuring that included cutting its distribution in 2020 to reduce leverage, the midstream energy company has successfully improved its balance sheet by paying down debt and funding growth through free cash flow. Explain It To Me Like I'm 5: Energy Transfer is a big company that helps move energy and is...

Read more
United Airlines Lifts EPS Outlook
Business

United Airlines Lifts EPS Outlook

by My News Wave
20 July 2025
0

United Airlines Q2 2025 ResultsOn July 16, 2025, United Airlines (NASDAQ: UAL) reported Q2 2025 earnings, revealing adjusted diluted earnings per share of $3.87, exceeding analyst estimates by 1.57%, while total revenue of $15.2 billion fell slightly short of forecasts. Despite challenges in domestic passenger revenue, management raised full-year earnings guidance, indicating optimism for the rest of 2025. Explain It To Me Like I'm 5: United Airlines made a lot of money in the second...

Read more
Billionaire David Tepper Sold Nvidia and AMD and Is Piling Into This Specialized AI Chipmaker Instead
Business

Billionaire David Tepper Sold Nvidia and AMD and Is Piling Into This Specialized AI Chipmaker Instead

by My News Wave
20 July 2025
0

David Tepper, a leading investment manager, founded Appaloosa Management, achieving over 28% annualized returns since 1993, significantly outperforming the S&P 500's 10.6% over the last 32 years. Known for his contrarian investment style, he has capitalized on trends like artificial intelligence, profiting from stocks such as Nvidia and Advanced Micro Devices. Explain It To Me Like I'm 5: David Tepper is a very smart money manager who makes a lot of money by buying things...

Read more
News Wave

News Summarized. Time Saved. Bite-sized news briefs for busy people. No fluff, just facts.

CATEGORIES

  • Africa
  • Asia Pacific
  • Australia
  • Business
  • Canada
  • Entertainment
  • Europe
  • India
  • Middle East
  • New Zealand
  • Sports
  • Technology
  • UK
  • USA
  • World

LATEST NEWS STORIES

  • Wayne and Coleen Rooney made heroes of Lord of the Rings spoof
  • WhatsApp is dropping its native Windows app in favor of an uglier web version
  • Trump calls those who want Epstein files released ‘troublemakers’
  • About Us
  • Disclaimer
  • Privacy Policy
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact Us

Copyright © 2025 News Wave
News Wave is not responsible for the content of external sites.

No Result
View All Result
  • Home
  • World
  • USA
  • Business
  • Sports
  • Entertainment
  • Technology

Copyright © 2025 News Wave
News Wave is not responsible for the content of external sites.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In