Skip to content

chore: merge main into release#29

Merged
catinspace-au merged 5 commits into
releasefrom
chore/merge-to-release
Mar 26, 2026
Merged

chore: merge main into release#29
catinspace-au merged 5 commits into
releasefrom
chore/merge-to-release

Conversation

@catinspace-au
Copy link
Copy Markdown
Collaborator

Automated Release Merge

Merging main into release (4 commits).

Commits

7d70a97 chore: version 1.17.0-dev.14 [skip ci]
0a690e4 fix: add metrics instrumentation to all modules
ccfc9ad fix: wire StatsContext into KafkaTransport and add send metrics
606da06 chore: add Kafka transport metrics parity TODO [skip ci]

catinspace-au and others added 5 commits March 26, 2026 13:38
KafkaTransport now always uses StatsContext for both consumer and
producer. rdkafka statistics callbacks auto-emit rdkafka_* Prometheus
metrics when a MetricsManager recorder is installed. Zero downstream
code changes required.

Also adds dfe_transport_* metrics to send() (sent_total, errors,
backpressure, duration) matching gRPC transport parity.

Uses ::metrics:: absolute path to avoid shadowing by local mod metrics.
Universal auto-instrumentation via global singleton pattern:
- tiered-sink: spool messages/bytes, circuit state, hot/cold path,
  disk available, circuit trips
- spool: queue depth gauge on push/pop/recv/clear
- dlq: entries total, entries written, write errors
- cache: hits/misses by source, entry count
- http-client: request count by method/status, duration histogram
- secrets: fetch total, cache hits/misses

All metrics #[cfg(feature = "metrics")] gated — zero cost when off.
Apps with MetricsManager get full observability across every rustlib
feature with zero additional wiring.

Document core pillar design decision in CLAUDE.md: config, logging,
and metrics are non-negotiable for every module.
# [1.17.0-dev.14](v1.17.0-dev.13...v1.17.0-dev.14) (2026-03-26)

### Bug Fixes

* add metrics instrumentation to all modules ([0a690e4](0a690e4))
* wire StatsContext into KafkaTransport and add send metrics ([ccfc9ad](ccfc9ad))
# Conflicts:
#	CHANGELOG.md
#	Cargo.toml
#	VERSION
@catinspace-au catinspace-au merged commit aee9195 into release Mar 26, 2026
2 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.19.8 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@catinspace-au catinspace-au deleted the chore/merge-to-release branch March 26, 2026 06:27
catinspace-au added a commit that referenced this pull request May 21, 2026
catinspace-au added a commit that referenced this pull request May 21, 2026
catinspace-au added a commit that referenced this pull request May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants