Skip to content

KNOX-2855:Added Hbase UI proxying for prometheus end points#704

Merged
smolnar82 merged 1 commit intoapache:masterfrom
vaijosh:KNOX-2855
Dec 19, 2022
Merged

KNOX-2855:Added Hbase UI proxying for prometheus end points#704
smolnar82 merged 1 commit intoapache:masterfrom
vaijosh:KNOX-2855

Conversation

@vaijosh
Copy link
Contributor

@vaijosh vaijosh commented Dec 16, 2022

(It is very important that you created an Apache Knox JIRA for this change and that the PR title/commit message includes the Apache Knox JIRA ID!)

What changes were proposed in this pull request?

In HBASE-20904 we added support for /prometheus endpoints under Hbase WebUI.
So in this PR added configurations to make sure that /prometheus endpoints works fine through the proxy.

How was this patch tested?

Copied the patched files "rewrite.xml" and "service.xml" into knox directory and restarted the knox. When opened the Hbase WebUI, the /prometheus endpoint started working as expected. Earlier it used to give 404 error without proxying configurations.

(Please explain how this patch was tested. For instance: running automated unit/integration tests, manual tests. Please write down your test steps as detailed as possible)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)

Please review Knox Contributing Process before opening a pull request.

Copy link
Contributor

@smolnar82 smolnar82 left a comment

Choose a reason for hiding this comment

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

LGTM

@smolnar82 smolnar82 merged commit 2227873 into apache:master Dec 19, 2022
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