Marcus Olsson

Plugins

Notion database views in Obsidian Projects plugin

Have you ever wanted rotating Notion database views in Obsidian? Marcus Olsson’s Obsidian Projects plugin does exactly that, letting you create Table, Board, Calendar, and Gallery views for the same notes in Obsidian, just like in Notion! Join us as Marcus shows us how this awesome new plugin works and how it can be used to display the same data in different ways.
less than 1 min read  · 
Obsidian Plugins

Build your first Obsidian plugin

A series of tutorials where I walk through different aspects of plugin development for Obsidian.
less than 1 min read  · 
Obsidian Plugins TypeScript

Super-charging Grafana with plugins

0 min read  · 
Grafana Plugins

Guiding panel users with a wizard

In Data frame design: Basics, I stressed the importance to document the data response that your panel plugin expects from the data source. While you can document it in your README, that would mean the user needs to switch to another tab to understand how to use your panel. In this post, I’ll share a different approach, that lets the user configure the query without leaving Grafana.
less than 1 min read  · 
Grafana Plugins TypeScript

Data frame design: Basics

Data sources translate data from external services and APIs into a format that panels can understand. In other words, data sources produce data and panels consume data. Generally, data sources don’t know how the data they produce will be presented. While they can suggest a preferred type of visualization, the user is ultimately free to visualize the data in any way they want. In practice, this means that the panel needs the data source to produce the data it needs to do its job.
less than 1 min read  · 
Grafana Plugins

Extend your Grafana experience through plugins

0 min read  · 
Grafana Plugins

How to use template variables in your data source

Template variables enable users to create dashboards that change dynamically based on user input. Since variables have been around in Grafana for a long time, many users expect them to be supported for any data sources they install. In this post, I’ll share some tips on how you can use template variables in your data source plugin.
less than 1 min read  · 
Grafana Plugins TypeScript

Grafana data source for YNAB

An unofficial Grafana data source for You Need A Budget.
0 min read  · 
TypeScript Go Grafana Plugins

How to make user-configurable HTTP requests from your data source plugin

If your data source retrieves data from an official, well-defined API, you can simplify your data source configuration by only asking for the relevant data, such as the API token. However, if the user should be able to access data from any given HTTP endpoint, you probably want to let them configure things like authentication headers and query parameters to fit their needs. In this post, I’ll explain how you can build a configurable HTTP-based backend data source.
less than 1 min read  · 
Grafana Plugins TypeScript Go

How to instrument your backend data source

In my previous post on how to display custom stats for your data source queries, I explained how you can return metrics about the query back to the user. This can be useful to dashboard authors who want to troubleshoot or optimize their queries. As an administrator however, you might want to understand how the data source performs over time, across dashboards. In this post, I’ll show you how you can instrument your backend data source using Prometheus.
less than 1 min read  · 
Grafana Plugins Go

How to configure dimensions for your panel plugin

In this post, I want to share a pattern that I’m using for almost all my panel plugins. I call it panel dimensions.
less than 1 min read  · 
Grafana Plugins TypeScript

How to display custom stats for your data source queries

The Query inspector in Grafana can be helpful when you’re trying to figure out why your query is failing, or why it’s taking too long to return a result. While Grafana displays some basic information about your query by default, in this post you’ll learn how to add your own stats for you query.
less than 1 min read  · 
Grafana Plugins Go

How to add a resource handler for your data source

The primary way for a data source to retrieve data is through the query method. But sometimes your data source needs to request auxiliary data on demand, for example to offer auto-completion inside the data source’s query editor. In this post, I want to show you how to add a resource handler to your data source. By adding a resource handler to your backend plugin, you can extend the Grafana HTTP API with your own data source-specific routes.
less than 1 min read  · 
Grafana Plugins Go

How to migrate from BackendSrv.datasourceRequest() to BackendSrv.fetch()

If you’re building a data source plugin, chances are you want to make HTTP requests from your TypeScript code to a HTTP API somewhere. In the past, the preferred way to make an HTTP request from your plugin was to use the BackendSrv.datasourceRequest(), which has been deprecated in favor of BackendSrv.fetch().
less than 1 min read  · 
Grafana Plugins TypeScript

How I use Docker for plugin development

