Skip to content

MOB-47082 metrics and concurrency#1975

Open
ilonablazemeter wants to merge 16 commits intomasterfrom
MOB-47082-metrics-and-concurrency
Open

MOB-47082 metrics and concurrency#1975
ilonablazemeter wants to merge 16 commits intomasterfrom
MOB-47082-metrics-and-concurrency

Conversation

@ilonablazemeter
Copy link
Copy Markdown

Each PR must conform to Developer's Guide.

Quick checklist:

  • Description of PR explains the context of change
  • Unit tests cover the change, no broken tests
  • No static analysis warnings (Codacy etc.)
  • Documentation update ('available in the unstable snapshot' warning if necessary)
  • Changes file inside site/dat/docs/changes directory, one-line note of change inside

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.95%. Comparing base (ea643e4) to head (47d673f).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1975      +/-   ##
==========================================
+ Coverage   89.91%   89.95%   +0.04%     
==========================================
  Files          71       71              
  Lines       20182    20183       +1     
==========================================
+ Hits        18145    18153       +8     
+ Misses       2037     2030       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the Happysocks integration to support an alternate Socket.IO namespace backed by ClickHouse, and wires the option through the BlazeMeter reporter configuration, with accompanying unit tests and changelog entries.

Changes:

  • Add ClickHouse namespace support (/v1/engine-ch) and make namespace selection configurable in HappysocksClient.
  • Expose happysocks-use-clickhouse in the BlazeMeter reporter and propagate it into Happysocks client creation.
  • Add/extend unit tests for ClickHouse namespace behavior, timeouts, connection state, and console ScrollingLog behavior.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
bzt/utils.py Adds ClickHouse namespace constant and routes connect/emit through the selected namespace.
bzt/modules/blazemeter/blazemeter_reporter.py Introduces happysocks-use-clickhouse setting and passes it to HappysocksClient.
bzt/modules/console.py Updates urwid imports (Padding/SimpleListWalker) to match current module paths.
tests/unit/test_bza.py Adds coverage for ClickHouse namespace selection, timeouts propagation, and connected state.
tests/unit/modules/test_blazeMeterUploader.py Adds coverage for reporter→Happysocks instantiation params, proxy propagation, and buffering behavior.
tests/unit/modules/test_consoleStatusReporter.py Adds unit tests for ScrollingLog.update() behavior (ANSI stripping, sizing, replacement).
site/dat/docs/changes/feat-support-for-clickhouse-happysocks-namespace.change Adds one-line change note for the feature.
site/dat/docs/Changelog.md Adds release notes for the new namespace support and the new reporter setting.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants