-
Notifications
You must be signed in to change notification settings - Fork 16.7k
prometheus service annotations for elastisearch-exporter #3842
prometheus service annotations for elastisearch-exporter #3842
Conversation
/assign @sameersbn New to this repo, let me know what I can do to allow this to be merged, or whatever changes would be preferable. |
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.
Thanks for the PR.
@@ -7,6 +7,10 @@ metadata: | |||
app: {{ template "elasticsearch-exporter.name" . }} | |||
release: "{{ .Release.Name }}" | |||
heritage: "{{ .Release.Service }}" | |||
annotations: |
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.
I'd suggest you rather make annotations configurable in general. If you use the prometheus-operator you don't need them.
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.
updated, copied a pattern found in other charts.
/ok-to-test |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Stelminator, unguiculus The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* prometheus service annotations for elastisearch-exporter * more canonical service annotation definition
* prometheus service annotations for elastisearch-exporter * more canonical service annotation definition Signed-off-by: voron <av@arilot.com>
Adds annotations so that Prometheus running within Kubernetes will pick up the exposed metrics.