Skip to content

Commit b36adad

Browse files
committed
Add duration to top example
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 5da54f7 commit b36adad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/openfaas-pro/builder.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,10 +249,13 @@ A HTTP client has three tasks to perform:
249249
"v: 2022-06-23T09:10:13Z exporting to image 5.18s"
250250
],
251251
"image": "ttl.sh/openfaas-image:1h",
252-
"status": "success"
252+
"status": "success",
253+
"duration": 0.843
253254
}
254255
```
255256

257+
The `duration` field is given in seconds and is the total time taken to build the image including pulling base layers, exporting the image, and pushing it to the registry.
258+
256259
There are several examples available of how to call the Function Builder's API via different programming languages: [openfaas-function-builder-api-examples](https://github.com/openfaas/function-builder-examples)
257260

258261
You should be able to translate the example given with curl into any programming language, but if you need additional support, feel free to [reach out to us](https://openfaas.com/support).

0 commit comments

Comments
 (0)