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

FEAT: Change ArcusClient mbean name more readable. #765

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

brido4125
Copy link
Collaborator

@brido4125 brido4125 commented Jun 13, 2024

Related Issue

https://github.com/jam2in/arcus-works/issues/490

변경 내용

기존에 아래와 같은 포맷으로 수집되던 메트릭입니다.

net_spy_memcached_StatisticsHandler_747327855_reconnectCount_127.0.0.1:11212_ 0.0

이를 아래와 같이 변경하는 PR입니다.

net_spy_memcached_StatisticsHandler_reconnectCount_127.0.0.1:11212{name="ArcusClient-1(1-1) for test"}_ 0.0

일반화 시키면 아래와 같이 구성됩니다.

net_spy_memcached_StatisticsHandler_<수집메트릭>_<hostPort정보>{name=<ArcusClient 생성시 사용되는 name>}_ <값>

이슈의 코멘트도 참고부탁드립니다.
https://github.com/jam2in/arcus-works/issues/490#issuecomment-2164178885

@brido4125 brido4125 self-assigned this Jun 13, 2024
@brido4125 brido4125 requested a review from uhm0311 June 13, 2024 02:28
mbean.getClass().getPackage().getName() + ":type="
+ mbean.getClass().getSimpleName() + "-"
+ mbean.hashCode());

Copy link
Collaborator

Choose a reason for hiding this comment

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

Empty Line 복구해주세요.

@jhpark816 jhpark816 merged commit 5f240ad into naver:develop Jun 14, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants