-
Notifications
You must be signed in to change notification settings - Fork 537
Open
Labels
area/pyroscopeIssues/PRs primarly affecting `pyroscope.` componentsIssues/PRs primarly affecting `pyroscope.` componentsc/pyroscope.ebpfproposalA proposal for new functionality.A proposal for new functionality.
Description
Background
I am deploying Alloy as a DaemonSet with the pyroscope.ebpf component with discovery.kubernetes targets matching a specific label, like
discovery.kubernetes "k8s_ebpf_pods" {
role = "pod"
selectors {
role = "pod"
label = "pyroscope.io/ebpf=true"
}
}
When this label is not set on any pods of the node where Alloy is deployed, the targets are empty but we still have the pyroscope.ebpf component running and using resources for nothing.
Proposal
A way to enable pyroscope.ebpf component only if it has available targets, I would be happy to look into it if you think this would be an interesting features to be handled on Alloy side
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/pyroscopeIssues/PRs primarly affecting `pyroscope.` componentsIssues/PRs primarly affecting `pyroscope.` componentsc/pyroscope.ebpfproposalA proposal for new functionality.A proposal for new functionality.
Type
Projects
Status
Incoming