Skip to content

Commit

Permalink
chore: run grafana test only on Linux; document that it is broken on …
Browse files Browse the repository at this point in the history
…Darwin
  • Loading branch information
shivaraj-bh committed Jun 3, 2024
1 parent 5442d47 commit fe36a9e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion doc/grafana.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Grafana

[Grafana open source](https://grafana.com/docs/grafana/latest/) is open source visualization and analytics software. It allows you to query, visualize, alert on, and explore your metrics, logs, and traces no matter where they are stored. It provides you with tools to turn your time-series database (TSDB) data into insightful graphs and visualizations.
[Grafana open source](https://grafana.com/docs/grafana/latest/)[^broken-on-darwin] is open source visualization and analytics software. It allows you to query, visualize, alert on, and explore your metrics, logs, and traces no matter where they are stored. It provides you with tools to turn your time-series database (TSDB) data into insightful graphs and visualizations.

[^broken-on-darwin]: Grafana is broken on Darwin since `11.0.0` (<https://github.com/NixOS/nixpkgs/pull/311701>). Also see the issue to track the fix: <https://github.com/NixOS/nixpkgs/issues/316954>

## Getting Started

Expand Down
8 changes: 5 additions & 3 deletions test/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
];
};
in
builtins.listToAttrs (builtins.map mkPackageFor [
builtins.listToAttrs (builtins.map mkPackageFor ([
"${inputs.services-flake}/nix/apache-kafka_test.nix"
"${inputs.services-flake}/nix/clickhouse/clickhouse_test.nix"
"${inputs.services-flake}/nix/elasticsearch_test.nix"
Expand All @@ -42,13 +42,15 @@
"${inputs.services-flake}/nix/redis_test.nix"
"${inputs.services-flake}/nix/redis-cluster_test.nix"
"${inputs.services-flake}/nix/zookeeper_test.nix"
"${inputs.services-flake}/nix/grafana_test.nix"
"${inputs.services-flake}/nix/prometheus_test.nix"
"${inputs.services-flake}/nix/pgadmin_test.nix"
"${inputs.services-flake}/nix/cassandra_test.nix"
"${inputs.services-flake}/nix/tempo_test.nix"
"${inputs.services-flake}/nix/weaviate_test.nix"
]);
] ++ lib.optionals pkgs.stdenv.isLinux [
# Broken on Darwin: https://github.com/NixOS/nixpkgs/issues/316954
"${inputs.services-flake}/nix/grafana_test.nix"
]));
};
};
}

0 comments on commit fe36a9e

Please sign in to comment.