Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@kylebrandt
Created April 27, 2020 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kylebrandt/fb2b2d58932f9c5c0f04ea9622253024 to your computer and use it in GitHub Desktop.
Save kylebrandt/fb2b2d58932f9c5c0f04ea9622253024 to your computer and use it in GitHub Desktop.
Why data frames notes

Why data frames notes

Grafana's "wide tent" philosophy means we want Grafana to work with our users' data, and not make our users work to use Grafana. The data frame structure is a concept borrowed from data analysis like R and Pandas to allow us to do this.

Data frames allow users' data to be more accurately represented and with less effort.

  • The data binding throughout Grafana's is now shared. Data moved between Grafana's backend plugins, Grafana server, and frontend is now less destructive. The means there is less data munging and more supported data types such as time, nullable types, various number types and other primitives.
  • Time series data can be returned in different shapes that match those more commonly found.
  • Time series and table data now exist in the same structure.
  • Tables exist in the same structure as time series.

Data frames allow for transformations.

  • Since Data frame fields contain type information, we use that information to allow users to be able to transform their data.

Data frames allow for data driven visualization through metadata.

  • Data frames can contain metadata bound to the data that (such as Units, scaling, etc) that can provide information for visualizations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment