-
Notifications
You must be signed in to change notification settings - Fork 21
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
add: Additional Metrics #13
Open
ririnto
wants to merge
11
commits into
commercetools:master
Choose a base branch
from
ririnto:feature/huge-metrics
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
# Change Log ## Major Changes 1. **Updated `serviceTypes` to Match Monit Naming** - The `serviceTypes` map has been updated to align with Monit naming conventions for better compatibility. ```go var serviceTypes = map[int]string{ 0: "Filesystem", 1: "Directory", 2: "File", 3: "Process", 4: "Remote host", 5: "System", 6: "Fifo", 7: "Program", 8: "Network", } ``` 2. **Renamed Metric Labels** - Metric label names have been updated to improve clarity and consistency with Monit conventions. ```go labelNames := []string{"service_name", "service_type", "service_monitor_status"} ``` 3. **Extended Supported Metrics** - New Monit-related metrics have been added to enhance monitoring capabilities: - `monit_exporter_up` - `monit_exporter_service_check` - `monit_service_block_usage_bytes` - `monit_service_block_total_bytes` - `monit_service_block_usage_percent` - `monit_service_inode_usage` - `monit_service_inode_total` - `monit_service_inode_usage_percent` - `monit_service_port_response_seconds` - `monit_service_system_loadavg_01` - `monit_service_system_loadavg_05` - `monit_service_system_loadavg_15` - `monit_service_system_cpu_user_percent` - `monit_service_system_cpu_system_percent` - `monit_service_system_cpu_wait_percent` - `monit_service_system_memory_usage_percent` - `monit_service_system_memory_usage_kilobytes` - `monit_service_system_swap_usage_percent` - `monit_service_system_swap_usage_kilobytes` 4. **Automated Release Creation on Tag** - Configured GitHub Actions or CI/CD pipelines to automatically generate a Release when a tag is created. 5. **Renamed Executable File** - The executable file name has been changed from `monit_exporter` to `monit-exporter` to standardize naming conventions. These changes aim to improve compatibility with Monit, enhance monitoring capabilities, and provide a more consistent user experience. --- # 변경 로그 ## 주요 변경 사항 1. **`serviceTypes`를 Monit 명칭과 동일하게 업데이트** - `serviceTypes` 맵을 Monit 명칭과 동일하게 변경하여 호환성을 강화하였습니다. ```go var serviceTypes = map[int]string{ 0: "Filesystem", 1: "Directory", 2: "File", 3: "Process", 4: "Remote host", 5: "System", 6: "Fifo", 7: "Program", 8: "Network", } ``` 2. **Metric Label 이름 변경** - Metric 라벨 이름을 보다 명확하고 Monit 명명 규칙에 맞게 수정하였습니다. ```go labelNames := []string{"service_name", "service_type", "service_monitor_status"} ``` 3. **지원하는 Metric 확장** - 모니터링 기능 강화를 위해 새로운 Monit 관련 Metric을 추가하였습니다: - `monit_exporter_up` - `monit_exporter_service_check` - `monit_service_block_usage_bytes` - `monit_service_block_total_bytes` - `monit_service_block_usage_percent` - `monit_service_inode_usage` - `monit_service_inode_total` - `monit_service_inode_usage_percent` - `monit_service_port_response_seconds` - `monit_service_system_loadavg_01` - `monit_service_system_loadavg_05` - `monit_service_system_loadavg_15` - `monit_service_system_cpu_user_percent` - `monit_service_system_cpu_system_percent` - `monit_service_system_cpu_wait_percent` - `monit_service_system_memory_usage_percent` - `monit_service_system_memory_usage_kilobytes` - `monit_service_system_swap_usage_percent` - `monit_service_system_swap_usage_kilobytes` 4. **태그 지정 시 Release 생성 자동화** - GitHub Actions 또는 CI/CD 파이프라인에서 태그가 생성되면 자동으로 Release를 생성하도록 구성하였습니다. 5. **실행 파일명 변경** - 실행 파일명을 기존 `monit_exporter`에서 `monit-exporter`로 변경하여 파일명 스타일을 표준화하였습니다. 이 변경 사항은 Monit과의 호환성을 강화하고 모니터링 기능을 확장하며, 사용자 경험을 개선하기 위해 설계되었습니다.
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.
Change Log
Major Changes
Updated
serviceTypes
to Match Monit NamingserviceTypes
map has been updated to align with Monit naming conventions for better compatibility.Renamed Metric Labels
Extended Supported Metrics
monit_exporter_up
monit_exporter_service_check
monit_service_block_usage_bytes
monit_service_block_total_bytes
monit_service_block_usage_percent
monit_service_inode_usage
monit_service_inode_total
monit_service_inode_usage_percent
monit_service_port_response_seconds
monit_service_system_loadavg_01
monit_service_system_loadavg_05
monit_service_system_loadavg_15
monit_service_system_cpu_user_percent
monit_service_system_cpu_system_percent
monit_service_system_cpu_wait_percent
monit_service_system_memory_usage_percent
monit_service_system_memory_usage_kilobytes
monit_service_system_swap_usage_percent
monit_service_system_swap_usage_kilobytes
Automated Release Creation on Tag
Renamed Executable File
monit_exporter
tomonit-exporter
to standardize naming conventions.These changes aim to improve compatibility with Monit, enhance monitoring capabilities, and provide a more consistent user experience.
변경 로그
주요 변경 사항
serviceTypes
를 Monit 명칭과 동일하게 업데이트serviceTypes
맵을 Monit 명칭과 동일하게 변경하여 호환성을 강화하였습니다.Metric Label 이름 변경
지원하는 Metric 확장
monit_exporter_up
monit_exporter_service_check
monit_service_block_usage_bytes
monit_service_block_total_bytes
monit_service_block_usage_percent
monit_service_inode_usage
monit_service_inode_total
monit_service_inode_usage_percent
monit_service_port_response_seconds
monit_service_system_loadavg_01
monit_service_system_loadavg_05
monit_service_system_loadavg_15
monit_service_system_cpu_user_percent
monit_service_system_cpu_system_percent
monit_service_system_cpu_wait_percent
monit_service_system_memory_usage_percent
monit_service_system_memory_usage_kilobytes
monit_service_system_swap_usage_percent
monit_service_system_swap_usage_kilobytes
태그 지정 시 Release 생성 자동화
실행 파일명 변경
monit_exporter
에서monit-exporter
로 변경하여 파일명 스타일을 표준화하였습니다.이 변경 사항은 Monit과의 호환성을 강화하고 모니터링 기능을 확장하며, 사용자 경험을 개선하기 위해 설계되었습니다.