DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Please enter at least three characters to search
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

The software you build is only as secure as the code that powers it. Learn how malicious code creeps into your software supply chain.

Apache Cassandra combines the benefits of major NoSQL databases to support data management needs not covered by traditional RDBMS vendors.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Related

  • Telemetry Pipelines Workshop: Installing Fluent Bit From Source
  • Leveraging AIOps for Observability Workflows: How to Improve the Scalability and Intelligence of Observability
  • Embracing the Future With Hybrid and Cloud-Native Observability: An In-Depth Exploration of Observability With Architectural Examples and Best Practices
  • Three Habits of Highly Effective Observability Teams

Trending

  • How to Convert XLS to XLSX in Java
  • After 9 Years, Microsoft Fulfills This Windows Feature Request
  • Introduction to Retrieval Augmented Generation (RAG)
  • Useful System Table Queries in Relational Databases
  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. Open Dashboard and Visualization Workshop: Introduction and Installing Perses

Open Dashboard and Visualization Workshop: Introduction and Installing Perses

In this article, explore an updated introduction to the background of Perses, as well as an open dashboard and visualization workshop.

By 
Eric D.  Schabell user avatar
Eric D. Schabell
DZone Core CORE ·
Dec. 11, 23 · Tutorial
Likes (3)
Comment
Save
Tweet
Share
4.0K Views

Join the DZone community and get the full member experience.

Join For Free

Back in December of 2022, I started a series taking you on a tour of the Perses project. These articles covered this fairly new open dashboard and visualization project targeting cloud-native environments. I used a getting started workshop (linked below) to guide you through this series and to provide a hands-on experience for those new to visualizing observability data.

Perses Dashboard

Being a developer from my early days in IT, it's been very interesting to explore the complexities of cloud-native observability (o11y). Monitoring applications goes way beyond just writing and deploying code, especially in the cloud-native world. One thing remains the same: maintaining your organization's architecture always requires both a vigilant outlook and an understanding of available open standards.

Now that it's almost a year since my last dive into Perses, let's revisit this workshop and explore the latest release. If you tried the first iteration of this workshop found in this repository tag, you'll remember that it was a lot of diving into JSON. This time around, the UI has been flushed out so that many of the tasks you need to design projects, dashboards, data sources, and more are a smoothly guided experience.

Let's see what's new, shall we?

As promised, in this article, I'll kick off an updated introduction to the background of Perses as covered in my workshop lab before diving into the actual hands-on with the project.

You can find the free workshop here online:

Getting started with open dashboards and visualization slide

The Origins of Perses

Perses is the first project under the CoreDash community umbrella, which is part of the Linux Foundation. It's a centralized effort to define a standard for visualization and dashboards. Perses is licensed under the Apache License 2.0, which is a big difference from the recent changes to what used to be the default dashboard project before they opted to change to Affero General Public License (AGPL) v3. This change means users who apply any modification have to share them back into the project: a bit more restrictive than most users want.

Its main goal is becoming an exploration into finding an open-source standard for visualization and dashboards for metrics monitoring. Its first code commit was made on Jan 26, 2022, and since then has been quite active. There are clear project goals:

  • Become an open standard dashboard visualization tool
  • Provide embeddable charts and dashboards in any user interface
  • Target Kubernetes (k8s) native mode
  • Provide complete static validation for CI/CD pipelines
  • Architecture supporting future plugins

There are plans to submit this project soon to the CNCF as a sandbox project, so stay tuned.

Check out a more in-depth introduction in this free online workshop lab 1:

Introduction to Perses slide

Next, we can look at installation options for this project.

Installing Perses

There are two options for installing Perses on your local machine. One, you can build the source code project and run it locally, but there are a few software dependencies that you need to meet first to do that. Second, if the bar is too high to build the project from its source, you can install and run Perses from a container image.

I've put together a simple supporting project that you can use called the "Perses Easy Install" project. This project contains a simple installation script that allows you to choose either a container install using Podman, or to build the project from its source code. Both methods include sanity checks for the dependencies on your machine before allowing you to install the project.

Install in a Container (Podman)

In the workshop, I walk you through the simple steps to launch Perses from the project-provided image. You can do this using either Docker or Podman, but Podman is featured in the remainder of the workshop.

This step is followed by an installation using the project mentioned above, ensuring the same steps you were just shown are captured in a single automated script. Also included is the installation of a pre-configured workshop demo project to get started with for the following labs. You will run this Perses container on a virtual machine provided by Podman.

Prerequisites: Podman 4.x+ with your Podman machine started

  1. Download and unzip this demo
  2. Run init.sh with the correct argument:

$ ./init.sh podman

The Perses container image is now running and pre-loaded with demo examples, connect in your browser (http://localhost:8080). For an installation from the source, the following process is needed.

Install on Your Local Machine

This is an installation from the source code of the Perses project. You will test, build, and deploy the Perses server locally on your machine.

Prerequisites: Go version 1.18+, NodeJS version 16+, npm version 8+

  1. Download and unzip this demo
  2. Run init.sh with the correct argument:

$ ./init.sh source

Perses is now running, connect to the Perses dashboards in your browser (http://localhost:8080).

For step-by-step instructions on how to install Perses using a container image or from the source code in the project itself, see this free online workshop lab 2:

Installing Perses slide

More to Come

Next up, I'll continue working with you through the Perses project with more workshop materials to share. Stay tuned for more insights into a real practical experience as my cloud native o11y journey continues.

Open source Cloud native computing Observability Performance Monitor

Published at DZone with permission of Eric D. Schabell, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Telemetry Pipelines Workshop: Installing Fluent Bit From Source
  • Leveraging AIOps for Observability Workflows: How to Improve the Scalability and Intelligence of Observability
  • Embracing the Future With Hybrid and Cloud-Native Observability: An In-Depth Exploration of Observability With Architectural Examples and Best Practices
  • Three Habits of Highly Effective Observability Teams

Partner Resources

×

Comments
Oops! Something Went Wrong

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends:

Likes
There are no likes...yet! 👀
Be the first to like this post!
It looks like you're not logged in.
Sign in to see who liked this post!