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

[Metrics] Optimize metric configs #2996

Merged
merged 1 commit into from
May 6, 2022

Conversation

zhongchun
Copy link
Contributor

What do these changes do?

The arguments of init_metrics(backend, port) method are inappropriate. Because port is a configuration of prometheus. It is not necessary for console and ray. It's better to change it to config and in this way we could easily add new metric backend.

Related issue number

Fixes #xxxx

Check code requirements

  • tests added / passed (if needed)
  • Ensure all linting tests pass, see here for how to run them

Copy link
Collaborator

@qinxuye qinxuye left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@hekaisheng hekaisheng left a comment

Choose a reason for hiding this comment

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

LGTM

@hekaisheng hekaisheng merged commit 263c841 into mars-project:master May 6, 2022
chaokunyang pushed a commit to chaokunyang/mars that referenced this pull request Jun 15, 2022
Merge branch cp-from-github-2996 of git@gitlab.alipay-inc.com:ray-project/mars.git into master
https://code.alipay.com/ray-project/mars/pull_requests/303?tab=diff

Signed-off-by: 慕白 <chaokun.yck@antgroup.com>


* Optimize metric configs (mars-project#2996)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants