Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
10-03-2018 10:12 AM
Hi, my testing server running out of space because metrics folder is growing big. I can't see any option to disable the metrics in the neo4j.conf file.
Metrics folder ( /var/lib/neo4j/metrics) around 4 gb, how to reduce or disable it!
Version: 3.4.0
Edition: Enterprise
10-03-2018 12:23 PM
Set metrics.enabled=false
in your neo4j.conf
, see https://neo4j.com/docs/operations-manual/current/reference/configuration-settings/#config_metrics.en...
12-25-2018 02:17 AM
@stefan.armbruster Could you give us some advice about which metrics are most critical and how to enable only those? I am using a Enterprise 3.4 from an image Neo4j gave me, and I have run out of space because of all of the metrics. But if this is the default that you shipped, then I'm assuming that there's some use to having them. I don't want to disable all of them!
12-25-2018 07:53 AM
Choosing the metrics to be used is heavily depending on your demands.
If your main issue is running out of disc how about not writing metrics to csv files and instead streaming them directly to your prometheus, graphana ( or whatever you're using) ?
12-26-2018 05:55 AM
Good to know! If I'm not using anything like that yet, is there any benefit to generating the metrics? I mean, should I just disable them for now and delete the files?
12-26-2018 11:19 AM
if you don't need and don't use them then just disable metrics. Otherwise you'll waste space for nothing.
All the sessions of the conference are now available online