From 2620e5b61600b4386a6ca4fa2967aca9397e74b3 Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Thu, 3 Sep 2026 10:40:49 +0200 Subject: [PATCH] feat(names): Add FAAS function span name and description rules --- model/description/faas.json | 12 ++++++++++++ model/name/faas.json | 13 +++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 model/description/faas.json create mode 100644 model/name/faas.json diff --git a/model/description/faas.json b/model/description/faas.json new file mode 100644 index 00000000..60ab559e --- /dev/null +++ b/model/description/faas.json @@ -0,0 +1,12 @@ +{ + "brief": "Serverless (FAAS)", + "operations": [ + { + "name": "Serverless function execution", + "brief": "The invocation of a serverless function on a cloud provider.", + "ops": ["function.aws", "function.gcp", "function.azure"], + "templates": ["{{faas.name}}"], + "examples": ["my_function", "process-upload"] + } + ] +} diff --git a/model/name/faas.json b/model/name/faas.json new file mode 100644 index 00000000..e8f43f97 --- /dev/null +++ b/model/name/faas.json @@ -0,0 +1,13 @@ +{ + "brief": "Serverless (FAAS)", + "operations": [ + { + "name": "Serverless function execution", + "brief": "The invocation of a serverless function on a cloud provider.", + "is_in_otel": false, + "ops": ["function.aws", "function.gcp", "function.azure"], + "templates": ["{{faas.name}}", "Serverless function execution"], + "examples": ["my_function", "process-upload", "Serverless function execution"] + } + ] +}