Repository navigation
workspace: split into prometheus-expfmt, prometheus-relabel, and prometheus-scrape-manager - #48
Merged
Merged
Conversation
…etheus-scrape-manager Convert scrape.rs into a Cargo workspace along the pure-CPU sync vs async network/runtime boundary: - crates/expfmt (prometheus-expfmt): wire exposition format negotiation, Layer 0 parsers, ArrowDecoder, and Protobuf DTOs. - crates/relabel (prometheus-relabel): target and metric relabeling plus Stage 1/2 dictionary pushdown primitives. - crates/scrape-manager (prometheus-scrape-manager, publish = false for now): workspace home for upcoming discovery, http_config, and scrape manager modules. Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
…kspace docs Prepare workspace crates for crates.io publication and automated GitHub Release publishing: - Add Apache-2.0 LICENSE at the repository root and symlink into each crate directory so packaged .crate tarballs include the license text. - Add .github/workflows/release.yml using rust-lang/crates-io-auth-action (OIDC Trusted Publishing) and cargo publish --workspace --locked on published GitHub Releases (plus workflow_dispatch --dry-run). - Update README.md, AGENTS.md, and specs/SPEC.md for the three-crate workspace layout. Signed-off-by: Bartek Plotka <bwplotka@gmail.com>
bwplotka
marked this pull request as ready for review
November 12, 2026 07:46
Member
Author
nicolastakashi
approved these changes
Nov 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Prepares
prometheus/scrape.rsfor publishing to crates.io (unblocking open-telemetry/otel-arrow#4630) by splitting the repository into a three-crate Cargo workspace along the pure-CPU sync vs async network/runtime I/O boundary:prometheus-expfmt(crates/expfmt): wire exposition format negotiation, Layer 0 parsers,ArrowDecoder, and Protobuf DTOs (pure CPU, zero async/network dependencies).prometheus-relabel(crates/relabel): Prometheus-compatible target and metric relabeling plus Stage 1/2 dictionary pushdown primitives (regex,serde,thiserror).prometheus-scrape-manager(crates/scrape-manager,publish = falseuntil discovery and scrape pool PRs land): workspace crate forhttp_config, service discoveries (discovery), and target scrape scheduling (scrape), avoiding theprometheus-scrape/prometheus-scrapername collisions on crates.io.Also adds the Apache-2.0
LICENSE, crate-levelREADME.mdandexcluderules so.cratetarballs omittestdata/and benchmarks (100 KiBforprometheus-expfmt,20 KiBforprometheus-relabel), and.github/workflows/release.ymlfor GitHub Release publishing viarust-lang/crates-io-auth-action(OIDC Trusted Publishing) andcargo publish --workspace --locked.Commits in order:
2bc55b1workspace: split into prometheus-expfmt, prometheus-relabel, and prometheus-scrape-manager29d6bb0ci, docs: add Apache-2.0 LICENSE, crates.io release workflow, and workspace docs