-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Implement prometheus receiver target allocator #12586
Implement prometheus receiver target allocator #12586
Conversation
# Conflicts: # CHANGELOG.md # exporter/prometheusexporter/go.sum # go.sum # processor/spanmetricsprocessor/go.sum # receiver/prometheusreceiver/go.mod # receiver/prometheusreceiver/go.sum # testbed/go.sum
# Conflicts: # CHANGELOG.md # processor/spanmetricsprocessor/go.sum # receiver/prometheusreceiver/go.mod
…config and target_allocator is missing
# Conflicts: # cmd/configschema/go.mod # cmd/configschema/go.sum # go.mod # go.sum
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 the approach here. Left one question following up on @dashpole's thread. One question: How could we prevent some jobs from getting target-allocated with this configuration? The use case is for a collector doing self-monitoring on it's prometheus port 0.0.0.0:8888 where if that gets target allocated only one collector is monitored. The workaround is to just have a service and use a service monitor, but i imagine some people won't want that.
# Conflicts: # cmd/configschema/go.mod # cmd/configschema/go.sum # go.mod # go.sum # processor/spanmetricsprocessor/go.sum
…covery using the target allocator
I am so sorry that I missed this, can you rebase the PR and will merge this. |
@bogdandrutu no worries. I have cleaned up the errors which come from the modified receiver, but there seem still to be issues with the rabbitmqreceiver |
@bogdandrutu The issues have been fixed. you can now merge. |
Description:
Adding the capability to dynamically request jobs from a TargetAllocator instance ( OpenTelemetryOperator ) or compatible API.
Supersedes:
Link to tracking Issue: #7944
Testing:
Added unit test to confirm that the correct jobs have been added.
Documentation:
Documentation has been added to the README of
prometheusreceiver
cc: @jaronoff97 @Aneurysm9