91 Commits

Author SHA1 Message Date
e44d2087c8 feat: you can embed log tables now. 2024-03-05 20:44:10 -05:00
c830d1530d ui: better background color for the plots 2024-03-05 20:39:03 -05:00
6a503947d8 ui: respect ansi colors in our log lines 2024-03-05 20:32:04 -05:00
01cd54afa4 ui: Show labels for the log line. 2024-03-05 20:12:44 -05:00
a7a6c99099 ui: log table styling 2024-03-04 21:05:37 -05:00
474bfe4f1d ui: Show the labels for filtering on logs 2024-03-04 20:57:36 -05:00
f69ea6d6fa ui: Show log results in our dashboards 2024-03-04 20:52:36 -05:00
17e6ae81a0 Turn our lib into an es6 module 2024-03-03 18:15:41 -05:00
fb48c6900c maint: JSDoc type annotations and tsserver configuration 2024-03-03 15:23:31 -05:00
464f5db99c maint: formatting fixes 2024-03-02 10:14:36 -05:00
1de77b189d fix: flake url warning 2024-03-02 10:13:37 -05:00
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