Skip to content

[HUDI-5774] Fix prometheus configs for metadata table and support metric labels#7933

Merged
codope merged 9 commits intoapache:masterfrom
lokeshj1703:prometheus-labels
Feb 20, 2023
Merged

[HUDI-5774] Fix prometheus configs for metadata table and support metric labels#7933
codope merged 9 commits intoapache:masterfrom
lokeshj1703:prometheus-labels

Conversation

@lokeshj1703
Copy link
Collaborator

@lokeshj1703 lokeshj1703 commented Feb 13, 2023

Change Logs

Adds support for adding labels to prometheus metrics and fixes the prometheus configs used for metadata table.

Impact

NA

Risk level (write none, low medium or high below)

Low

Documentation Update

NA

Contributor's checklist

  • Read through contributor's guide
  • Change Logs and Impact were stated clearly
  • Adequate tests were added if applicable
  • CI passed

@lokeshj1703 lokeshj1703 changed the title Add labels to prometheus Support for adding labels to prometheus metrics Feb 13, 2023
@lokeshj1703 lokeshj1703 changed the title Support for adding labels to prometheus metrics [HUDI-5774] Support for adding labels to prometheus metrics Feb 13, 2023
@lokeshj1703 lokeshj1703 changed the title [HUDI-5774] Support for adding labels to prometheus metrics [HUDI-5774] Fix prometheus configs for metadata table and support metric labels Feb 14, 2023
@lokeshj1703 lokeshj1703 force-pushed the prometheus-labels branch 2 times, most recently from 6f36de2 to 4a9306d Compare February 16, 2023 12:36
.withPushgatewayReportPeriodInSeconds(String.valueOf(writeConfig.getPushGatewayReportPeriodSeconds()))
.withPushgatewayHostName(writeConfig.getPushGatewayHost())
.withPushgatewayPortNum(writeConfig.getPushGatewayPort()).build();
builder.withProps(prometheusConfig.getProps());
Copy link
Member

Choose a reason for hiding this comment

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

can use builder.withProperties

@codope codope self-assigned this Feb 16, 2023
Copy link
Member

@codope codope left a comment

Choose a reason for hiding this comment

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

Thanks for adding UT. Looks good to me now. Can you please rebase? We can land once the CI is green.

@hudi-bot
Copy link
Collaborator

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@codope codope merged commit 0c84482 into apache:master Feb 20, 2023
fengjian428 pushed a commit to fengjian428/hudi that referenced this pull request Apr 5, 2023
…ric labels (apache#7933)

Adds support for adding labels to prometheus metrics and fixes the prometheus configs used for metadata table.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants