@peopl-health/nexus 2.4.0 → 2.4.1

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.
@@ -80,6 +80,9 @@ class TelemetryManager {
80
80
  },
81
81
  '@opentelemetry/instrumentation-http': {
82
82
  enabled: true,
83
+ ignoreIncomingRequestHook: (request) => {
84
+ return request.url === '/health' || request.url === '/metrics' || request.url === '/';
85
+ },
83
86
  requestHook: (span, request) => {
84
87
  span.setAttributes({
85
88
  'http.request.content_length': request.headers['content-length'] || 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peopl-health/nexus",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "description": "Core messaging and assistant library for WhatsApp communication platforms",
5
5
  "keywords": [
6
6
  "whatsapp",