Skip to content
Open
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
a6d6265
Add metrics migration section 1 dependencies
shuheiktgw Apr 29, 2026
c93fa2e
Port quickwit-common metrics core
shuheiktgw Apr 29, 2026
19e6a81
Migrate metrics call sites to metrics macros
shuheiktgw Apr 30, 2026
9d57dcf
Add Prometheus metrics recorder
shuheiktgw Apr 30, 2026
0291871
Fix CLI help before metrics setup
shuheiktgw Apr 30, 2026
073d744
Add quickwit-metrics crate
Mallets Apr 30, 2026
6aad7b6
Extract quickwit-metrics-inventory crate and make macros self-contained
Mallets Apr 30, 2026
48205d9
Enrich MetricInfo with metadata and static labels
Mallets Apr 30, 2026
754833e
Fix rustfmt and rustdoc CI lint failures
Mallets Apr 30, 2026
18c4367
Add OTLP metrics exporter support
shuheiktgw May 2, 2026
527241e
Move metrics APIs to quickwit-metrics
shuheiktgw May 2, 2026
5644b8d
refactor: remove aggregate metric holder structs
shuheiktgw May 2, 2026
81dabc8
Use reusable metric label templates
shuheiktgw May 2, 2026
7a01598
Fix CI after metrics migration rebase
shuheiktgw May 2, 2026
effdc65
Replace XOR with wrapping add in cache-key hash
Mallets May 4, 2026
c4df03a
Factor maybe registered counters
shuheiktgw May 4, 2026
068d85d
Simplify info metric key formatting
shuheiktgw May 4, 2026
7566a5a
Make GaugeGuard delta atomic
shuheiktgw May 4, 2026
211c813
Move shard locality metrics publishing to type
shuheiktgw May 4, 2026
ac5680b
Remove obsolete planning docs
shuheiktgw May 4, 2026
7baa12d
Fix CI warning errors
shuheiktgw May 4, 2026
ee6a28c
Restore Cargo.lock in metrics-inventory run script
Mallets May 4, 2026
ceac5eb
Fix usage comment in metrics-inventory run script
Mallets May 4, 2026
fe87f7e
Remove unused ahash workspace dependency
Mallets May 4, 2026
41f3e23
Make all counters and gauges always observable
Mallets May 4, 2026
f4298b5
Remove redundant metric parent reborrows
shuheiktgw May 4, 2026
7143ffd
Rename metric recorder builder helpers
shuheiktgw May 4, 2026
c6c45cf
Clarify ongoing task gauge guard usage
shuheiktgw May 5, 2026
7860749
Replace GaugeGuard from_gauge with new
shuheiktgw May 5, 2026
4434af0
Update histogram timer API
shuheiktgw May 5, 2026
b934ca9
Merge main into metrics migration
shuheiktgw May 5, 2026
eef3789
Inline single-use Labels constants into direct "key" => value syntax
Mallets May 5, 2026
28716c2
Merge branch 'migrate-quickwit-metrics-to-metrics-rs' of github.com:q…
Mallets May 5, 2026
39da9cf
Minor formatting cleanup after merge conflict resolution
Mallets May 5, 2026
53250c8
Improve labels.rs docs and prefix doc(hidden) methods with __
Mallets May 5, 2026
d75c1a2
Rename Labels→LabelNames, LabelValues→Labels; add const labels! macro
Mallets May 5, 2026
8a44574
Replace fully qualified metric paths with use imports; add LabelNames…
Mallets May 5, 2026
fe626eb
Refactor quickwit-ingest metrics: use direct imports and LabelNames c…
Mallets May 5, 2026
fc6e896
Add label_names! and label_values!(names:) macros; make constructors …
Mallets May 5, 2026
5fa06d5
Add GaugeGuard::decrement method for clarity
Mallets May 5, 2026
3db7f43
Reuse shared labels across counter and histogram in lambda invoker
Mallets May 5, 2026
0e0493b
Add multi-label composition in metric macros via __bind_labels! tt-mu…
Mallets May 5, 2026
1528d15
Use explicit [brackets] for labels: arm in metric macros
Mallets May 5, 2026
ebb7591
Change label_values! syntax from `names:` keyword to `=>` operator
Mallets May 5, 2026
a0a3f04
Use scoped counters for local metrics
shuheiktgw May 5, 2026
d599bd6
Remove redundant io counter test
shuheiktgw May 5, 2026
12529e6
Compact metric macro call sites across the codebase
Mallets May 5, 2026
abfcda8
Replace __bind_labels! tt-muncher with direct repetition
Mallets May 5, 2026
513c6f7
Use Arc identity for metric equality and add Counter/Gauge::local()
Mallets May 5, 2026
37bf636
Add const-compatible labels! arm and use LabelNames in storage metrics
Mallets May 5, 2026
9a58858
Expose quickwit-storage metrics module publicly, remove re-exports
Mallets May 5, 2026
5b015be
Add rustdoc to storage metrics and tighten visibility
Mallets May 5, 2026
046be15
chore: cargo fmt
Mallets May 5, 2026
397759f
Use Counter::local for local counters
shuheiktgw May 5, 2026
8211251
Fix build info metric registration
shuheiktgw May 5, 2026
c776ecf
Register build info metric as counter
shuheiktgw May 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions LICENSE-3rdparty.csv
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ async-task,https://github.com/smol-rs/async-task,Apache-2.0 OR MIT,Stjepan Glavi
async-trait,https://github.com/dtolnay/async-trait,MIT OR Apache-2.0,David Tolnay <dtolnay@gmail.com>
atoi,https://github.com/pacman82/atoi-rs,MIT,Markus Klein
atomic-waker,https://github.com/smol-rs/atomic-waker,Apache-2.0 OR MIT,"Stjepan Glavina <stjepang@gmail.com>, Contributors to futures-rs"
atomic_float,https://github.com/thomcc/atomic_float,Apache-2.0 OR MIT OR Unlicense,Thom Chiovoloni <chiovolonit@gmail.com>
aws-config,https://github.com/smithy-lang/smithy-rs,Apache-2.0,"AWS Rust SDK Team <aws-sdk-rust@amazon.com>, Russell Cohen <rcoh@amazon.com>"
aws-credential-types,https://github.com/smithy-lang/smithy-rs,Apache-2.0,AWS Rust SDK Team <aws-sdk-rust@amazon.com>
aws-lc-rs,https://github.com/aws/aws-lc-rs,ISC AND (Apache-2.0 OR ISC),AWS-LibCrypto
Expand Down Expand Up @@ -179,6 +180,8 @@ const-oid,https://github.com/RustCrypto/formats/tree/master/const-oid,Apache-2.0
const-random,https://github.com/tkaitchuck/constrandom,MIT OR Apache-2.0,Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
const-random-macro,https://github.com/tkaitchuck/constrandom,MIT OR Apache-2.0,Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
const_fn,https://github.com/taiki-e/const_fn,Apache-2.0 OR MIT,The const_fn Authors
const_format,https://github.com/rodrimati1992/const_format_crates,Zlib,rodrimati1992 <rodrimatt1985@gmail.com>
const_format_proc_macros,https://github.com/rodrimati1992/const_format_crates,Zlib,rodrimati1992 <rodrimatt1985@gmail.com>
constant_time_eq,https://github.com/cesarb/constant_time_eq,CC0-1.0 OR MIT-0 OR Apache-2.0,Cesar Eduardo Barros <cesarb@cesarb.eti.br>
convert_case,https://github.com/rutrum/convert-case,MIT,rutrum <dave@rutrum.net>
core-foundation,https://github.com/servo/core-foundation-rs,MIT OR Apache-2.0,The Servo Project Developers
Expand All @@ -190,6 +193,7 @@ crc-catalog,https://github.com/akhilles/crc-catalog,MIT OR Apache-2.0,Akhil Vela
crc-fast,https://github.com/awesomized/crc-fast-rust,MIT OR Apache-2.0,Don MacAskill
crc32fast,https://github.com/srijs/rust-crc32fast,MIT OR Apache-2.0,"Sam Rijs <srijs@airpost.net>, Alex Crichton <alex@alexcrichton.com>"
criterion-plot,https://github.com/criterion-rs/criterion.rs,Apache-2.0 OR MIT,"Jorge Aparicio <japaricious@gmail.com>, Brook Heisler <brookheisler@gmail.com>"
critical-section,https://github.com/rust-embedded/critical-section,MIT OR Apache-2.0,The critical-section Authors
cron,https://github.com/zslayton/cron,MIT OR Apache-2.0,Zack Slayton <zack.slayton@gmail.com>
crossbeam-channel,https://github.com/crossbeam-rs/crossbeam,MIT OR Apache-2.0,The crossbeam-channel Authors
crossbeam-deque,https://github.com/crossbeam-rs/crossbeam,MIT OR Apache-2.0,The crossbeam-deque Authors
Expand Down Expand Up @@ -295,6 +299,7 @@ etcetera,https://github.com/lunacookies/etcetera,MIT OR Apache-2.0,The etcetera
event-listener,https://github.com/smol-rs/event-listener,Apache-2.0 OR MIT,Stjepan Glavina <stjepang@gmail.com>
event-listener,https://github.com/smol-rs/event-listener,Apache-2.0 OR MIT,"Stjepan Glavina <stjepang@gmail.com>, John Nunley <dev@notgull.net>"
event-listener-strategy,https://github.com/smol-rs/event-listener-strategy,Apache-2.0 OR MIT,John Nunley <dev@notgull.net>
evmap,https://github.com/jonhoo/evmap,MIT OR Apache-2.0,Jon Gjengset <jon@thesquareplanet.com>
fail,https://github.com/tikv/fail-rs,Apache-2.0,The TiKV Project Developers
fancy-regex,https://github.com/fancy-regex/fancy-regex,MIT,"Raph Levien <raph@google.com>, Robin Stocker <robin@nibor.org>, Keith Hall <keith.hall@available.systems>"
fastdivide,https://github.com/fulmicoton/fastdivide,zlib-acknowledgement OR MIT,Paul Masurel <paul.masurel@gmail.com>
Expand Down Expand Up @@ -330,6 +335,7 @@ futures-sink,https://github.com/rust-lang/futures-rs,MIT OR Apache-2.0,The futur
futures-task,https://github.com/rust-lang/futures-rs,MIT OR Apache-2.0,The futures-task Authors
futures-timer,https://github.com/async-rs/futures-timer,MIT OR Apache-2.0,Alex Crichton <alex@alexcrichton.com>
futures-util,https://github.com/rust-lang/futures-rs,MIT OR Apache-2.0,The futures-util Authors
generator,https://github.com/Xudong-Huang/generator-rs,MIT OR Apache-2.0,Xudong Huang <huangxu008@hotmail.com>
generic-array,https://github.com/fizyk20/generic-array,MIT,"Bartłomiej Kamiński <fizyk20@gmail.com>, Aaron Trent <novacrazy@gmail.com>"
getrandom,https://github.com/rust-random/getrandom,MIT OR Apache-2.0,The Rand Project Developers
gimli,https://github.com/gimli-rs/gimli,MIT OR Apache-2.0,The gimli Authors
Expand All @@ -346,6 +352,7 @@ grok,https://github.com/mmastrac/grok,Apache-2.0,"Matt Mastracci <matthew@mastra
group,https://github.com/zkcrypto/group,MIT OR Apache-2.0,"Sean Bowe <ewillbefull@gmail.com>, Jack Grigg <jack@z.cash>"
h2,https://github.com/hyperium/h2,MIT,"Carl Lerche <me@carllerche.com>, Sean McArthur <sean@seanmonstar.com>"
half,https://github.com/VoidStarKat/half-rs,MIT OR Apache-2.0,Kathryn Long <squeeself@gmail.com>
hashbag,https://github.com/jonhoo/hashbag,MIT OR Apache-2.0,Jon Gjengset <jon@thesquareplanet.com>
hashbrown,https://github.com/rust-lang/hashbrown,MIT OR Apache-2.0,Amanieu d'Antras <amanieu@gmail.com>
hashlink,https://github.com/kyren/hashlink,MIT OR Apache-2.0,kyren <kerriganw@gmail.com>
hdrhistogram,https://github.com/HdrHistogram/HdrHistogram_rust,MIT OR Apache-2.0,"Jon Gjengset <jon@thesquareplanet.com>, Marshall Pierce <marshall@mpierce.org>"
Expand Down Expand Up @@ -418,12 +425,15 @@ json_comments,https://github.com/tmccombs/json-comments-rs,Apache-2.0,Thayne McC
jsonschema,https://github.com/Stranger6667/jsonschema,MIT,Dmitry Dygalo <dmitry@dygalo.dev>
jsonwebtoken,https://github.com/Keats/jsonwebtoken,MIT,Vincent Prouillet <hello@vincentprouillet.com>
keccak,https://github.com/RustCrypto/sponges/tree/master/keccak,Apache-2.0 OR MIT,RustCrypto Developers
konst,https://github.com/rodrimati1992/konst,Zlib,rodrimati1992 <rodrimatt1985@gmail.com>
konst_macro_rules,https://github.com/rodrimati1992/konst,Zlib,rodrimati1992 <rodrimatt1985@gmail.com>
krb5-src,https://github.com/MaterializeInc/rust-krb5-src,Apache-2.0,"Materialize, Inc."
lalrpop-util,https://github.com/lalrpop/lalrpop,Apache-2.0 OR MIT,Niko Matsakis <niko@alum.mit.edu>
lambda_runtime,https://github.com/awslabs/aws-lambda-rust-runtime,Apache-2.0,"David Calavera <dcalaver@amazon.com>, Harold Sun <sunhua@amazon.com>"
lambda_runtime_api_client,https://github.com/awslabs/aws-lambda-rust-runtime,Apache-2.0,"David Calavera <dcalaver@amazon.com>, Harold Sun <sunhua@amazon.com>"
lazy_static,https://github.com/rust-lang-nursery/lazy-static.rs,MIT OR Apache-2.0,Marvin Löbel <loebel.marvin@gmail.com>
leb128fmt,https://github.com/bluk/leb128fmt,MIT OR Apache-2.0,Bryant Luk <code@bryantluk.com>
left-right,https://github.com/jonhoo/left-right,MIT OR Apache-2.0,Jon Gjengset <jon@thesquareplanet.com>
levenshtein_automata,https://github.com/tantivy-search/levenshtein-automata,MIT,Paul Masurel <paul.masurel@gmail.com>
lexical-core,https://github.com/Alexhuszagh/rust-lexical,MIT OR Apache-2.0,Alex Huszagh <ahuszagh@gmail.com>
lexical-parse-float,https://github.com/Alexhuszagh/rust-lexical,MIT OR Apache-2.0,Alex Huszagh <ahuszagh@gmail.com>
Expand All @@ -445,6 +455,7 @@ linux-raw-sys,https://github.com/sunfishcode/linux-raw-sys,Apache-2.0 WITH LLVM-
litemap,https://github.com/unicode-org/icu4x,Unicode-3.0,The ICU4X Project Developers
lock_api,https://github.com/Amanieu/parking_lot,MIT OR Apache-2.0,Amanieu d'Antras <amanieu@gmail.com>
log,https://github.com/rust-lang/log,MIT OR Apache-2.0,The Rust Project Developers
loom,https://github.com/tokio-rs/loom,MIT,Carl Lerche <me@carllerche.com>
lru,https://github.com/jeromefroe/lru-rs,MIT,Jerome Froelich <jeromefroelic@hotmail.com>
lru-slab,https://github.com/Ralith/lru-slab,MIT OR Apache-2.0 OR Zlib,Benjamin Saunders <ben.e.saunders@gmail.com>
lz4,https://github.com/10xGenomics/lz4-rs,MIT,"Jens Heyens <jens.heyens@ewetel.net>, Artem V. Navrotskiy <bozaro@buzzsoft.ru>, Patrick Marks <pmarks@gmail.com>"
Expand All @@ -459,6 +470,8 @@ memchr,https://github.com/BurntSushi/memchr,Unlicense OR MIT,"Andrew Gallant <ja
memmap2,https://github.com/RazrFalcon/memmap2-rs,MIT OR Apache-2.0,"Dan Burkert <dan@danburkert.com>, Yevhenii Reizner <razrfalcon@gmail.com>, The Contributors"
metrics,https://github.com/metrics-rs/metrics,MIT,Toby Lawrence <toby@nuclearfurnace.com>
metrics-exporter-dogstatsd,https://github.com/metrics-rs/metrics,MIT,Toby Lawrence <toby@nuclearfurnace.com>
metrics-exporter-otel,https://github.com/palindrom615/metrics,MIT,Whoemoon Jang <palindrom615@gmail.com>
metrics-exporter-prometheus,https://github.com/metrics-rs/metrics,MIT AND Apache-2.0,Toby Lawrence <toby@nuclearfurnace.com>
metrics-util,https://github.com/metrics-rs/metrics,MIT,Toby Lawrence <toby@nuclearfurnace.com>
mime,https://github.com/hyperium/mime,MIT OR Apache-2.0,Sean McArthur <sean@seanmonstar.com>
mime_guess,https://github.com/abonander/mime_guess,MIT,Austin Bonander <austin.bonander@gmail.com>
Expand Down Expand Up @@ -648,6 +661,7 @@ rand_core,https://github.com/rust-random/rand_core,MIT OR Apache-2.0,The Rand Pr
rand_hc,https://github.com/rust-random/rand,MIT OR Apache-2.0,The Rand Project Developers
rand_xorshift,https://github.com/rust-random/rngs,MIT OR Apache-2.0,"The Rand Project Developers, The Rust Project Developers"
rand_xoshiro,https://github.com/rust-random/rngs,MIT OR Apache-2.0,The Rand Project Developers
rapidhash,https://github.com/hoxxep/rapidhash,MIT OR Apache-2.0,Liam Gray <gmail@liamg.me>
raw-cpuid,https://github.com/gz/rust-cpuid,MIT,Gerd Zellweger <mail@gerdzellweger.com>
rayon,https://github.com/rayon-rs/rayon,MIT OR Apache-2.0,The rayon Authors
rayon-core,https://github.com/rayon-rs/rayon,MIT OR Apache-2.0,The rayon-core Authors
Expand Down Expand Up @@ -712,6 +726,7 @@ seahash,https://gitlab.redox-os.org/redox-os/seahash,MIT,"ticki <ticki@users.nor
sec1,https://github.com/RustCrypto/formats/tree/master/sec1,Apache-2.0 OR MIT,RustCrypto Developers
security-framework,https://github.com/kornelski/rust-security-framework,MIT OR Apache-2.0,"Steven Fackler <sfackler@gmail.com>, Kornel <kornel@geekhood.net>"
security-framework-sys,https://github.com/kornelski/rust-security-framework,MIT OR Apache-2.0,"Steven Fackler <sfackler@gmail.com>, Kornel <kornel@geekhood.net>"
seize,https://github.com/ibraheemdev/seize,MIT,Ibraheem Ahmed <ibraheem@ibraheem.ca>
semver,https://github.com/dtolnay/semver,MIT OR Apache-2.0,David Tolnay <dtolnay@gmail.com>
separator,https://github.com/saghm/rust-separator,MIT,Saghm Rossi <saghmrossi@gmail.com>
seq-macro,https://github.com/dtolnay/seq-macro,MIT OR Apache-2.0,David Tolnay <dtolnay@gmail.com>
Expand Down
Loading
Loading