Skip to content

Add simulator metrics subsystem with MQTT support#409

Draft
jrddunbr wants to merge 1 commit intomainfrom
feature/sim-metrics
Draft

Add simulator metrics subsystem with MQTT support#409
jrddunbr wants to merge 1 commit intomainfrom
feature/sim-metrics

Conversation

@jrddunbr
Copy link
Copy Markdown
Collaborator

@jrddunbr jrddunbr commented Mar 7, 2026

  • 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
- 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 54c9864 to 09e6632 Compare April 20, 2026 01:56
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