Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Self-Monitor Directory Structure, Filenames, and Class Names #1881

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

Takuka0311
Copy link
Collaborator

@Takuka0311 Takuka0311 commented Nov 13, 2024

不涉及逻辑改动

  • 目录
    • 移动:
      • core/profile_sender -> core/monitor/profile_sender(Todo:EnterpriseProfileSender需要在内部移一下)
  • 文件
    • 新增:
      • core/monitor/MetricRecord.h,把MetricsRecord、MetricsRecordRef移到了这里
    • 更名:
      • core/monitor/LoongCollectorMetricTypes.h -> MetricTypes.h
      • core/monitor/LogtailMetric.h -> MetricManager.h
      • core/monitor/LogtailAlarm.h-> AlarmManager.h
      • core/unittest/monitor/LogtailMetricUnittest.cpp -> MetricManagerUnittest.cpp
    • 移动
      • ReentrantMetricsRecord、ReentrantMetricsRecordRef移动到了PluginMetricManager.h
    • 更名
      • ILogtailMetricUnittest - > MetricManagerUnittest
      • LogtailAlarmType -> AlarmType
      • LogtailAlarmMessage -> AlarmMessage
      • LogtailAlarm -> AlarmManager
      • LogtailAlarmVector -> AlarmVector

@Takuka0311 Takuka0311 merged commit 6e7991d into alibaba:main Nov 13, 2024
9 of 10 checks passed
@henryzhx8 henryzhx8 added the miscellaneous Code format, comment and etc. label Nov 13, 2024
@henryzhx8 henryzhx8 added this to the v2.2 milestone Nov 13, 2024
@Takuka0311 Takuka0311 deleted the refactor-self-monitor branch November 28, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
miscellaneous Code format, comment and etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants