SBX-Added servicemonitor and services to scrape alastria metrics correctly#1648
SBX-Added servicemonitor and services to scrape alastria metrics correctly#1648alejandro-nieto-git wants to merge 3 commits into
Conversation
|
Why do you think that Helm templates will work here? |
648cdf0 to
8039372
Compare
Thank you! just wanted to keep it as abstract as possible and did not realise I could not put the templates there. I substituted all the values and now it should be ready to go. |
|
ok, but this will still not work, it's not how argo/helm works here at all :-) On the other hand, the files you want to put in |
The thing is that we don't want to monitor an internal application deployed with a helm chart since the blockchain nodes are completely decentralised, so there is no application to act as an "umbrella" to hold and fill the templates. This is aiming to monitor alastria t and b network health so therefore it needs to monitor those external nodes. |
|
In local I used the kube-prometheus-stack helm chart with an umbrella chart to add the templates to it and it works but I don't think it is appropriate to do it here. |
I suppose that adding the new needed yaml files to: should work, and be the best approach but I'm open to other alternatives. |
…s to the argocd application to include new manifests for alastria monitoring.
|
just uploaded what I was talking about @groundnuty |
| @@ -22,7 +22,7 @@ spec: | |||
| targetRevision: feature/monitoring | |||
| path: ionos_sbx/kube-prometheus-stack | |||
| directory: | |||
There was a problem hiding this comment.
Please squash the commits.
|
This PR was pending to be refactored to be aligned to a more standard way suggested by @groundnuty. Since this is aiming to monitor nodes of the alastria network just to see that the network is working properly directly from DOME Grafana but it is also in Alastria Grafana, and given the dates we are in we either go ahead or drop this PR for now and keep this in a separate branch. We can also go for the refactor if we want to have this feature added "by the book" but again, maybe given the dates the other approaches can be better @bialask-daiteap. Let me hear your thoughts and we will act accordingly. |
Added service monitor, services and endpoints in order to scrape metrics correctly and populate alastria t network and b network grafana dashboards. I think it should work as is but please take a look and correct me if some file should go to another folder in order for ArgoCD to pick it up correctly @groundnuty
Regards.