@forklaunch/core 0.14.6 → 0.14.7
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/lib/http/index.d.mts +0 -1
- package/lib/http/index.d.ts +0 -1
- package/lib/http/index.js +0 -1
- package/lib/http/index.js.map +1 -1
- package/lib/http/index.mjs +0 -1
- package/lib/http/index.mjs.map +1 -1
- package/package.json +26 -26
package/lib/http/index.d.mts
CHANGED
@@ -75,7 +75,6 @@ declare class OpenTelemetryCollector<AppliedMetricsDefinition extends MetricsDef
|
|
75
75
|
declare const httpRequestsTotalCounter: Counter<{
|
76
76
|
"service.name": string;
|
77
77
|
"api.name": string;
|
78
|
-
"correlation.id": string;
|
79
78
|
"http.request.method": string;
|
80
79
|
"http.route": string;
|
81
80
|
"http.response.status_code": number;
|
package/lib/http/index.d.ts
CHANGED
@@ -75,7 +75,6 @@ declare class OpenTelemetryCollector<AppliedMetricsDefinition extends MetricsDef
|
|
75
75
|
declare const httpRequestsTotalCounter: Counter<{
|
76
76
|
"service.name": string;
|
77
77
|
"api.name": string;
|
78
|
-
"correlation.id": string;
|
79
78
|
"http.request.method": string;
|
80
79
|
"http.route": string;
|
81
80
|
"http.response.status_code": number;
|
package/lib/http/index.js
CHANGED
@@ -3354,7 +3354,6 @@ function recordMetric(req, res) {
|
|
3354
3354
|
httpRequestsTotalCounter.add(1, {
|
3355
3355
|
[import_semantic_conventions3.ATTR_SERVICE_NAME]: (0, import_common10.getEnvVar)("OTEL_SERVICE_NAME"),
|
3356
3356
|
[ATTR_API_NAME]: req.contractDetails?.name,
|
3357
|
-
[ATTR_CORRELATION_ID]: req.context.correlationId,
|
3358
3357
|
[import_semantic_conventions3.ATTR_HTTP_REQUEST_METHOD]: req.method,
|
3359
3358
|
[import_semantic_conventions3.ATTR_HTTP_ROUTE]: req.originalPath,
|
3360
3359
|
[import_semantic_conventions3.ATTR_HTTP_RESPONSE_STATUS_CODE]: Number(res.statusCode) || 0
|