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

sort sc command ouput #234

Merged
merged 1 commit into from
Oct 17, 2018
Merged

Conversation

Hearen
Copy link
Contributor

@Hearen Hearen commented Oct 16, 2018

@codecov-io
Copy link

codecov-io commented Oct 16, 2018

Codecov Report

Merging #234 into master will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #234      +/-   ##
=========================================
- Coverage    4.61%   4.61%   -0.01%     
=========================================
  Files         190     190              
  Lines        9347    9349       +2     
  Branches     1620    1620              
=========================================
  Hits          431     431              
- Misses       8873    8875       +2     
  Partials       43      43
Impacted Files Coverage Δ
...thas/core/command/klass100/SearchClassCommand.java 0% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3de9456...0757b41. Read the comment docs.

}
});

// 1.8 or above using lambda;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Arthas will keep support for jdk6, please remove code about jdk8.

@hengyunabc
Copy link
Collaborator

@Hearen Is there an example to show the difference before and after?

@Hearen Hearen force-pushed the sort-matched-classes branch from 62575d1 to 0757b41 Compare October 17, 2018 08:24
@Hearen
Copy link
Contributor Author

Hearen commented Oct 17, 2018

before: #233

after:

$ sc *prometheus*
com.sun.proxy.$Proxy251
com.sun.proxy.$Proxy264
com.sun.proxy.$Proxy281
com.sun.proxy.$Proxy291
com.sun.proxy.$Proxy328
com.sun.proxy.$Proxy330
com.sun.proxy.$Proxy331
com.sun.proxy.$Proxy335
com.sun.proxy.$Proxy336
com.sun.proxy.$Proxy89
com.worksap.morphling.doberman.client.prometheus.EnableMetricCollector
com.worksap.morphling.doberman.client.prometheus.IgnoreMetric
com.worksap.morphling.doberman.client.prometheus.MetricCounter
com.worksap.morphling.doberman.client.prometheus.MetricCounterAspect
com.worksap.morphling.doberman.client.prometheus.PrometheusContext
com.worksap.morphling.doberman.client.prometheus.PrometheusContext$$Lambda$41/1640001575
com.worksap.morphling.raptor.elephas.retriever.prometheus.PrometheusBaseRetriever
com.worksap.morphling.raptor.elephas.retriever.prometheus.RunningEC2Retriever
com.worksap.morphling.raptor.elephas.retriever.prometheus.RunningEC2Retriever$$EnhancerBySpringCGLIB$$68c8c0a5
com.worksap.morphling.raptor.elephas.retriever.prometheus.RunningMicroserviceNewRetriever
com.worksap.morphling.raptor.elephas.retriever.prometheus.RunningMicroserviceNewRetriever$$EnhancerBySpringCGLIB$$59c45c74
com.worksap.morphling.raptor.elephas.retriever.prometheus.RunningMicroserviceRetriever
com.worksap.morphling.raptor.elephas.retriever.prometheus.RunningMicroserviceRetriever$$EnhancerBySpringCGLIB$$fb5333c4
com.worksap.morphling.raptor.onlineeditor.executor.OnlineEditExecutor
com.worksap.morphling.raptor.prometheus.annotation.MethodTimer
com.worksap.morphling.raptor.prometheus.annotation.MethodTracker
com.worksap.morphling.raptor.prometheus.annotation.MethodTracker$TypeEnum
[Lcom.worksap.morphling.raptor.prometheus.annotation.MethodTracker$TypeEnum;
com.worksap.morphling.raptor.prometheus.aspect.MethodTrackerAspect
com.worksap.morphling.raptor.prometheus.aspect.TimeCounterAspect
com.worksap.morphling.raptor.prometheus.controller.ConfigController
com.worksap.morphling.raptor.prometheus.controller.ConfigController$$EnhancerBySpringCGLIB$$6010fef2
com.worksap.morphling.raptor.prometheus.controller.MetricController
com.worksap.morphling.raptor.prometheus.controller.MetricController$$EnhancerBySpringCGLIB$$8850467c
com.worksap.morphling.raptor.prometheus.controller.PrometheusConfigRevisionController
com.worksap.morphling.raptor.prometheus.controller.PrometheusConfigRevisionController$$EnhancerBySpringCGLIB$$38d46482
com.worksap.morphling.raptor.prometheus.controller.RulesController
com.worksap.morphling.raptor.prometheus.controller.RulesController$$EnhancerBySpringCGLIB$$ffd0b269
com.worksap.morphling.raptor.prometheus.controller.StatusController
com.worksap.morphling.raptor.prometheus.controller.StatusController$$EnhancerBySpringCGLIB$$d9eb7f02
com.worksap.morphling.raptor.prometheus.controller.StatusController$$EnhancerBySpringCGLIB$$d9eb7f02$$FastClassBySpringCGLIB$$65f04ae2
com.worksap.morphling.raptor.prometheus.controller.StatusController$$FastClassBySpringCGLIB$$9de2749a
com.worksap.morphling.raptor.prometheus.dao.GrafanaDashboardRepository
com.worksap.morphling.raptor.prometheus.dao.MetricRepository
com.worksap.morphling.raptor.prometheus.dao.PrometheusConfigRepository
com.worksap.morphling.raptor.prometheus.dao.PrometheusConfigRevisionRepository
com.worksap.morphling.raptor.prometheus.dao.PrometheusConfigRevisionRepository$$EnhancerBySpringCGLIB$$c51e3613
com.worksap.morphling.raptor.prometheus.dao.RulesRepository
com.worksap.morphling.raptor.prometheus.entity.GrafanaDashboard
com.worksap.morphling.raptor.prometheus.entity.GrafanaDashboard$$Lambda$102/1461858964
com.worksap.morphling.raptor.prometheus.entity.GrafanaDashboard$GrafanaDashboardBuilder
com.worksap.morphling.raptor.prometheus.entity.GrafanaDashboard_$$_jvsteab_35
com.worksap.morphling.raptor.prometheus.entity.GrafanaPanel
com.worksap.morphling.raptor.prometheus.entity.GrafanaPanel$GrafanaPanelBuilder
com.worksap.morphling.raptor.prometheus.entity.GrafanaPanel_$$_jvsteab_5e
com.worksap.morphling.raptor.prometheus.entity.Metric
com.worksap.morphling.raptor.prometheus.entity.Metric$MetricBuilder
com.worksap.morphling.raptor.prometheus.entity.Metric_$$_jvsteab_69
com.worksap.morphling.raptor.prometheus.entity.PrometheusConfigFile
com.worksap.morphling.raptor.prometheus.entity.PrometheusConfigFile$PrometheusConfigFileBuilder
com.worksap.morphling.raptor.prometheus.entity.PrometheusConfigFile_$$_jvsteab_33
com.worksap.morphling.raptor.prometheus.entity.RuleInfo
com.worksap.morphling.raptor.prometheus.entity.RuleInfo$RuleInfoBuilder
com.worksap.morphling.raptor.prometheus.entity.RuleInfo_$$_jvsteab_48
com.worksap.morphling.raptor.prometheus.enums.CategoryEnum
[Lcom.worksap.morphling.raptor.prometheus.enums.CategoryEnum;
com.worksap.morphling.raptor.prometheus.executor.AnsibleExecutor
com.worksap.morphling.raptor.prometheus.executor.ConfigEditExecutor
com.worksap.morphling.raptor.prometheus.executor.RulesEditExecutor
com.worksap.morphling.raptor.prometheus.executor.RulesEditPostHook
com.worksap.morphling.raptor.prometheus.executor.StatusAnalyzeExecutor
com.worksap.morphling.raptor.prometheus.executor.StatusAnalyzePostHook
com.worksap.morphling.raptor.prometheus.service.ConfigRevisionService
com.worksap.morphling.raptor.prometheus.service.ConfigRevisionService$$EnhancerBySpringCGLIB$$9efa3485
com.worksap.morphling.raptor.prometheus.service.ConfigService
com.worksap.morphling.raptor.prometheus.service.ConfigService$$EnhancerBySpringCGLIB$$8f6c4776
com.worksap.morphling.raptor.prometheus.service.MetricService
com.worksap.morphling.raptor.prometheus.service.MetricService$$EnhancerBySpringCGLIB$$e8703935
com.worksap.morphling.raptor.prometheus.service.MetricService$$EnhancerBySpringCGLIB$$e8703935$$FastClassBySpringCGLIB$$e9deec7
com.worksap.morphling.raptor.prometheus.service.MetricService$$FastClassBySpringCGLIB$$ef3e2206
com.worksap.morphling.raptor.prometheus.service.MetricService$$Lambda$106/506774834
com.worksap.morphling.raptor.prometheus.service.MetricService$$Lambda$111/869772911
com.worksap.morphling.raptor.prometheus.service.MetricService$$Lambda$112/858146613
com.worksap.morphling.raptor.prometheus.service.MetricService$$Lambda$113/367366146
com.worksap.morphling.raptor.prometheus.service.MetricService$$Lambda$114/1236300623
com.worksap.morphling.raptor.prometheus.service.MetricService$$Lambda$117/983076361
com.worksap.morphling.raptor.prometheus.service.MetricService$$Lambda$118/1789455217
com.worksap.morphling.raptor.prometheus.service.MetricService$$Lambda$119/2111426139
com.worksap.morphling.raptor.prometheus.service.MetricService$$Lambda$60/423233927
com.worksap.morphling.raptor.prometheus.service.MetricService$$Lambda$87/1649858569
com.worksap.morphling.raptor.prometheus.service.MetricService$$Lambda$88/1763009736
com.worksap.morphling.raptor.prometheus.service.MetricService$$Lambda$89/1881886318
com.worksap.morphling.raptor.prometheus.service.MetricService$$Lambda$90/728944464
com.worksap.morphling.raptor.prometheus.service.MetricService$$Lambda$91/2133908647
com.worksap.morphling.raptor.prometheus.service.MetricService$$Lambda$92/1036108973
com.worksap.morphling.raptor.prometheus.service.MetricService$$Lambda$93/389264709
com.worksap.morphling.raptor.prometheus.service.MetricService$$Lambda$94/1395311807
com.worksap.morphling.raptor.prometheus.service.RulesService
com.worksap.morphling.raptor.prometheus.service.RulesService$$EnhancerBySpringCGLIB$$c88b47f1
com.worksap.morphling.raptor.prometheus.service.RulesService$$EnhancerBySpringCGLIB$$c88b47f1$$FastClassBySpringCGLIB$$d921ca49
com.worksap.morphling.raptor.prometheus.service.RulesService$$FastClassBySpringCGLIB$$ae6cfa7d
com.worksap.morphling.raptor.prometheus.service.StatusService
com.worksap.morphling.raptor.prometheus.service.StatusService$$EnhancerBySpringCGLIB$$b8504166
com.worksap.morphling.raptor.prometheus.service.StatusService$$EnhancerBySpringCGLIB$$b8504166$$FastClassBySpringCGLIB$$b181fde3
com.worksap.morphling.raptor.prometheus.service.StatusService$$FastClassBySpringCGLIB$$469a9984
com.worksap.morphling.raptor.prometheus.service.StatusService$$Lambda$124/1911103430
com.worksap.morphling.raptor.prometheus.service.StatusService$$Lambda$125/161385790
com.worksap.morphling.raptor.prometheus.util.GrafanaRetriever
com.worksap.morphling.raptor.prometheus.util.GrafanaRetriever$$Lambda$100/249263095
com.worksap.morphling.raptor.prometheus.util.GrafanaRetriever$$Lambda$101/1272573000
com.worksap.morphling.raptor.prometheus.util.GrafanaRetriever$$Lambda$103/2052620669
com.worksap.morphling.raptor.prometheus.util.GrafanaRetriever$$Lambda$104/2016857263
com.worksap.morphling.raptor.prometheus.util.GrafanaRetriever$$Lambda$105/150477639
com.worksap.morphling.raptor.prometheus.util.GrafanaRetriever$$Lambda$95/998648303
com.worksap.morphling.raptor.prometheus.util.GrafanaRetriever$$Lambda$96/1643514761
com.worksap.morphling.raptor.prometheus.util.GrafanaRetriever$$Lambda$97/1541363452
com.worksap.morphling.raptor.prometheus.util.GrafanaRetriever$$Lambda$99/965593054
com.worksap.morphling.raptor.prometheus.util.Helper
com.worksap.morphling.raptor.prometheus.util.Helper$$Lambda$107/655684250
com.worksap.morphling.raptor.prometheus.util.Helper$$Lambda$108/710513790
com.worksap.morphling.raptor.prometheus.util.Helper$$Lambda$109/2101155292
com.worksap.morphling.raptor.prometheus.util.Helper$$Lambda$110/1159217692
com.worksap.morphling.raptor.prometheus.util.Helper$DATA_STATE_ENUM
[Lcom.worksap.morphling.raptor.prometheus.util.Helper$DATA_STATE_ENUM;
com.worksap.morphling.raptor.prometheus.util.MetricNamesRetriever
com.worksap.morphling.raptor.prometheus.util.MetricNamesRetriever$$Lambda$62/108098318
com.worksap.morphling.raptor.prometheus.util.MetricNamesRetriever$$Lambda$64/494223044
com.worksap.morphling.raptor.prometheus.util.MetricNamesRetriever$$Lambda$69/1611594360
com.worksap.morphling.raptor.prometheus.util.MetricNamesRetriever$$Lambda$71/1420478353
com.worksap.morphling.raptor.prometheus.util.MetricNamesRetriever$$Lambda$74/229957558
com.worksap.morphling.raptor.prometheus.util.MetricNamesRetriever$$Lambda$75/1401065823
com.worksap.morphling.raptor.prometheus.util.MetricNamesRetriever$$Lambda$76/1564829023
com.worksap.morphling.raptor.prometheus.util.MetricNamesRetriever$$Lambda$81/1505306286
com.worksap.morphling.raptor.prometheus.util.MetricNamesRetriever$$Lambda$82/1351468942
com.worksap.morphling.raptor.prometheus.util.MetricNamesRetriever$$Lambda$83/1131710678
com.worksap.morphling.raptor.prometheus.util.MetricNamesRetriever$$Lambda$98/479975459
com.worksap.morphling.raptor.prometheus.util.RulesHelper
com.worksap.morphling.raptor.prometheus.util.StatusHelper
com.worksap.morphling.raptor.prometheus.util.StatusHelper$$Lambda$120/1874425577
com.worksap.morphling.raptor.prometheus.util.StatusHelper$$Lambda$121/277751872
com.worksap.morphling.raptor.prometheus.util.StatusHelper$$Lambda$122/1435874118
com.worksap.morphling.raptor.prometheus.util.StatusHelper$$Lambda$123/281344438
com.worksap.morphling.raptor.prometheus.vo.ConfigVo
com.worksap.morphling.raptor.prometheus.vo.ConfigVo$ConfigVoBuilder
com.worksap.morphling.raptor.prometheus.vo.EnvironmentVo
com.worksap.morphling.raptor.prometheus.vo.EnvironmentVo$EnvironmentVoBuilder
com.worksap.morphling.raptor.prometheus.vo.FileVo
com.worksap.morphling.raptor.prometheus.vo.FileVo$FileVoBuilder
com.worksap.morphling.raptor.prometheus.vo.MetricVo
com.worksap.morphling.raptor.prometheus.vo.MetricVo$MetricVoBuilder
com.worksap.morphling.raptor.prometheus.vo.StatusVo
com.worksap.morphling.raptor.prometheus.vo.StatusVo$StatusVoBuilder
io.prometheus.client.Collector
io.prometheus.client.Collector$Describable
io.prometheus.client.Collector$MetricFamilySamples
io.prometheus.client.Collector$Type
[Lio.prometheus.client.Collector$Type;
io.prometheus.client.CollectorRegistry
io.prometheus.client.CollectorRegistry$1
io.prometheus.client.Counter
io.prometheus.client.Counter$Builder
io.prometheus.client.Counter$Child
io.prometheus.client.CounterMetricFamily
io.prometheus.client.DoubleAdder
io.prometheus.client.Gauge
io.prometheus.client.Gauge$Builder
io.prometheus.client.Gauge$Child
io.prometheus.client.Gauge$TimeProvider
io.prometheus.client.GaugeMetricFamily
io.prometheus.client.SimpleCollector
io.prometheus.client.SimpleCollector$Builder
io.prometheus.client.Striped64
io.prometheus.client.Striped64$1
io.prometheus.client.Striped64$Cell
[Lio.prometheus.client.Striped64$Cell;
io.prometheus.client.Summary
io.prometheus.client.Summary$Builder
io.prometheus.client.SummaryMetricFamily
io.prometheus.client.spring.web.EnablePrometheusTiming
io.prometheus.client.spring.web.MethodTimer
io.prometheus.client.spring.web.PrometheusTimeMethod
Affect(row-cnt:181) cost in 264 ms.

@hengyunabc

@hengyunabc hengyunabc changed the title make it easier to locate the class from so many matched sort sc command ouput Oct 17, 2018
@hengyunabc hengyunabc added this to the 3.0.5 milestone Oct 17, 2018
@hengyunabc hengyunabc merged commit 03dcb8d into alibaba:master Oct 17, 2018
hengyunabc added a commit that referenced this pull request Oct 18, 2018
lzc-alioo pushed a commit to lzc-alioo/arthas that referenced this pull request May 22, 2020
lzc-alioo pushed a commit to lzc-alioo/arthas that referenced this pull request May 22, 2020
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.

3 participants