Skip to content

Commit e5f9628

Browse files
authoredMar 22, 2025··
Merge pull request #833 from FgForrest/160-ability-to-define-the-order-constraint-for-ordering-groups-in-1n-ordering
Ability to define the order constraint for ordering groups in 1:N ordering (#160)
2 parents 576c47f + 16a29cb commit e5f9628

File tree

152 files changed

+16112
-4748
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+16112
-4748
lines changed
 

‎documentation/user/en/operate/reference/metrics.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
<dd><strong>GraphQL operation</strong>: The name of the operation specified in the GQL request.</dd>
3434
<dt>prefetched</dt>
3535
<dd><strong>Prefetched vs. non-prefetched query</strong>: Whether or not the query used a prefetch plan. Prefetch plan optimistically fetches queried entities in advance and executes directly on them (without accessing the indexes).</dd>
36+
<dt>probeResult</dt>
37+
<dd><strong>Probe result</strong>: The result of the readiness probe (ok, timeout, error).</dd>
3638
<dt>procedureName</dt>
3739
<dd><strong>Procedure name</strong>: Name of the gRPC procedure that was called (the method name).</dd>
3840
<dt>prospective</dt>
@@ -41,6 +43,8 @@ Client view is the duration viewed from the HTTP client side affected by timeout
4143
duration of the probe.</dd>
4244
<dt>recordType</dt>
4345
<dd><strong>Record type</strong>: Type of records that changed in the OffsetIndex.</dd>
46+
<dt>requestResult</dt>
47+
<dd><strong>Request result</strong>: Simplified result of the request (success, error, cancelled).</dd>
4448
<dt>resolution</dt>
4549
<dd><strong>Transaction resolution</strong>: The resolution of the transaction (either commit or rollback).</dd>
4650
<dt>responseStatus</dt>
@@ -49,10 +53,6 @@ duration of the probe.</dd>
4953
<dd><strong>REST instance type</strong>: Domain of the REST API used in connection with this event/metric: SYSTEM, or CATALOG</dd>
5054
<dt>restOperationType</dt>
5155
<dd><strong>REST operation type</strong>: The type of operation that was executed. One of: QUERY, MUTATION.</dd>
52-
<dt>result</dt>
53-
<dd><strong>Request result</strong>: Simplified result of the request (success, error, cancelled).</dd>
54-
<dt>result</dt>
55-
<dd><strong>Result</strong>: The result of the readiness probe (ok, timeout, error).</dd>
5656
<dt>serviceName</dt>
5757
<dd><strong>Service name</strong>: Name of the gRPC service that was called (the name of the Java class).</dd>
5858
<dt>stage</dt>
@@ -66,11 +66,11 @@ duration of the probe.</dd>
6666

6767
<dl>
6868
<dt><code>io_evitadb_external_api_readiness_duration_milliseconds</code> (HISTOGRAM)</dt>
69-
<dd>Readiness probe duration<br/><br/><strong>Labels:</strong> <Term>api</Term>, <Term>prospective</Term>, <Term>result</Term><br/></dd>
69+
<dd>Readiness probe duration<br/><br/><strong>Labels:</strong> <Term>api</Term>, <Term>probeResult</Term>, <Term>prospective</Term><br/></dd>
7070
<dt><code>io_evitadb_external_api_readiness_total</code> (COUNTER)</dt>
71-
<dd>Readiness probe invoked total<br/><br/><strong>Labels:</strong> <Term>api</Term>, <Term>prospective</Term>, <Term>result</Term><br/></dd>
71+
<dd>Readiness probe invoked total<br/><br/><strong>Labels:</strong> <Term>api</Term>, <Term>probeResult</Term>, <Term>prospective</Term><br/></dd>
7272
<dt><code>io_evitadb_external_api_request_total</code> (COUNTER)</dt>
73-
<dd>Requests invoked total<br/><br/><strong>Labels:</strong> <Term>api</Term>, <Term>httpStatusCode</Term>, <Term>result</Term><br/></dd>
73+
<dd>Requests invoked total<br/><br/><strong>Labels:</strong> <Term>api</Term>, <Term>httpStatusCode</Term>, <Term>requestResult</Term><br/></dd>
7474
</dl>
7575

7676
#### API / GraphQL / Instance / Schema

‎documentation/user/en/query/ordering/examples/reference/reference-attribute-natural-hierarchy.evitaql

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ query(
99
orderBy(
1010
referenceProperty(
1111
"categories",
12+
traverseByEntityProperty(
13+
BREADTH_FIRST,
14+
entityPrimaryKeyNatural(ASC)
15+
),
1216
attributeNatural("orderInCategory", ASC)
1317
)
1418
),

0 commit comments

Comments
 (0)
Please sign in to comment.