-
Notifications
You must be signed in to change notification settings - Fork 536
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
Missing controlplane metrics: opentelemetry-kube-stack-0.2.1 #1372
Comments
@suresh-target i think this issue is separate from #1371 but want to confirm. You are indeed correct that you will need to run a separate TA instance if your strategy is per-node, I don't think that's something we would support as part of this chart, however. |
@jaronoff97 Yes, it is separate from #1371. |
@jaronoff97 Update: I have fixed this problem by adding one more collector that has a TA instance which is running in statefulset mode. Now I noticed that the field The plan is to enable TA to use a label to lookup a specific group of serviceMonitor instances, for example Add a custom label to serviceMonitor
Then use that label in TA configuration to lookup for a serviceMonitor that has this label
|
Submitted a PR to add additional label #1382 |
@suresh-target PR is merged, i think we should be able to close this. Please let me know if you have more issues! thank you for your contribution 🙇 |
It is observed that the metrics of controlplane components such as apiserver, etcd are missing when we use the TargetAllocator with the help of ServiceMonitor CRDs
helm chart - opentelemetry-kube-stack-0.2.1
values.yaml configuration
Looks like we may need a separate TargetAllocator instance to scrape controlplane metrics as the per-node strategy currently ignores targets without a Node, like control plane components.
Notes:
Additional observations
The following curl command can be executed to confirm that it returns empty target list
The text was updated successfully, but these errors were encountered: