refactor: consolidate monitoring_interface.h with common_system canonical definition#266
Merged
Merged
Conversation
Rename the monitoring system's interface file to avoid naming collision with common_system's canonical monitoring_interface.h which defines the IMonitor interface. Changes: - Create monitoring_core.h with the original interface definitions - Convert monitoring_interface.h to deprecated forwarding header - Update all internal includes to use monitoring_core.h - Add deprecation warnings for backward compatibility This resolves issue #265 by clearly differentiating: - kcenon/common/interfaces/monitoring_interface.h: IMonitor interface - kcenon/monitoring/interfaces/monitoring_core.h: monitoring_interface class Closes #265
Update additional header files that were still using the deprecated monitoring_interface.h path to use the new monitoring_core.h: - include/kcenon/monitoring/core/performance_monitor.h - include/kcenon/monitoring/exporters/opentelemetry_adapter.h - include/kcenon/monitoring/exporters/metric_exporters.h - include/kcenon/monitoring/adapters/common_system_adapter.h This eliminates deprecation warnings when building the library.
Update API documentation to reflect the rename of monitoring_interface.h to monitoring_core.h: - Update header paths in both English and Korean versions - Add notes explaining the rename reason and backward compatibility
kcenon
added a commit
that referenced
this pull request
Apr 13, 2026
…ical definition (#266) * refactor: rename monitoring_interface.h to monitoring_core.h Rename the monitoring system's interface file to avoid naming collision with common_system's canonical monitoring_interface.h which defines the IMonitor interface. Changes: - Create monitoring_core.h with the original interface definitions - Convert monitoring_interface.h to deprecated forwarding header - Update all internal includes to use monitoring_core.h - Add deprecation warnings for backward compatibility This resolves issue #265 by clearly differentiating: - kcenon/common/interfaces/monitoring_interface.h: IMonitor interface - kcenon/monitoring/interfaces/monitoring_core.h: monitoring_interface class Closes #265 * refactor: update remaining include paths to monitoring_core.h Update additional header files that were still using the deprecated monitoring_interface.h path to use the new monitoring_core.h: - include/kcenon/monitoring/core/performance_monitor.h - include/kcenon/monitoring/exporters/opentelemetry_adapter.h - include/kcenon/monitoring/exporters/metric_exporters.h - include/kcenon/monitoring/adapters/common_system_adapter.h This eliminates deprecation warnings when building the library. * docs: update API reference for monitoring_core.h rename Update API documentation to reflect the rename of monitoring_interface.h to monitoring_core.h: - Update header paths in both English and Korean versions - Add notes explaining the rename reason and backward compatibility
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
monitoring_interface.htomonitoring_core.hto avoid naming collision with common_system's canonicalmonitoring_interface.h(which definesIMonitor)Changes
Core Interface Rename
include/kcenon/monitoring/interfaces/monitoring_interface.h→monitoring_core.hUpdated Files (18 files)
Interface Disambiguation
kcenon/common/interfaces/monitoring_interface.hkcenon::common::interfaceskcenon/monitoring/interfaces/monitoring_core.hkcenon::monitoringMigration Guide
Test Plan
Closes #265