observe-node 1.0.7 → 1.0.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "observe-node",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Structured logs + Prometheus metrics SDK for Node.js (Loki/Grafana ready)",
5
5
  "main": "src/index.js",
6
6
  "type": "commonjs",
@@ -130,14 +130,12 @@ res.send = (body) => {
130
130
  ip: req.ip,
131
131
  },
132
132
 
133
- request: {
134
- headers,
135
- has_auth: hasAuth,
136
- query: req.query, // parsed query object
137
- query_string: queryString, // raw query string
138
- params: req.params, // may be empty (see note)
139
- body: capturedRequest
140
- },
133
+
134
+ request: {
135
+ query: req.query,
136
+ params: req.params,
137
+ body: capturedRequest,
138
+ },
141
139
 
142
140
  response: {
143
141
  status: res.statusCode,