Skip to content

[Feature][Issue-2191][Issue-2215] Support external link #2331 #2375

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

Merged
merged 6 commits into from
Feb 28, 2023

Conversation

saLeox
Copy link
Contributor

@saLeox saLeox commented Feb 28, 2023

What changes were proposed in this pull request

Issue Number: close #2191 #2215

Brief change log

There should be a place to hold and display the useful external link (such as Job Metrics / Savepoint root path, etc) for each Flink Job.

This feature will allow user to customise their own external link, display it as a badge inside the Flink Application detail page, and jump to other page after clicking it.

For example, I am using Grafana, the link url format will be fixed in the following way:
https://grafana/{template_name}/flink-monitoring?var-JobId=var-JobId={job_id}

The value of place holder, job_id, can be fetched from existing meta data of Flink Job easily.

Outcome:
image

image

image

The links are bound with each Flink Job, and the place holders are replaced automatically with actual value.

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

Does this pull request potentially affect one of the following parts

  • Dependencies (does it add or upgrade a dependency): (no)

@saLeox saLeox force-pushed the support_external_link branch from 5a34466 to b9155ee Compare February 28, 2023 08:27
@wolfboys
Copy link
Member

cc @wangsizhu0504 PTAL. thx

Copy link
Member

@wolfboys wolfboys left a comment

Choose a reason for hiding this comment

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

LGTM

@wolfboys wolfboys merged commit 38eb26c into apache:dev Feb 28, 2023
@saLeox saLeox deleted the support_external_link branch July 3, 2023 09:42
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.

[Feature] Maintain external link under Setting module
4 participants