@teamkeel/functions-runtime 0.449.2 → 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.js
CHANGED
|
@@ -2818,6 +2818,11 @@ async function handleRequest(request, config) {
|
|
|
2818
2818
|
}
|
|
2819
2819
|
return opentelemetry2.context.with(activeContext, () => {
|
|
2820
2820
|
return withSpan(request.method, async (span) => {
|
|
2821
|
+
span.setAttribute("action.name", request.method);
|
|
2822
|
+
span.setAttribute("action.type", request.type);
|
|
2823
|
+
if (request.meta?.httpPath) {
|
|
2824
|
+
span.setAttribute("http.path", request.meta.httpPath);
|
|
2825
|
+
}
|
|
2821
2826
|
let db = null;
|
|
2822
2827
|
try {
|
|
2823
2828
|
const { createContextAPI, functions, permissionFns, actionTypes } = config;
|