80 Commits

Author SHA1 Message Date
ec2394eaf7 feat: logql queries in dashboard definitions 2024-03-02 10:13:07 -05:00
16ff43f4e2 feat: Loki logql query client 2024-02-27 18:12:41 -05:00
782cca41a0 ui: Add a link to the embed url for a graph 2024-02-27 17:15:33 -05:00
e1e0d17657
Merge pull request #20 from zaphar/embeddable_graphs
feat: URL for embedded graphs.
2024-02-27 17:09:56 -05:00
7a40e6b1ff feat: URL for embedded graphs. 2024-02-27 17:08:27 -05:00
2f15472d62 ui: Configure legend positioning
closes #18
2024-02-25 16:40:59 -05:00
ac52aea6c8 ui: Don't show filters when there is only one item 2024-02-25 09:03:18 -05:00
557d704a1b feat: Better y axes definition 2024-02-24 20:05:11 -05:00
0af85229c2 ui: deep linking and url history 2024-02-23 18:18:33 -05:00
8aa41eb68c feat: Flag to validate config and queries succeeed. 2024-02-23 17:10:36 -05:00
835c120d4b ui: Allow you to specify the fill for a trace 2024-02-23 12:50:56 -05:00
b1b65bbbec main: the module needs to ignore unused args 2024-02-23 11:24:37 -05:00
584cb237fe ui: The labels weren't useful. 2024-02-22 20:38:43 -05:00
498b472bf1
Merge pull request #14 from zaphar/styling
Styling improvements also Dark Mode
2024-02-22 20:23:49 -05:00
cf64c30d58 ui: Color the gridlines in the plots. 2024-02-22 20:19:54 -05:00
7e93d499eb ui: Set off the plot container element a bit 2024-02-22 20:09:32 -05:00
3d192ed9a4 ui: first pass at a dark mode 2024-02-22 19:49:48 -05:00
ef070f18d3 fix: actually do the filtering for scalar graphs 2024-02-21 17:20:07 -05:00
7b350a6612 dev: Some debugging annotations. 2024-02-21 16:31:56 -05:00
6bed94f63e ui: show the labels for scalar graphs as well 2024-02-21 16:22:02 -05:00
8eab0130f5 ui: better layout for the filter selections 2024-02-21 15:48:15 -05:00
aa1f4f5795 ui: reasonable default padding 2024-02-20 20:53:07 -05:00
f32a221022 ui: start out with flex column arrangments 2024-02-20 20:49:14 -05:00
cf98532775 fix: Listen to changes to the d3-tick-format attr 2024-02-20 20:47:05 -05:00
20c8eadbd1 ux: start out with all the labels selected 2024-02-20 20:47:05 -05:00
a010112f39
Merge pull request #10 from zaphar/filtering
Filtering client side only
2024-02-20 20:45:23 -05:00
0abd67a729
Merge pull request #8 from lucasbergman/nix-cleanup
Nix cleanup
2024-02-20 09:09:16 -05:00
Lucas Bergman
94b05b1437 maint: NixOS module writes config to the Nix store
Instead of writing the config attrset to a YAML file to a fixed path in /etc,
this makes the NixOS module write to a (content-addressed) config file in the
Nix store. We just use builtins.toJSON since YAML is a superset of JSON.
2024-02-20 07:58:03 -06:00
Lucas Bergman
668015ed17 maint: Some Nix flake cleanups
Specifically:

  1. Switch from the nixosModule flake output (which is deprecated) to
     nixosModules.default
  2. Remove "with lib;" it's convenient, but I've gotten feedback when
     upstreaming module changes that that shouldn't be a thing in
     nixpkgs anymore
  3. Add a little type checking to the NixOS module options
  4. Switch the default config to empty (but leave the example)
  5. Use the convention "let cfg = config.services.heracles," a thing
     that's super common in NixOS
2024-02-20 07:53:13 -06:00
d26be4dbc5 feat: filter by labels in dataset 2024-02-19 22:43:17 -05:00
Lucas Bergman
63b4f810c2 maint: Set formatter Nix flake output so nix fmt works
I've idly thought about making the formatter a derivation that runs alejandra
over Nix code, then rustfmt over Rust code, etc--so that just running `nix
fmt` in the root cleans up everything--but I haven't made that work yet.
2024-02-19 20:32:19 -06:00
Lucas Bergman
fe162968e5 maint: Run nix stuff through the formatter
There are several choices for formatting Nix code, but IMHO alejandra is the
right kind of opinionated: <https://github.com/kamadorueda/alejandra>.
2024-02-19 20:31:47 -06:00
49e27a9184 refactor: pull naming logic into a method 2024-02-19 19:53:31 -05:00
847413f4f5 fix: bug in scalar graph types 2024-02-19 19:25:36 -05:00
18eb50fbbd feat: use a js template literal for trace name 2024-02-19 19:15:34 -05:00
4a7109f249 maint: use rustls 2024-02-19 17:19:24 -05:00
8dc243b9a1 maint: linux nix builds? 2024-02-19 16:56:14 -05:00
2cee886fa2 maint: add package shim for nix flake 2024-02-19 08:42:29 -05:00
a959280ed7 maint: Add a nix flake 2024-02-17 20:49:03 -05:00
dbb69da516 docs: Helpful comments for the dashboard configuration 2024-02-17 11:06:46 -05:00
0cf2c537ae feat: Allow you to name the axis for each subplot
You can force them to share axis with this.
2024-02-17 10:22:09 -05:00
4674a821d8 feat: multiple subplots per graph 2024-02-16 18:07:34 -05:00
9a89412fc8 fix: set trace name for bar charts 2024-02-16 15:20:39 -05:00
349003bd6f feat: Allow formatting the yaxis tick marks 2024-02-16 15:01:22 -05:00
26782b2bfc maint: cleanup some logging 2024-02-15 15:30:34 -05:00
964a5e10e3 fix: spans should parse and get applied correctly 2024-02-15 15:28:31 -05:00
bec6f69645 Add debug printing for the response 2024-02-15 15:10:18 -05:00
7f30d87d75 ux: end is better than start 2024-02-14 20:03:50 -06:00
9529271b28 feat: support timspan attributes on the element 2024-02-13 18:45:52 -06:00
a36a59b900 feat: Query string support for the timespan 2024-02-13 17:09:06 -06:00