Skip to content

Counters renamed metrics add dev null#19

Merged
ericbeland merged 8 commits intomainfrom
counters-renamed-metrics-add-dev-null
Mar 27, 2025
Merged

Counters renamed metrics add dev null#19
ericbeland merged 8 commits intomainfrom
counters-renamed-metrics-add-dev-null

Conversation

@ericbeland
Copy link

Description

  • Add har dummy traffic addon for http://dev-null.com/whatever/you/want
    You can also pass har values to set in the "traffic" you create via the query string
  • Rename Counters to Metrics in the proxy. We already call them that in the grid.
  • Regenerate clients

The HAR dummy traffic creator lets us generate per-request traffic and test how rapidly data can flow through our system.
We will make a test script pointing to this URL and see how fast we can call it, and how much data we can produce. We can drop it to low/no delay, or even make vu's loop with no delay during each iteration.

ericbeland and others added 8 commits March 23, 2025 21:36
…roxyMaster

Adds the HarDummyTrafficAddon to the BrowserupProxyMaster, ensuring requests to dev-null.com are intercepted and handled internally without making external network requests.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Revise CLAUDE.md
@ericbeland ericbeland merged commit 8e3cf82 into main Mar 27, 2025
47 checks passed
@kiturutin kiturutin self-assigned this Mar 27, 2025
@kiturutin kiturutin self-requested a review March 27, 2025 14:22
@kiturutin kiturutin removed their assignment Mar 27, 2025
numeric_val = float(val)
else:
numeric_val = int(val)
val = numeric_val

Choose a reason for hiding this comment

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

Why only numeric values are allowed here?

"description": "The dev-null.com domain is reserved for dummy traffic. Any requests to this domain will be intercepted and used to create HAR entries with custom values.",
"examples": [
"http://dev-null.com/any/path",
"http://dev-null.com/any/path?timings.wait=150",

Choose a reason for hiding this comment

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

Maybe it's worth adding some prefix to all our request query params, just in case user wants to use that magic URL to track their own requests, which might also have some query parameters they want to track separately, but I'm not sure, maybe it's not our use case

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