Skip to content

feat(modules): add nsq and pulsar exposure modules#297

Merged
vmfunc merged 2 commits into
vmfunc:mainfrom
TBX3D:feat/mq-exposure
Jul 22, 2026
Merged

feat(modules): add nsq and pulsar exposure modules#297
vmfunc merged 2 commits into
vmfunc:mainfrom
TBX3D:feat/mq-exposure

Conversation

@TBX3D

@TBX3D TBX3D commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@TBX3D
TBX3D requested a review from vmfunc as a code owner July 3, 2026 19:29
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@7ea1cd2). Learn more about missing BASE report.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #297   +/-   ##
=======================================
  Coverage        ?   54.72%           
=======================================
  Files           ?       81           
  Lines           ?     6874           
  Branches        ?        0           
=======================================
  Hits            ?     3762           
  Misses          ?     2842           
  Partials        ?      270           

☔ View full report in Codecov by Harness.
📢 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.

@github-actions github-actions Bot added modules changes to scan modules tests test changes size/l <500 lines changed labels Jul 3, 2026
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown

pr summary

4 files changed (+263 -0)

category files
go source 2
tests 2

drop the leading comment restating id/name on nsq-stats-exposure and pulsar-metrics-exposure

@vmfunc vmfunc left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

both rules lean on the right anchors. topics+start_time+version and'd is specific enough that no generic json trips the nsq rule, and pulsar_topics_count + pulsar_subscriptions_count + ^# TYPE pulsar_ won't collide with node_exporter. negative tests for 401/404/partial-body are the ones that matter and you've got them.

one thing on nsq: requiring "health":"OK" in the and-set means a degraded-but-exposed nsqd (health NOK) slips through, and the other three anchors already pin it to nsqd. not blocking, an exposure is an exposure even when it's unhealthy, so you might drop that matcher later. in as-is.

@vmfunc
vmfunc merged commit 473c74d into vmfunc:main Jul 22, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

modules changes to scan modules size/l <500 lines changed tests test changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants