|
9 | 9 |
|
10 | 10 | # Timing metrics
|
11 | 11 | PLANNING_TIME = Metric(
|
12 |
| - "neo4j_query_planning_time_ms", "Time taken to plan the Neo4j query.", accumulator=True, |
| 12 | + "neo4j_query_planning_time_ms", |
| 13 | + "Time taken to plan the Neo4j query.", |
| 14 | + accumulator=True, |
13 | 15 | )
|
14 | 16 | PROCESSING_TIME = Metric(
|
15 |
| - "neo4j_query_processing_time_ms", "Time taken to execute the Neo4j query.", accumulator=True, |
| 17 | + "neo4j_query_processing_time_ms", |
| 18 | + "Time taken to execute the Neo4j query.", |
| 19 | + accumulator=True, |
16 | 20 | )
|
17 | 21 | TOTAL_TIME = Metric(
|
18 |
| - "neo4j_query_total_time_ms", "Total time taken to execute the Neo4j query.", accumulator=True, |
| 22 | + "neo4j_query_total_time_ms", |
| 23 | + "Total time taken to execute the Neo4j query.", |
| 24 | + accumulator=True, |
19 | 25 | )
|
20 | 26 | APOC_TIME = Metric(
|
21 |
| - "neo4j_query_apoc_time_ms", "Time taken to execute the Neo4j query using APOC.", accumulator=True, |
| 27 | + "neo4j_query_apoc_time_ms", |
| 28 | + "Time taken to execute the Neo4j query using APOC.", |
| 29 | + accumulator=True, |
22 | 30 | )
|
23 | 31 |
|
24 | 32 | # Write metrics
|
|
80 | 88 |
|
81 | 89 | # APOC specific metrics
|
82 | 90 | WAS_TERMINATED = Metric(
|
83 |
| - "neo4j_query_was_terminated", "Whether the Neo4j query was terminated.", accumulator=True, |
| 91 | + "neo4j_query_was_terminated", |
| 92 | + "Whether the Neo4j query was terminated.", |
| 93 | + accumulator=True, |
84 | 94 | )
|
85 | 95 | RETRIES = Metric(
|
86 | 96 | "neo4j_query_retries", "Number of retries in the Neo4j query.", accumulator=True
|
|
0 commit comments