-
Notifications
You must be signed in to change notification settings - Fork 183
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
Expose http sources for metrics in values.yaml #672
Conversation
edcb57d
to
57d0d60
Compare
6aab75c
to
fbeab9e
Compare
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.
Overall I like this but as discussed some UX changes are needed.
5968a97
to
0a6ceb3
Compare
I updated the PR with more user-friendly configuration, but this is highly breaking change for non-helm users |
baa1727
to
bab6432
Compare
Here is example of adding new source to sumologic and fluentd:
|
Unfortunately if source value is changed, the new source is created via terraform and old one is not cleaned up I suppose persistence setup job could fix it |
writeRelabelConfigs: | ||
- action: keep | ||
regex: coredns | ||
sourceLabels: [job] | ||
- # etcd server | ||
url: http://$(CHART).$(NAMESPACE).svc.cluster.local:9888/prometheus.metrics.control-plane | ||
url: http://$(CHART).$(NAMESPACE).svc.cluster.local:9888/prometheus.metrics.control-plane.kube-etcd |
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.
Fixes prometheus issue. It has been saying that configuration for http://$(CHART).$(NAMESPACE).svc.cluster.local:9888/prometheus.metrics.control-plane
is duplicated
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.
The only thing i find misleading with this setup is that we collect from other control plane components and do not prefix them with control-plane. Any reason to just remove the control-plane part?
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.
Yes, the fluentd configuration will be more complex: either more complex regex for tags or output section per endpoint
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.
How many metrics is each of these producing? We need to be conscious of blacklisting and if we are close to the limit, we should distribute across multiiple HTTP sources to prevent that.
f96dadf
to
3e52c14
Compare
Description
Expose http sources in values.yaml
ToDO
I decided to not expose logs and events so far
Testing performed