aerokube / moon-deploy

Moon 1.x one-command deployment configuration
https://aerokube.com/moon/latest
Apache License 2.0
39 stars 26 forks source link

Only "moon_browser_total" metric available in Prometheus #151

Open johnqa opened 2 years ago

johnqa commented 2 years ago

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

vania-pooh commented 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.

johnqa commented 2 years ago

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.

vania-pooh commented 2 years ago

This is all described here: https://aerokube.com/moon/latest/#monitoring-built-in-metrics

johnqa commented 2 years ago

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.

vania-pooh commented 2 years ago

@johnqa any details about what you did will certainly help us to resolve this.

johnqa commented 2 years ago

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.

aandryashin commented 1 year ago

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: @.***>