Skip to content

[MessageControl] Add telemetry support#377

Open
VeithMetro wants to merge 5 commits intomasterfrom
development/messaging-telemetry
Open

[MessageControl] Add telemetry support#377
VeithMetro wants to merge 5 commits intomasterfrom
development/messaging-telemetry

Conversation

@VeithMetro
Copy link
Copy Markdown
Contributor

It needs this PR to be merged first

Copilot AI review requested due to automatic review settings April 3, 2026 08:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a statically linked telemetry backend path to the MessageControl plugin, forwarding TELEMETRY-type messages to a T2 (or mock) telemetry implementation (noting the PR depends on Thunder/Thunder#2090).

Changes:

  • Introduces a TelemetryBackend_* C interface and a T2-based backend implementation (with optional mock/stub builds).
  • Updates MessageControl publishing APIs to forward typed Core::Messaging::IEvent objects (preserving telemetry value types).
  • Adds build/config switches and CI wiring to enable the T2 telemetry backend and mock library.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
TelemetryBackendT2/TelemetryBackendT2.cpp Implements the telemetry backend adapter over the T2 API (or stub).
TelemetryBackendT2/CMakeLists.txt Adds build logic to link real T2, use mock, or compile in stub mode.
TelemetryBackendT2/mock/t2_mock.c Provides a stdout-printing mock implementation of the T2 API.
TelemetryBackendT2/mock/CMakeLists.txt Builds/installs the mock t2 shared library target.
MessageControl/TelemetryOutput.h Adds the backend C interface used by MessageControl.
MessageControl/MessageOutput.h Changes publisher interface to IEvent and adds TelemetryOutput publisher.
MessageControl/MessageOutput.cpp Updates publisher implementations to use event.Data() via the new interface.
MessageControl/MessageControl.h Updates callback/message flow to forward IEvent and adds telemetry factory member.
MessageControl/MessageControl.cpp Registers telemetry factory; configures/tears down telemetry backend when enabled.
MessageControl/MessageControl.conf.in Adds telemetryconfig to generated config when telemetry is enabled.
MessageControl/CMakeLists.txt Adds build option to enable telemetry backend and link TelemetryBackendT2.
.github/workflows/Linux build template.yml Enables telemetry backend and mock in the Linux CI build template.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants