Wednesday, June 18, 2025
News Wave
No Result
View All Result
  • Home
  • World
  • USA
  • Business
  • Sports
  • Entertainment
  • Technology
News Wave
  • Home
  • World
  • USA
  • Business
  • Sports
  • Entertainment
  • Technology
No Result
View All Result
News Wave
No Result
View All Result
Home Business

Solving Data Wrangling for Dashboards

11 March 2024
in Business
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

Loading spinner
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

Could ,000 Invested in Palantir Stock When It Went Public in 2020 Turn Into  million by 2030?
Business

Could $10,000 Invested in Palantir Stock When It Went Public in 2020 Turn Into $1 million by 2030?

by My News Wave
18 June 2025
0

If you had invested $10,000 in Palantir Technologies (NASDAQ: PLTR) five years ago, it would be worth approximately $144,630 today, significantly outperforming the S&P 500's $19,000 return. However, to reach a $1 million valuation by 2030, Palantir would need to achieve a 591% increase, leveraging its innovative big data analytics and integration of generative AI technologies. Need More Context? 🔎

Read more
The Stocks That Could Make Your Grandkids Rich as Kings
Business

The Stocks That Could Make Your Grandkids Rich as Kings

by My News Wave
18 June 2025
0

Young people have the potential to become multimillionaires due to their extended time for investments to grow. The article explores various promising investment options that can be recommended to children and grandchildren, emphasizing the importance of early financial education and smart money management. Need More Context? 🔎

Read more
Can the Stock Market Keep Rising Forever? Here's How to Prepare for All Scenarios.
Business

Can the Stock Market Keep Rising Forever? Here's How to Prepare for All Scenarios.

by My News Wave
18 June 2025
0

The S&P 500 is nearing 6,000, just 3% shy of its all-time highs, raising questions among investors about its potential for further growth. While the market has nearly doubled in the past five years, experienced investors recommend preparing for various scenarios with a broad, long-term strategy to navigate future market fluctuations. Need More Context? 🔎

Read more
1 No-Brainer Cryptocurrency Fund to Buy Right Now for Less Than 0
Business

1 No-Brainer Cryptocurrency Fund to Buy Right Now for Less Than $100

by My News Wave
18 June 2025
0

Bitcoin's price remains volatile but has risen nearly 60% over the past year, suggesting continued growth potential. The Grayscale Bitcoin Trust ETF offers an accessible way to invest in Bitcoin without the complexities of crypto wallets, making it a compelling investment at under $100 per share. Need More Context? 🔎

Read more
Are You One of the Millions of People Afraid of Investing in Cryptocurrency? Here Are 3 Ways to Invest in Crypto That Will Let You Sleep at Night.
Business

Are You One of the Millions of People Afraid of Investing in Cryptocurrency? Here Are 3 Ways to Invest in Crypto That Will Let You Sleep at Night.

by My News Wave
17 June 2025
0

Bitcoin has surged over 1,060% in the last five years but has faced significant drawdowns exceeding 80%, contributing to 63% of U.S. adults expressing low confidence in cryptocurrencies as a safe investment. Despite this skepticism, a Motley Fool report indicates that 20% of American adults own crypto, with 42% planning to invest within the next year. Need More Context? 🔎

Read more
Why AI Stock Jabil Crushed the Market on Tuesday
Business

Why AI Stock Jabil Crushed the Market on Tuesday

by My News Wave
17 June 2025
0

The rapid adoption of artificial intelligence has significantly benefited Jabil (NYSE: JBL), driving a nearly 9% increase in its stock price following the release of its fiscal Q3 2025 results. The company reported a 16% year-over-year revenue growth to over $7.8 billion, surpassing analyst expectations of $7 billion. Need More Context? 🔎

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

  • Trump Says He Has Not Made a Final Decision on Iran Strikes
  • Buss family agrees to sell controlling stake of Lakers to Mark Walter for $10B, AP source says
  • Dad-of-four dies after stomach ache turned out to be stage four cancer
  • 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