forked from elastic/apm-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
payload-v2.ndjson
10 lines (10 loc) · 4.35 KB
/
payload-v2.ndjson
1
2
3
4
5
6
7
8
9
10
{"_type": "header", "process": {"ppid": 6789, "pid": 1234, "argv": ["node", "server.js"], "title": "node"}, "system": {"platform": "darwin", "hostname": "prod1.example.com", "architecture": "x64"}, "service": {"name": "1234_service-12a3", "language": {"version": "8", "name": "ecmascript"}, "agent": {"version": "3.14.0", "name": "elastic-node"}, "environment": "staging", "framework": {"version": "1.2.3", "name": "Express"}, "version": "5.1.3", "runtime": {"version": "8.0.0", "name": "node"}}}
{"_type": "transaction", "sampled": true, "name": "GET /api/types", "timestamp": "2017-05-30T18:53:27.154Z", "span_count": {"dropped": {"total": 2}}, "result": "success", "context": {"custom": {"and_objects": {"foo": ["bar", "baz"]}, "my_key": 1, "some_other_value": "foo bar"}, "tags": {"organization_uuid": "9f0e9d64-c185-4d21-a6f4-4673ed561ec8"}, "request": {"body": {"additional": {"foo": {}, "bar": 123, "req": "additional information"}, "str": "hello world"}, "cookies": {"c2": "v2", "c1": "v1"}, "socket": {"encrypted": true, "remote_address": "12.53.12.1"}, "url": {"search": "?query=string", "full": "https://www.example.com/p/a/t/h?query=string#hash", "protocol": "https:", "hostname": "www.example.com", "raw": "/p/a/t/h?query=string#hash", "pathname": "/p/a/t/h", "hash": "#hash", "port": "8080"}, "http_version": "1.1", "headers": {"some-other-header": "foo", "cookie": "c1=v1; c2=v2", "array": ["foo", "bar", "baz"], "content-type": "text/html", "user-agent": "Mozilla Chrome Edge"}, "env": {"SERVER_SOFTWARE": "nginx", "GATEWAY_INTERFACE": "CGI/1.1"}, "method": "POST"}, "response": {"status_code": 200, "finished": true, "headers_sent": true, "headers": {"content-type": "application/json"}}, "user": {"username": "foo", "id": "99", "email": "[email protected]"}}, "duration": 32.592981, "type": "request", "id": "945254c5-67a5-417e-8a4e-aa29efcbfb79"}
{"_type": "span", "stacktrace": [{"function": "onread", "module": "some module", "abs_path": "net.js", "pre_context": [" var trans = this.currentTransaction", ""], "post_context": [" ins.currentTransaction = prev", " return result", "}"], "vars": {"key": "value"}, "library_frame": true, "filename": "net.js", "lineno": 547, "colno": 4, "context_line": "line3"}, {"lineno": 10, "filename": "my2file.js"}], "transaction": {"id": "945254c5-67a5-417e-8a4e-aa29efcbfb79"}, "name": "SELECT FROM product_types", "parent": null, "timestamp": "2017-05-30T18:53:27.154Z", "start": 2.83092, "context": {"db": {"instance": "customers", "type": "sql", "user": "readonly_user", "statement": "SELECT * FROM product_types WHERE user_id=?"}}, "duration": 3.781912, "type": "db.postgresql.query", "id": 0}
{"_type": "span","transaction": {"id": "945254c5-67a5-417e-8a4e-aa29efcbfb79"}, "name": "GET /api/types", "parent": 0, "timestamp": "2017-05-30T18:53:27.154Z", "start": 0, "duration": 32.592981, "type": "request", "id": 1}
{"_type": "span","stacktrace": [], "transaction": {"id": "945254c5-67a5-417e-8a4e-aa29efcbfb79"}, "name": "GET /api/types", "parent": 1, "timestamp": "2017-05-30T18:53:27.154Z", "start": 1.845, "context": {}, "duration": 3.5642981, "type": "request", "id": 2}
{"_type": "span","stacktrace": null, "transaction": {"id": "945254c5-67a5-417e-8a4e-aa29efcbfb79"}, "name": "GET /api/types", "parent": 2, "timestamp": "2017-05-30T18:53:27.154Z", "start": 0, "context": null, "duration": 13.9802981, "type": "request", "id": 3}
{"_type": "transaction", "sampled": true, "name": "GET /api/types", "timestamp": "2017-05-30T18:53:42.281Z", "result": "failure", "duration": 13.980558, "type": "request", "id": "85925e55-b43f-4340-a8e0-df1906ecbf7a"}
{"_type": "transaction", "sampled": false, "name": "GET /api/types", "timestamp": "2017-05-30T18:53:42Z", "result": "200", "duration": 13.980558, "type": "request", "id": "85925e55-b43f-4340-a8e0-df1906ecbf78"}
{"_type": "transaction", "sampled": true, "name": "GET /api/types", "timestamp": "2017-05-30T18:53:42.281999Z", "span_count": {"dropped": {"total": 258}}, "result": "200", "duration": 13.980558, "type": "request", "id": "85925e55-b43f-4340-a8e0-df1906ecbfa9"}
{"_type": "span", "stacktrace": [], "transaction": {"id": "85925e55-b43f-4340-a8e0-df1906ecbfa9"}, "name": "SELECT FROM product_types", "start": 2.83092, "context": {"db": {"instance": "customers", "type": "sql", "user": "readonly_user", "statement": "SELECT * FROM product_types WHERE user_id=?"}}, "duration": 3.781912, "type": "db.postgresql.query", "id": 15}