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

feat: add monitoring.portName in values.yaml #407

Merged
merged 3 commits into from
Dec 11, 2023

Conversation

travis-cook-sfdc
Copy link
Contributor

@travis-cook-sfdc travis-cook-sfdc commented Dec 11, 2023

Add support for customizing the portName for monitoring. It is currently hardcoded to jmx. In our setup, the prometheus scraper is looking for ports that are called prometheus. This change allows this value to be customized to any value that is needed for a specific environment. If no value is provided, it remains jmx.

Checklist

  • The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
  • Links to related issues (if applicable)
  • Tests for the changes have been added/updated (if applicable)
  • Docs related to the changes have been added/updated (if applicable)

Add support for customizing the `portName` for monitoring.  It is currently hardcoded
to `jmx`.  In our setup, the prometheus scraper is looking for ports that are called
`prometheus`.  This change allows this value to be customized to any value that is
needed for a specific environment.  If no value is provided, it remains `jmx`.
@@ -18,105 +18,106 @@ helm install datahub datahub/datahub --values <<path-to-values-file>>

## Chart Values

| Key | Type | Default | Description |
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry for the large diff here. My IDE lined up the pipes on the table so that it's more readable in a text editor. I opted to leave this in but can undo if that's preferable

| global.datahub_analytics_enabled | boolean | true | Enable datahub usage analytics |
| global.datahub.appVersion | string | `"1.0"` | App version for annotation |
| global.datahub.gms.port | string | `"8080"` | Port of GMS service |
| global.datahub.monitoring.portName | string | `jmx` | Name of Kube port for monitoring |
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this line is new

@david-leifker
Copy link
Contributor

LGTM! Thanks!

@david-leifker david-leifker merged commit b969ce1 into acryldata:master Dec 11, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants