From 4ba638ad0debcb68bdd3d96eab8add6024a05d87 Mon Sep 17 00:00:00 2001 From: Armin Ruech Date: Mon, 15 Jun 2020 20:15:02 +0200 Subject: [PATCH] Add span attribute to indicate cold starts of Function as a Service executions (#650) * Add `faas.coldstart` attribute * Update changelog --- specification/trace/semantic_conventions/faas.md | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/trace/semantic_conventions/faas.md b/specification/trace/semantic_conventions/faas.md index 6bf2e6777..11390868b 100644 --- a/specification/trace/semantic_conventions/faas.md +++ b/specification/trace/semantic_conventions/faas.md @@ -27,6 +27,7 @@ If Spans following this convention are produced, a Resource of type `faas` MUST |---|---|--| | `faas.trigger` | Type of the trigger on which the function is executed.
It SHOULD be one of the following strings: "datasource", "http", "pubsub", "timer", or "other". | Yes | | `faas.execution` | String containing the execution id of the function. E.g. `af9d5aa4-a685-4c5f-a22b-444f80b3cc28` | No | +| `faas.coldstart` | A boolean indicating that the serverless function is executed for the first time (aka cold start). | No | ### Difference between execution and instance