-
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
feat(metrics): add ability to use OTLP source #2949
Conversation
d7bb601
to
fcb9561
Compare
fcb9561
to
f07a1b4
Compare
exporters: | ||
- sumologic/default | ||
{{- if eq .Values.sumologic.metrics.sourceType "http" }} | ||
- sumologic/apiserver | ||
- sumologic/control_plane | ||
- sumologic/controller | ||
- sumologic/kubelet | ||
- sumologic/node | ||
- sumologic/scheduler | ||
- sumologic/state | ||
{{- end }} |
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.
Will that work fine (without any blacklisting and throttling due to metrics cardinality)?
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 believe so. And if not, I think I'd rather put a hold on this PR instead of reproducing the 8 source setup in otlp. But from what I know, we're either there, or will be very soon.
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.
In the meantime, can you review these changes on the assumption that this ok to do?
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, remaining changes looks fine for me
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.
This pull request contains invalid labels. Please remove all of the following labels: ['do-not-merge/hold']
f07a1b4
to
620fc03
Compare
611ace8
to
3140422
Compare
ee95d73
to
2693b9b
Compare
b42763e
to
a2df05d
Compare
a2df05d
to
fae8c2e
Compare
Add a setting for switching to the OTLP source for metrics.
The source is created for all users with setup enabled, and the setting only controls if we're sending data to it. It's intentionally one source vs the 8 with have for HTTP, as I believe the technical reasons for the latter are no longer valid.
In terms of implementation, parts of the metrics pipeline become conditional.
Checklist