Skip to main content

SCOM-based microservice boundary analysis from Jaeger traces

Project description

Changelog

v1.0.0 (2026-06-11)

Features

  • SCOM pipeline : computes Service-COhesion Metric from Jaeger traces (health filtering, endpoint extraction, DB table detection, endpoint-table mapping, threshold analysis, report generation)
  • CLI tool : mba / boundary-analyzer commands (run, setup, dashboard, teastore)
  • Auto-instrumentation : auto-detects Python microservices (FastAPI, Flask, Django), injects OpenTelemetry, collects traces via Jaeger, runs SCOM analysis
  • TeaStore support : Docker Compose deployment with OTel Java agent, traffic generator, trace exporter, full SCOM pipeline
  • Dashboard : interactive Dash web UI for SCOM results
  • LLM analysis (optional) : AI-powered narrative report via OpenRouter (Qwen), disabled by default

Improvements

  • Segment-based health matching (HEALTH_KEYWORDS) instead of fragile endswith/health/all, /auth/health, /ready/isready, /metrics (via http.target) correctly filtered
  • --skip-no-db-services flag to exclude stateless services (proxy, orchestrator, etc.) from SCOM ranking
  • run_teastore() function extracted for programmatic access

Bug fixes

  • MissingGreenlet in classroom-repository (added selectinload)
  • datetime timezone-aware comparison in enrollment-service
  • academic_year int→str conversion in enrollment-service
  • Scope bug in cleaned_parts variable in CLI cleanup logic
  • SQLAlchemy duplicate instrumentation (event listeners only, no SQLAlchemyInstrumentor/AsyncPGInstrumentor)
  • [project.scripts] whitespace in pyproject.toml

Tests

  • 74 tests total (58 existing + 16 TeaStore)
  • TeaStore synthetic fixtures (persistence-service with 5 tables, auth-service without DB)
  • 3 test classes : TeaStorePipelineTest, TeaStoreSkipNoDbTest, TeaStoreNoFilterTest

Infrastructure

  • CI via GitHub Actions (.github/workflows/ci.yml) — Python 3.11 × 3.12
  • mba CLI alias alongside boundary-analyzer
  • Version bump to 0.2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

boundary_analyzer-0.3.4.tar.gz (141.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

boundary_analyzer-0.3.4-py3-none-any.whl (140.3 kB view details)

Uploaded Python 3

File details

Details for the file boundary_analyzer-0.3.4.tar.gz.

File metadata

  • Download URL: boundary_analyzer-0.3.4.tar.gz
  • Upload date:
  • Size: 141.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for boundary_analyzer-0.3.4.tar.gz
Algorithm Hash digest
SHA256 27b706e574bdf219cbba3d0ad1871dc77ef8ce7f072908585508f6a9b4b64c6b
MD5 661d4cf2d4da09eb93be48dd87fb0a1d
BLAKE2b-256 fa20f83ae1bb63ba2f4eadf8f8124d352b4cfa6b53b40aa5bcad5a5525af243e

See more details on using hashes here.

File details

Details for the file boundary_analyzer-0.3.4-py3-none-any.whl.

File metadata

File hashes

Hashes for boundary_analyzer-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 87172527522a99bccb3434d41b8d8d80f7397c088f4af219dca319c5a4ea0e2f
MD5 ff2dc849c0cc2ddbd9acb78dc470d0ae
BLAKE2b-256 77f8963ed6d452498391f7adfb2bf3d3ab8b90587ee51ccafae14d49e33b2666

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page