116 Commits

Author SHA1 Message Date
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
710f73332d feat: Dashboard level timespans 2024-02-13 16:15:19 -06:00
7ef0af2b43 maint: naming cleanup 2024-02-13 15:53:12 -06:00
d855008747 feat: You can specify the timespan for Range queries 2024-02-13 14:22:26 -06:00
31af37467c maint: formatting 2024-02-12 16:22:57 -06:00
49d4c2bfd4 feat: Correctly display dates in the timeseries 2024-02-12 16:22:47 -06:00
8665986d4e Copyright date 2024-02-12 15:50:35 -06:00
0ee19320f6 maint: cleanup and some helpful comments 2024-02-11 20:26:00 -06:00
631fedfa2f feat: Point in time shows as bar chart 2024-02-11 19:09:06 -06:00
41b450c302 fix: broken query in example 2024-02-10 18:25:11 -06:00
59f8a5401a fix: got rid of shadowRoot
plotly didn't play well with it.
2024-02-10 18:24:50 -06:00
d78c1ea26c fix: some attribute detection on the connectedCallback
also formattting
2024-02-10 16:43:36 -06:00
dfa8196af4 feat: specify the trace label in graph config. 2024-02-10 14:19:19 -06:00
576043e78d maint: don't need ws but we should enable http2 2024-02-10 11:11:47 -06:00
a725e39140 feat: Graphs update on an interval now. 2024-02-09 14:56:58 -06:00