@teamkeel/functions-runtime 0.449.3 → 0.450.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2866,6 +2866,11 @@ async function handleRequest(request, config) {
|
|
|
2866
2866
|
}
|
|
2867
2867
|
return opentelemetry2.context.with(activeContext, () => {
|
|
2868
2868
|
return withSpan(request.method, async (span) => {
|
|
2869
|
+
span.setAttribute("action.name", request.method);
|
|
2870
|
+
span.setAttribute("action.type", request.type);
|
|
2871
|
+
if (request.meta?.httpPath) {
|
|
2872
|
+
span.setAttribute("http.path", request.meta.httpPath);
|
|
2873
|
+
}
|
|
2869
2874
|
let db = null;
|
|
2870
2875
|
try {
|
|
2871
2876
|
const { createContextAPI, functions, permissionFns, actionTypes } = config;
|