-
Notifications
You must be signed in to change notification settings - Fork 519
[O11y] [Couchbase] Make sync-gateway host optional #6404
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
[O11y] [Couchbase] Make sync-gateway host optional #6404
Conversation
🌐 Coverage report
|
packages/couchbase/changelog.yml
Outdated
| changes: | ||
| - description: Make sync-gateway host optional. | ||
| type: bugfix | ||
| link: https://github.com/elastic/integrations/pull/6404 # FIXME Replace with the real PR link |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove the comment added in the link ?
packages/couchbase/manifest.yml
Outdated
| show_user: false | ||
| - name: host_sync_gateway | ||
| type: text | ||
| title: Hosts for Sync Gateway prometheus exporter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the host-config is optional at base level, then there is a possibility that user may enable the sync-gateway and fail to provide config inputs. To avoid this the config should be moved inside the policy template inputs section as suggested below and the required flag should be turned on. required:true
| title: Hosts for Sync Gateway prometheus exporter | |
| policy_templates: | |
| inputs: | |
| - type: prometheus/metrics | |
| title: Hosts for Sync Gateway prometheus exporter |
|
PR title needs a minor change. I've mentioned the reason in 2-3 PRs so I'd just put the link here: #6333 (comment) The changelog entry is fine. PR title and changelog entry should ideally be consistent so that the commit tree and the changelog make more sense and even looks standardized. |
harnish-crest-data
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
muthu-mps
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
Package couchbase - 0.15.1 containing this change is available at https://epr.elastic.co/search?package=couchbase |
* Making sync-gateway host optional * Update changelog entry * address review comments * Update changelog
What does this PR do?
Making the Sync gateway parameter optional, so user won't be forced to configure the Sync gateway host parameter if they are not using it.
Checklist
changelog.ymlfile.Author's Checklist
Related issues