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

[WIP][Feature] yarn application mode support prometheus #3215

Closed
wants to merge 9 commits into from

Conversation

ChengJie1053
Copy link
Member

@ChengJie1053 ChengJie1053 commented Oct 6, 2023

yarn application mode support prometheus

1.install prometheus and prometheus

2.Modify the streampark configuration
streampark.prometheus.enable: true
streampark.promgateway.hostUrl: http://ip:9091

See prometheus.md for more information

image

image

image

image

@ChengJie1053 ChengJie1053 changed the title [Feature] yarn application mode support prometheus [WIP][Feature] yarn application mode support prometheus Oct 8, 2023
@wolfboys wolfboys added feature/wip This feature is in WIP feature/accepted This feature request is accepted labels Oct 8, 2023
InternalConfigHolder.get(CommonConfig.STREAMPARK_PROMGATEWAY_HOST_URL)

if (
submitRequest.executionMode == FlinkExecutionMode.YARN_APPLICATION && enablePrometheus && StringUtils
Copy link
Member

Choose a reason for hiding this comment

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

Why is it only enabled in yarn application mode? Doesn't it work in other modes?

Copy link
Member Author

Choose a reason for hiding this comment

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

At that time, only yarn application mode was tested

@Trgree
Copy link

Trgree commented Feb 21, 2024

image It already supports Prometheus. Like this, you can write metrics to Prometheus.

@ChengJie1053
Copy link
Member Author

image It already supports Prometheus. Like this, you can write metrics to Prometheus.

Ok, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BACKEND feature/accepted This feature request is accepted feature/wip This feature is in WIP FLINK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants