Open johnqa opened 2 years ago
@johnqa moon-monitor
is not needed anymore in Moon 2. Metrics are served by moon
container itself on port 4444. There is nothing about moon-monitor
in Moon 2 docs.
Well indeed there is nothing on Moon 2 docs about that, but I'm afraid that the little documentation on the subject is not enough. For me monitoring is not working as no metrics are sent to Prometheus.
This is all described here: https://aerokube.com/moon/latest/#monitoring-built-in-metrics
I am very sorry, but what is described there is not working for me. It implies that once having prometheus and moon working, metrics will be visible.
This is clearly not the case for me as I cannot see anything from what is described there.
@johnqa any details about what you did will certainly help us to resolve this.
I have a Rancher cluster where Prometheus is running. I have installed moon2 using the chart, and have an ingress pointing to https://moondnsname/metrics.
I do not know what further configuration should I do in order to get metrics discovered by Prometheus.
May be you need to service monitor to your prometheus? Please please see prometheus docs how to add new metrics exporter, or consult with your devops engineers.
чт, 31 мар. 2022 г., 12:47 johnqa @.***>:
I have a Rancher cluster where Prometheus is running. I have installed moon2 using the chart, and have an ingress pointing to https://moondnsname/metrics.
I do not know what further configuration should I do in order to get metrics discovered by Prometheus.
— Reply to this email directly, view it on GitHub https://github.com/aerokube/moon-deploy/issues/151#issuecomment-1084342102, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKY23MHDHBHYRTA3P3IV7LVCVYCVANCNFSM5RHHPL5A . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hi,
I deployed moon2 using the helm chart from aerokube repo and also applied moon-monitor.yaml from this repo.
When doing https://moon_url/metrics I see a lot of metrics, but in Prometheus I can only see moon_browser_total, which also gives me a value of 6 that makes no sense to me.
Is there a way to get all metrics in Prometheus?
Thank you