Skip to content

Add simulator metrics subsystem with MQTT support#409

Merged
jrddunbr merged 2 commits into
mainfrom
feature/sim-metrics
May 13, 2026
Merged

Add simulator metrics subsystem with MQTT support#409
jrddunbr merged 2 commits into
mainfrom
feature/sim-metrics

Conversation

@jrddunbr

@jrddunbr jrddunbr commented Mar 7, 2026

Copy link
Copy Markdown
Collaborator
  • Introduced MetricsSubsystem for collecting and publishing simulator MNA and runtime metrics.
  • Integrated MQTT metrics publishing with configurable server name, topic ID, and publish interval.
  • Added metrics tracking for subsystem count, matrix inversions, singular matrix detections, and runtime performance.
  • Enhanced RootSystem and SubSystem with metrics collection and aggregation logic.
  • Updated configuration to include simMetricsEnabled and related settings.
  • Included unit tests to validate the overhead and correctness of metrics publishing.

@jrddunbr jrddunbr self-assigned this Mar 7, 2026
@jrddunbr jrddunbr added the code work Needs code implementation label Mar 7, 2026
@jrddunbr jrddunbr force-pushed the feature/sim-metrics branch from 48853bf to 54c9864 Compare March 14, 2026 01:04
@jrddunbr jrddunbr force-pushed the feature/sim-metrics branch from 54c9864 to 09e6632 Compare April 20, 2026 01:56
@jrddunbr jrddunbr marked this pull request as ready for review May 13, 2026 02:20
jrddunbr added 2 commits May 12, 2026 22:26
- Introduced `MetricsSubsystem` for collecting and publishing simulator MNA and runtime metrics.
- Integrated MQTT metrics publishing with configurable server name, topic ID, and publish interval.
- Added metrics tracking for subsystem count, matrix inversions, singular matrix detections, and runtime performance.
- Enhanced `RootSystem` and `SubSystem` with metrics collection and aggregation logic.
- Updated configuration to include `simMetricsEnabled` and related settings.
- Included unit tests to validate the overhead and correctness of metrics publishing.

� Conflicts:
�	src/main/java/mods/eln/Eln.java
�	src/main/kotlin/mods/eln/config/ConfigHandler.kt
@jrddunbr jrddunbr force-pushed the feature/sim-metrics branch from dd78e70 to ae1d8b0 Compare May 13, 2026 02:27
@jrddunbr jrddunbr merged commit 4a96e79 into main May 13, 2026
1 check passed
@jrddunbr jrddunbr deleted the feature/sim-metrics branch May 13, 2026 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code work Needs code implementation

Development

Successfully merging this pull request may close these issues.

1 participant