-
Notifications
You must be signed in to change notification settings - Fork 1
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
Most of the metrics are to 0.0 #3
Comments
Hello @damien-reyre , there are a couple of things which might be wrong with the setup. The workflow of enabling exposed metrics to the outside is as follows:
The documentation at https://memgraph.com/docs/memgraph/reference-guide/exposing-system-metrics provides you with the steps of how to enable exposing metrics. After doing these steps, I was successfully getting the JSON response of the metrics from Postman. |
@damien-reyre An additional question, which metrics do you not expect to be zero, but were zero when you got the metrics response? |
Hello @Josipmrden, My mistake was about the enterprise license. I didn't set up. Thanks. |
Hello @Josipmrden, I got an enterprise license. I configured the memgraph with docker compose:
There is no firewall in this dev environment. Nothing in the logs from memgraph. I think I missed something to configure. |
Do you have any idea? @Josipmrden |
hello @damien-reyre , have you restarted Memgraph after configuring the enterprise licence? |
@Josipmrden Yes. It seems I can't get the metrics from the memgraph container. |
Finally, the parameters in commands seems not working in my case from docker-compose.yaml. So I passed the memgraph.conf in volume and set This time with curl, the port is well open, but I have nothing, no metrics, no JSON. When I'm looking to the logs: That's possible to get this symptom with an invalid license or my organization's name is wrong? |
Hello,
Thanks for adding the memgraph-exporter. It can be very useful.
I just noticed, that practically all my metrics are zero except for a few.
memgraph is installed in docker-compose.
1.7-memgraph-2.8-dev
I passed the two commands for adding the metrics:
--metrics-address
--metrics-port
For the moment, I just use the python script.
The metrics available:
The metrics are zero:
Until the end, all metrics are zero.
Did I forget something for having all the metrics?
Thanks
The text was updated successfully, but these errors were encountered: