Skip to content

Rename metric and indicator to metrics.#2643

Merged
wu-sheng merged 3 commits intoapache:masterfrom
peng-yongsheng:feature/rename
May 10, 2019
Merged

Rename metric and indicator to metrics.#2643
wu-sheng merged 3 commits intoapache:masterfrom
peng-yongsheng:feature/rename

Conversation

@peng-yongsheng
Copy link
Member

If we say our project is a observability system. It contains 3 core concept: Logging, Metrics, Tracing. So, we should unify the nouns of metrics.

@peng-yongsheng peng-yongsheng added documentation Provide documents related issue or pull request only. backend OAP backend related. labels May 9, 2019
@peng-yongsheng peng-yongsheng added this to the 6.2.0 milestone May 9, 2019
@wu-sheng
Copy link
Member

wu-sheng commented May 9, 2019

@kezhenxu94 This pr includes concept updates, a little related to the document.


public class Indicators {
private static Map<String, Class<? extends Indicator>> REGISTER = new HashMap<>();
public class Metrics {
Copy link
Member

Choose a reason for hiding this comment

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

Could we change this to MetricsHolder? I don't want to use full name below.

Copy link
Member

@wu-sheng wu-sheng left a comment

Choose a reason for hiding this comment

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

Most LGTM, wait CI passed.

@kezhenxu94
Copy link
Member

@kezhenxu94 This pr includes concept updates, a little related to the document.

SkyAPM/document-cn-translation-of-skywalking/issues/23

@wu-sheng
Copy link
Member

wu-sheng commented May 9, 2019

@flycash Please notice, NamespacedPodListWatchTest test has been deleted in this pull request, because it triggers k8s java client bug, kubernetes-client/java#460

We could add this bug after our k8s client upgrade later.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 16.361% when pulling 7339d1e on peng-yongsheng:feature/rename into c46554a on apache:master.

@wu-sheng wu-sheng merged commit ed78dab into apache:master May 10, 2019
@peng-yongsheng peng-yongsheng deleted the feature/rename branch May 10, 2019 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend OAP backend related. documentation Provide documents related issue or pull request only.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments