Skip to content

Metrics #551

Answered by lvca
gramian asked this question in Q&A
Oct 5, 2022 · 1 comment
Discussion options

You must be logged in to vote

We have our own profiler. You can automatically dump the metrics every X seconds by setting this at startup:

java ... -Darcadedb.dumpMetricsEvery=10

You can access the profile with Profiler.INSTANCE

Every embedded database instance collects statistics internally. You can access to them with:

Map<String, Object> dbStats = db.getStats();

Also, ArcadeDB Server provides JMX access to the profiler (remotely). This is the class, but it's just the beginning: https://github.com/ArcadeData/arcadedb/blob/aa5229a0dc9b0aa02ce4a1da2d36497d5b6e03d8/server/src/main/java/com/arcadedb/server/JMXServerMetrics.java.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gramian
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants