about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2023-03-23 19:24:13 +0000
committerGitHub <noreply@github.com>2023-03-23 19:24:13 +0000
commitc0bbc8c1b6a038e5b72d779e91384a4daa53d328 (patch)
treed8f8d1fa323fa075dd5ad164a1fcf124d871184f
parent1b90d5e1f9dd0fa39427ad905bb6c351479f8418 (diff)
parent8ae67494ca10e5e3e3d099c5a30e4bf537d8754e (diff)
Merge pull request #222519 from azahi/grafana-redis-plugins
grafanaPlugins.redis*: init
-rw-r--r--pkgs/servers/monitoring/grafana/plugins/plugins.nix3
-rw-r--r--pkgs/servers/monitoring/grafana/plugins/redis-app/default.nix13
-rw-r--r--pkgs/servers/monitoring/grafana/plugins/redis-datasource/default.nix13
-rw-r--r--pkgs/servers/monitoring/grafana/plugins/redis-explorer-app/default.nix13
4 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/servers/monitoring/grafana/plugins/plugins.nix b/pkgs/servers/monitoring/grafana/plugins/plugins.nix
index a99a71cffd1cf..163de4c96025c 100644
--- a/pkgs/servers/monitoring/grafana/plugins/plugins.nix
+++ b/pkgs/servers/monitoring/grafana/plugins/plugins.nix
@@ -10,4 +10,7 @@
   grafana-piechart-panel = callPackage ./grafana-piechart-panel { };
   grafana-polystat-panel = callPackage ./grafana-polystat-panel { };
   grafana-worldmap-panel = callPackage ./grafana-worldmap-panel { };
+  redis-app = callPackage ./redis-app { };
+  redis-datasource = callPackage ./redis-datasource { };
+  redis-explorer-app = callPackage ./redis-explorer-app { };
 }
diff --git a/pkgs/servers/monitoring/grafana/plugins/redis-app/default.nix b/pkgs/servers/monitoring/grafana/plugins/redis-app/default.nix
new file mode 100644
index 0000000000000..f3dedc247bdb2
--- /dev/null
+++ b/pkgs/servers/monitoring/grafana/plugins/redis-app/default.nix
@@ -0,0 +1,13 @@
+{ grafanaPlugin, lib }:
+
+grafanaPlugin rec {
+  pname = "redis-app";
+  version = "2.2.1";
+  zipHash = "sha256-1ZzJaGhlM6CaTecj69aqJ9fqN7wYSsiDCMTRVkZJUb0=";
+  meta = with lib; {
+    description = "Redis Application plugin for Grafana";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ azahi ];
+    platforms = platforms.unix;
+  };
+}
diff --git a/pkgs/servers/monitoring/grafana/plugins/redis-datasource/default.nix b/pkgs/servers/monitoring/grafana/plugins/redis-datasource/default.nix
new file mode 100644
index 0000000000000..c5b9823d015a2
--- /dev/null
+++ b/pkgs/servers/monitoring/grafana/plugins/redis-datasource/default.nix
@@ -0,0 +1,13 @@
+{ grafanaPlugin, lib }:
+
+grafanaPlugin rec {
+  pname = "redis-datasource";
+  version = "2.1.1";
+  zipHash = "sha256-Qhdh2UYOq/El08jTheKRa3f971QKeVmMWiA6rnXNUi4=";
+  meta = with lib; {
+    description = "Redis Data Source for Grafana";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ azahi ];
+    platforms = platforms.unix;
+  };
+}
diff --git a/pkgs/servers/monitoring/grafana/plugins/redis-explorer-app/default.nix b/pkgs/servers/monitoring/grafana/plugins/redis-explorer-app/default.nix
new file mode 100644
index 0000000000000..e58da0bebd830
--- /dev/null
+++ b/pkgs/servers/monitoring/grafana/plugins/redis-explorer-app/default.nix
@@ -0,0 +1,13 @@
+{ grafanaPlugin, lib }:
+
+grafanaPlugin rec {
+  pname = "redis-explorer-app";
+  version = "2.1.1";
+  zipHash = "sha256-t5L9XURNcswDbZWSmehs/JYU7NoEwhX1If7ghbi509g=";
+  meta = with lib; {
+    description = "Redis Explorer plugin for Grafana";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ azahi ];
+    platforms = platforms.unix;
+  };
+}