I thought I’d share how I use Docker for developing plugins. Docker makes it really easy for me to test my plugin against multiple versions of Grafana. For example, to make sure that the plugin still works with the earliest supported version of Grafana (as defined by grafanaDependency in plugin.json).
less than 1 min read  · 
Grafana Plugins

How to subscribe to Grafana application events

If you’re building a panel plugin, Grafana already provides the data you need to configure and render your panel. If not, you can retrieve the information you need from any of the runtime services, like BackendSrv and TemplateSrv. In some cases though, you want your plugin to react to changes outside of your plugin. For example, when the user hovers their cursor over data in another panel. In this post, you’ll learn how to make your plugin react to events in Grafana.
less than 1 min read  · 
Grafana Plugins TypeScript

Grafana Plugins Showcase

0 min read  · 
Grafana Plugins

Pipe tricks for Obsidian

An Obsidian plugin that adds pipe tricks to the Wikilink format used by Obsidian
less than 1 min read  · 
TypeScript Obsidian Plugins

Vale for Obsidian

A Vale client for Obsidian.
less than 1 min read  · 
TypeScript Obsidian Plugins React

Obsidian Plugin Documentation

Unofficial documentation for Obsidian plugin development.
0 min read  · 
Obsidian Plugins

Creating and using plugins for k6 and Grafana

0 min read  · 
Grafana Plugins

Helpers for Grafana plugin development

This repository contains various helper functions that I’ve found myself reimplementing for my plugins.
0 min read  · 
TypeScript Grafana Plugins

Calendar for Grafana

Display your query results as calendar events.
0 min read  · 
TypeScript Grafana Plugins React Data Visualization

Gantt for Grafana

A panel plugin for Grafana to visualize Gantt charts.
0 min read  · 
TypeScript Grafana Plugins React Data Visualization

Hexmap for Grafana

A Grafana panel plugin for hexagonal tiling of data.
0 min read  · 
TypeScript Grafana Plugins React Data Visualization

CSV data source for Grafana

Load CSV files into Grafana.
0 min read  · 
TypeScript Go Grafana Plugins React

JSON API data source for Grafana

A data source plugin for loading JSON APIs into Grafana using JSONPath or JSONata.
0 min read  · 
TypeScript Go Grafana Plugins React

Dynamic text for Grafana

Define text templates using the data from your data source query.
0 min read  · 
TypeScript Grafana Plugins React

Popular community plugins that can improve your Grafana dashboards

One thing we believe at Grafana Labs is that your data should be presented in a way that makes sense to you. Since the release of Grafana v7.0, we’ve seen a lot more developers taking advantage of the new plugins platform, which helps them build high-quality custom plugins faster than ever. Not only does this allow them to create their own custom visualizations and data source integrations—taking the Grafana experience to the next-level—but by sharing them with the community, they’re able to help others do the same.
less than 1 min read  · 
Grafana Plugins

Static data source for Grafana

Create static query results for prototyping dashboards and testing panels.
0 min read  · 
TypeScript Go Grafana Plugins React

Learn Grafana: How to build a scatter plot plugin in Grafana 7.0

There are a lot of great things about Grafana 7.0, but one of my favorite features is the new React-based plugin platform, which has a set of new APIs and design system to help you build your own plugin. The process is easier and faster than ever. In this blog post, I’ll show how you can create a panel plugin for visualizing scatter plots.
less than 1 min read  · 
Grafana Plugins TypeScript Data Visualization

Plugin showcase: The hourly heatmap panel, built on Grafana's new plugin platform

Since Petr Slavotinek created the Carpet plot plugin in 2017, it’s been one of the most popular community plugins for Grafana. Unfortunately, even though the Carpet plot plugin continues to be useful to many users, it’s no longer being maintained. Grafana 7.0 introduced a brand new React-based platform, along with a set of improved APIs for building plugins. Since I knew some React from previous projects, I wrote my first Grafana plugin that would adapt the original Carpet plot to the new plugin platform.
less than 1 min read  · 
Grafana Plugins Data Visualization

Treemap for Grafana

Compare data by area and colors.
0 min read  · 
TypeScript Grafana Plugins React Data Visualization

Hourly Heatmap for Grafana

Aggregate time series by hour to analyze activity or traffic during the day.
0 min read  · 
TypeScript Grafana Plugins React Data Visualization