Perform a benchmark on a graph.
GET/report/benchmark/:benchmark/graph/:graph_id
Perform a benchmark with the given identifier on a graph with a given identifier.
Request​
Path Parameters
The identifier of the graph
The name of the benchmark to perform
Query Parameters
Comma separated list of account ids to include in the benchmark. If no value is given, all accounts are included.
Possible values: [run
, load
]
Default value: run
The action to perform. You can either run (create) or load the benchmark. Loading the benchmark requires, that a benchmark has been synchronized to the database before. In case the resources haven't changed since the last synchronization, the result is the same, but the load action is much faster.
Responses​
- 200
The checks result.
- application/ndjson
- application/json
- Schema
- Example (from schema)
Schema
Array [
- NodeInGraph
- Edge
]
oneOf
The identifier of this node.
reported
object
The kind of this node.
desired
object
metadata
object
The id of node to start from
The id of the node to go to
Possible values: [default
, delete
]
The type of this edge
[
{
"type": "node",
"id": "id-in-graph",
"reported": {
"kind": "test.person",
"name": "Batman",
"city": "Gotham"
},
"desired": {
"clean": true
},
"metadata": {
"version": 1
}
},
{
"type": "edge",
"from": "node_id_of_a_in_graph",
"to": "node_id_of_b_in_graph",
"edge_type": "default"
}
]
- Schema
- Example (from schema)
Schema
Array [
- NodeInGraph
- Edge
]
oneOf
The identifier of this node.
reported
object
The kind of this node.
desired
object
metadata
object
The id of node to start from
The id of the node to go to
Possible values: [default
, delete
]
The type of this edge
[
{
"type": "node",
"id": "id-in-graph",
"reported": {
"kind": "test.person",
"name": "Batman",
"city": "Gotham"
},
"desired": {
"clean": true
},
"metadata": {
"version": 1
}
},
{
"type": "edge",
"from": "node_id_of_a_in_graph",
"to": "node_id_of_b_in_graph",
"edge_type": "default"
}
]