From 312100c12311ec5a4293132bb8eb7c5e4cc0c2cf Mon Sep 17 00:00:00 2001 From: dcodesdev <101001810+dcodesdev@users.noreply.github.com> Date: Thu, 25 Sep 2025 14:09:53 +0300 Subject: [PATCH] Fixes --- axum/polars-otel-shuttle/README.md | 5 +++++ axum/polars-otel-shuttle/Shuttle.toml | 2 -- templates.toml | 7 ------- 3 files changed, 5 insertions(+), 9 deletions(-) delete mode 100644 axum/polars-otel-shuttle/Shuttle.toml diff --git a/axum/polars-otel-shuttle/README.md b/axum/polars-otel-shuttle/README.md index 0c215222..3916866d 100644 --- a/axum/polars-otel-shuttle/README.md +++ b/axum/polars-otel-shuttle/README.md @@ -12,11 +12,13 @@ An ETL pipeline using Polars for data processing and OpenTelemetry for observabi ## Running locally **ETL benchmark:** + ```bash RUST_LOG=info cargo run --release --features bench-cli ``` **Web service:** + ```bash cargo run --release ``` @@ -38,6 +40,7 @@ shuttle deploy ## Observability The service emits OpenTelemetry metrics: + - `monotonic_counter.http_requests_total` - Request counts - `histogram.request_duration_ms` - Request latency - `histogram.*_time_ms` - ETL stage timings @@ -48,8 +51,10 @@ When deployed on Shuttle with Better Stack integration enabled, these automatica ## Configuration **Environment variables:** + - `DATA_PATH` - Path to CSV file (default: `data/yellow_tripdata_2015-01.csv`) **Features:** + - `bench-cli` - Enables local ETL benchmark - `otel-otlp` - Enables OTLP export (for non-Shuttle deployments) diff --git a/axum/polars-otel-shuttle/Shuttle.toml b/axum/polars-otel-shuttle/Shuttle.toml deleted file mode 100644 index c858139b..00000000 --- a/axum/polars-otel-shuttle/Shuttle.toml +++ /dev/null @@ -1,2 +0,0 @@ -name = "polars-otel-shuttle" -# Shuttle uses your #[shuttle_runtime::main] entry point in src/main.rs diff --git a/templates.toml b/templates.toml index e92cc689..b0ced281 100644 --- a/templates.toml +++ b/templates.toml @@ -27,7 +27,6 @@ openai = "https://avatars.githubusercontent.com/u/14957082?v=4" # fallback shuttle = "https://avatars.githubusercontent.com/u/54710151?v=4" - ## OFFICIAL STARTERS ## [starters.actix-web-hello-world] @@ -381,8 +380,6 @@ path = "mcp/mcp-sse-oauth" use_cases = ["MCP", "AI", "AI Agents"] tags = ["axum", "mcp", "sse", "oauth"] - - ## EXAMPLES ## [examples.metadata] @@ -427,12 +424,10 @@ path = "other/standalone-binary" use_cases = [] tags = ["diy", "axum"] - ## TUTORIALS ## [tutorials] - ## COMMUNITY TEMPLATES ## # --- HOW TO ADD TO THE LIST --- @@ -479,5 +474,3 @@ use_cases = ["Web app"] tags = ["rocket", "yew"] author = "wiseaidev" repo = "https://github.com/wiseaidev/rocket-yew-starter-pack" - -