Skip to content

Commit

Permalink
Additional tracking on histograms for means, std dev, p* quantile est…
Browse files Browse the repository at this point in the history
…imates (#5897)

Closes #4913.

This is part 1 of tracking more information within a histogram to
compute min, max, means, std_dev, and estimates for p50, p90, and p99
and how to store/retrieve the associated info from Clickhouse.
  • Loading branch information
zeeshanlakhani authored Jun 24, 2024
1 parent 895f280 commit 8238f98
Show file tree
Hide file tree
Showing 81 changed files with 3,302 additions and 401 deletions.
19 changes: 19 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ expectorate = "1.1.0"
fatfs = "0.3.6"
filetime = "0.2.23"
flate2 = "1.0.30"
float-ord = "0.3.2"
flume = "0.11.0"
foreign-types = "0.3.2"
fs-err = "2.11.0"
Expand Down Expand Up @@ -408,6 +409,7 @@ proptest = "1.4.0"
quote = "1.0"
rand = "0.8.5"
rand_core = "0.6.4"
rand_distr = "0.4.3"
rand_seeder = "0.2.3"
ratatui = "0.26.2"
rayon = "1.10"
Expand Down
6 changes: 3 additions & 3 deletions docs/how-to-run.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Then install prerequisite software with the following script:

[source,text]
----
$ pfexec ./tools/install_prerequisites.sh
$ ./tools/install_prerequisites.sh
----

You need to do this step once per workspace and potentially again each time you fetch new changes. If the script reports any PATH problems, you'll need to correct those before proceeding.
Expand Down Expand Up @@ -410,9 +410,9 @@ $ pfexec ./target/release/omicron-package install

[WARNING]
====
**Do not use `pfexec cargo run` directly**; it will cause files in `~/.cargo` and `target/` to be owned by root, which will cause problems down the road.
**Do not use `pfexec cargo run` directly**; it will cause files in `~/.cargo`, `out/`, and `target/` to be owned by root, which will cause problems down the road.
If you've done this already, and you wish to recover, run from the root of this repository `pfexec chown -R $USER:$(id -ng $USER) target ${CARGO_HOME:-~/.cargo}`.
If you've done this already, and you wish to recover, run from the root of this repository `pfexec chown -R $USER:$(id -ng $USER) out target ${CARGO_HOME:-~/.cargo}`.
====

This command installs an SMF service called `svc:/oxide/sled-agent:default`, which itself starts the other required services. This will take a few minutes. You can watch the progress by looking at the Sled Agent log:
Expand Down
Loading

0 comments on commit 8238f98

Please sign in to comment.