Skip to content
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

Only "moon_browser_total" metric available in Prometheus #151

Open
johnqa opened this issue Mar 21, 2022 · 7 comments
Open

Only "moon_browser_total" metric available in Prometheus #151

johnqa opened this issue Mar 21, 2022 · 7 comments

Comments

@johnqa
Copy link

johnqa commented Mar 21, 2022

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
Copy link
Member

vania-pooh commented Mar 21, 2022

@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
Copy link
Author

johnqa commented Mar 23, 2022

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
Copy link
Member

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

@johnqa
Copy link
Author

johnqa commented Mar 30, 2022

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
Copy link
Member

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

@johnqa
Copy link
Author

johnqa commented Mar 31, 2022

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
Copy link
Member

aandryashin commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants