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

promtail: Add ServiceMonitor and headless Service #856

Merged
merged 1 commit into from Aug 7, 2019

Conversation

martinbaillie
Copy link
Contributor

What this PR does / why we need it:

Adds a Prometheus operator ServiceMonitor object (which necessitated a headless Service object for endpoints). These are optional objects guarded by serviceMonitor.enabled.

Special notes for your reviewer:

Completes Prometheus operator support started in #824.

Chart minor version also receives a bump.

These are optional objects guarded by `serviceMonitor.enabled`.

Chart minor version also receives a bump.
@CLAassistant
Copy link

CLAassistant commented Aug 7, 2019

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM

@cyriltovena cyriltovena merged commit 735a587 into grafana:master Aug 7, 2019
@r3kzi
Copy link

r3kzi commented Aug 15, 2019

Maybe you need sometimes a Service object regardless of ServiceMonitor and Prometheus Scrape-Endpoints, e.g. when using Istio.

Can we implement Service objects that are not bound/dependent to ServiceMonitor? What do you think?

@pranas
Copy link

pranas commented Oct 9, 2020

Was the service added solely to enable ServiceMonitor? Is there a reason it is preferred over PodMonitor setup?

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.

None yet

5 participants