Hello,
I use the instance metrics endpoint to extract metrics from Neo4j Aura, send them to Amazon CloudWatch, and visualize them in Grafana. I have questions regarding metrics aggregation in relation to time intervals. To formulate my questions precisely, I provide the following concrete examples:
• neo4j_aura_out_of_memory_errors_total{aggregation="SUM", instance_id="instance_id"}
This metric shows the sum of out-of-memory errors. What time interval does this sum cover? Is it the total number of errors that have occurred from the first metric scrape until the last one?
• neo4j_dbms_page_cache_usage_ratio{aggregation="MIN", instance_id="instance_id"}
What time interval does the MIN refer to? Is it the lowest ratio of the allocated page cache in use, calculated over the time range from the first metric scrape until the last one?
• neo4j_database_transaction_committed_total{aggregation="MAX", database="neo4j", instance_id="instance_id"}
What time interval does the MAX refer to? Is it the highest number of committed transactions within the time range from the first metric scrape until the last one?
• neo4j_dbms_page_cache_hit_ratio_per_minute{aggregation="AVG", instance_id="instance_id"}
Is this the average of all metric values from the first scrape until the last one?
Unfortunately, the Neo4j Aura documentation does not address these questions.
Thanks in advance for your help!