diff --git a/docs/data/intake-api/generated/rum_v3_events.ndjson b/docs/data/intake-api/generated/rum_v3_events.ndjson index 7e69c64321e..48bb0f219fc 100644 --- a/docs/data/intake-api/generated/rum_v3_events.ndjson +++ b/docs/data/intake-api/generated/rum_v3_events.ndjson @@ -1,3 +1,3 @@ -{"m": {"se": {"n": "apm-a-rum-test-e2e-general-usecase","ve": "0.0.1","a": {"n": "js-base","ve": "4.8.1"},"la": {"n": "javascript"}},"l": {"testTagKey": "testTagValue"}}} -{"x": {"id": "ec2e280be8345240","tid": "286ac3ad697892c406528f13c82e0ce1","n": "general-usecase-initial-p-load","t": "p-load","d": 295,"me": [{"sa": {"xdc": {"v": 1},"xds": {"v": 295},"xbc": {"v": 1}}},{"y": {"t": "Request"},"sa": {"ysc": {"v": 1},"yss": {"v": 1}}},{"y": {"t": "Response"},"sa": {"ysc": {"v": 1},"yss": {"v": 1}}}],"y": [{"id": "bbd8bcc3be14d814","n": "Requesting and receiving the document","t": "hard-navigation","su": "browser-timing","s": 4,"d": 2},{"id": "fc546e87a90a774f","n": "Parsing the document, executing sy. scripts","t": "hard-navigation","su": "browser-timing","s": 14,"d": 106},{"id": "fb8f717930697299","n": "http://localhost:8000/test/e2e/general-usecase/app.e2e-bundle.min.js","t": "rc","su": "script","s": 22.53499999642372,"d": 35.060000023804605,"c": {"h": {"url": "http://localhost:8000/test/e2e/general-usecase/app.e2e-bundle.min.js?token=REDACTED","r": {"ts": 677175,"ebs": 676864,"dbs": 676864}},"dt": {"se": {"n": "http://localhost:8000","rc": "localhost:8000","t": "rc"},"ad": "localhost","po": 8000}}},{"id": "9b80535c4403c9fb","n": "OpenTracing y","t": "cu","s": 96.92999999970198,"d": 198.07000000029802},{"id": "5ecb8ee030749715","n": "GET /test/e2e/common/data.json","t": "external","su": "h","sy": true,"s": 98.94000005442649,"d": 6.72499998472631,"c": {"h": {"mt": "GET","url": "http://localhost:8000/test/e2e/common/data.json?test=hamid","sc": 200},"dt": {"se": {"n": "http://localhost:8000","rc": "localhost:8000","t": "external"},"ad": "localhost","po": 8000}}},{"id": "27f45fd274f976d4","n": "POST http://localhost:8003/data","t": "external","su": "h","sy": true,"s": 106.52000003028661,"d": 11.584999971091747,"c": {"h": {"mt": "POST","url": "http://localhost:8003/data","sc": 200},"dt": {"se": {"n": "http://localhost:8003","rc": "localhost:8003","t": "external"},"ad": "localhost","po": 8003}}},{"id": "a3c043330bc2015e","pi": 0,"n": "POST http://localhost:8003/fetch","t": "external","su": "h","sy": false,"s": 119.93500008247793,"d": 15.949999913573265,"c": {"h": {"mt": "POST","url": "http://localhost:8003/fetch","sc": 200},"dt": {"se": {"n": "http://localhost:8003","rc": "localhost:8003","t": "external"},"ad": "localhost","po": 8003}}},{"id": "bc7665dc25629379","st": [{"ap": "http://localhost:8000/test/e2e/general-usecase/app.e2e-bundle.min.js?token=secret","f": "test/e2e/general-usecase/app.e2e-bundle.min.js?token=secret","fn": "generateError","li": 7662,"co": 9},{"ap": "http://localhost:8000/test/e2e/general-usecase/app.e2e-bundle.min.js?token=secret","f": "test/e2e/general-usecase/app.e2e-bundle.min.js?token=secret","fn": "","li": 7666,"co": 3}],"n": "Fire \"DOMContentLoaded\" event","t": "hard-navigation","su": "browser-timing","s": 120,"d": 2}],"c": {"p": {"rf": "http://localhost:8000/test/e2e/","url": "http://localhost:8000/test/e2e/general-usecase/"},"r": {"ts": 983,"ebs": 690,"dbs": 690},"u": {"id": "uId","un": "un","em": "em"},"cu": {"testContext": "testContext"},"g": {"testTagKey": "testTagValue"}},"k": {"a": {"lp": 131.03000004775822,"fb": 5,"di": 120,"dc": 138,"fp": 70.82500003930181},"nt": {"fs": 0,"ls": 0,"le": 0,"cs": 0,"ce": 0,"qs": 4,"rs": 5,"re": 6,"dl": 14,"di": 120,"ds": 120,"de": 122,"dc": 138,"es": 138,"ee": 138}},"yc": {"sd": 8},"sm": true}} -{"me": {"y": {"t": "Processing"},"sa": {"ysc": {"v": 1},"yss": {"v": 124}}}} +{"m": {"se": {"n": "apm-a-rum-test-e2e-general-usecase","ve": "0.0.1","en": "prod","a": {"n": "js-base","ve": "4.8.1"},"ru": {"n": "v8","ve": "8.0"},"la": {"n": "javascript","ve": "6"},"fw": {"n": "angular","ve": "2"}},"u": {"id": 123,"em": "user@email.com","un": "John Doe"},"l": {"testTagKey": "testTagValue"}}} +{"x": {"id": "ec2e280be8345240","tid": "286ac3ad697892c406528f13c82e0ce1","pid": "1ef08ac234fca23b455d9e27c660f1ab","n": "general-usecase-initial-p-load","t": "p-load","d": 295,"me": [{"sa": {"xdc": {"v": 1},"xds": {"v": 295},"xbc": {"v": 1}}},{"y": {"t": "Request"},"sa": {"ysc": {"v": 1},"yss": {"v": 1}}},{"y": {"t": "Response"},"sa": {"ysc": {"v": 1},"yss": {"v": 1}}}],"y": [{"id": "bbd8bcc3be14d814","n": "Requesting and receiving the document","t": "hard-navigation","su": "browser-timing","s": 4,"d": 2},{"id": "fc546e87a90a774f","n": "Parsing the document, executing sy. scripts","t": "hard-navigation","su": "browser-timing","s": 14,"d": 106},{"id": "fb8f717930697299","n": "http://localhost:8000/test/e2e/general-usecase/app.e2e-bundle.min.js","t": "rc","su": "script","s": 22.53499999642372,"d": 35.060000023804605,"c": {"h": {"url": "http://localhost:8000/test/e2e/general-usecase/app.e2e-bundle.min.js?token=REDACTED","r": {"ts": 677175,"ebs": 676864,"dbs": 676864}},"dt": {"se": {"n": "http://localhost:8000","rc": "localhost:8000","t": "rc"},"ad": "localhost","po": 8000}}},{"id": "9b80535c4403c9fb","n": "OpenTracing y","t": "cu","s": 96.92999999970198,"d": 198.07000000029802},{"id": "5ecb8ee030749715","n": "GET /test/e2e/common/data.json","t": "external","su": "h","sy": true,"s": 98.94000005442649,"d": 6.72499998472631,"c": {"h": {"mt": "GET","url": "http://localhost:8000/test/e2e/common/data.json?test=hamid","sc": 200},"dt": {"se": {"n": "http://localhost:8000","rc": "localhost:8000","t": "external"},"ad": "localhost","po": 8000}}},{"id": "27f45fd274f976d4","n": "POST http://localhost:8003/data","t": "external","su": "h","sy": true,"s": 106.52000003028661,"d": 11.584999971091747,"c": {"h": {"mt": "POST","url": "http://localhost:8003/data","sc": 200},"dt": {"se": {"n": "http://localhost:8003","rc": "localhost:8003","t": "external"},"ad": "localhost","po": 8003}}},{"id": "a3c043330bc2015e","pi": 0,"n": "POST http://localhost:8003/fetch","t": "external","su": "h","ac": "action","sy": false,"s": 119.93500008247793,"d": 15.949999913573265,"c": {"h": {"mt": "POST","url": "http://localhost:8003/fetch","sc": 200},"dt": {"se": {"n": "http://localhost:8003","rc": "localhost:8003","t": "external"},"ad": "localhost","po": 8003}}},{"id": "bc7665dc25629379","st": [{"ap": "http://localhost:8000/test/e2e/general-usecase/app.e2e-bundle.min.js?token=secret","f": "test/e2e/general-usecase/app.e2e-bundle.min.js?token=secret","fn": "generateError","li": 7662,"co": 9},{"ap": "http://localhost:8000/test/e2e/general-usecase/app.e2e-bundle.min.js?token=secret","f": "test/e2e/general-usecase/app.e2e-bundle.min.js?token=secret","fn": "","li": 7666,"co": 3}],"n": "Fire \"DOMContentLoaded\" event","t": "hard-navigation","su": "browser-timing","s": 120,"d": 2}],"c": {"p": {"rf": "http://localhost:8000/test/e2e/","url": "http://localhost:8000/test/e2e/general-usecase/"},"r": {"sc": 200,"ts": 983,"ebs": 690,"dbs": 690,"he": {"Content-Type": "application/json"}},"q": {"he": {"Accept": "application/json"},"hve": "1.1","mt": "GET"},"u": {"id": "uId","un": "un","em": "em"},"cu": {"testContext": "testContext"},"g": {"testTagKey": "testTagValue"}},"k": {"a": {"lp": 131.03000004775822,"fb": 5,"di": 120,"dc": 138,"ds": 100,"de": 110,"fp": 70.82500003930181},"nt": {"fs": 0,"ls": 0,"le": 0,"cs": 0,"ce": 0,"qs": 4,"rs": 5,"re": 6,"dl": 14,"di": 120,"ds": 120,"de": 122,"dc": 138,"es": 138,"ee": 138}},"yc": {"sd": 8,"dd": 1},"sm": true}} +{"me": {"y": {"t": "Processing","su": "subtype"},"sa": {"ysc": {"v": 1},"yss": {"v": 124}},"g": {"tag1": "value1"}}} diff --git a/docs/spec/metricsets/rum_v3_metricset.json b/docs/spec/metricsets/rum_v3_metricset.json index afd7e066533..ed6465bc189 100644 --- a/docs/spec/metricsets/rum_v3_metricset.json +++ b/docs/spec/metricsets/rum_v3_metricset.json @@ -44,7 +44,7 @@ } } }, - "tags": { + "g": { "$ref": "../tags.json" } }, diff --git a/model/metricset/generated/schema/rum_v3_metricset.go b/model/metricset/generated/schema/rum_v3_metricset.go index 878e8551057..1ff16b99300 100644 --- a/model/metricset/generated/schema/rum_v3_metricset.go +++ b/model/metricset/generated/schema/rum_v3_metricset.go @@ -98,7 +98,7 @@ const RUMV3Schema = `{ } } }, - "tags": { + "g": { "$id": "docs/spec/tags.json", "title": "Tags", "type": ["object", "null"], diff --git a/model/modeldecoder/metricset.go b/model/modeldecoder/metricset.go index 996a406d9a5..2aeeae1d19a 100644 --- a/model/modeldecoder/metricset.go +++ b/model/modeldecoder/metricset.go @@ -79,7 +79,7 @@ func decodeMetricset(input Input, schema *jsonschema.Schema) (*model.Metricset, return nil, md.Err } - if tags := utility.Prune(md.MapStr(raw, "tags")); len(tags) > 0 { + if tags := utility.Prune(md.MapStr(raw, fieldName("tags"))); len(tags) > 0 { e.Labels = tags } if e.Timestamp.IsZero() { diff --git a/model/transaction/generated/schema/rum_v3_transaction.go b/model/transaction/generated/schema/rum_v3_transaction.go index 04241a4864d..df12ed6a6a3 100644 --- a/model/transaction/generated/schema/rum_v3_transaction.go +++ b/model/transaction/generated/schema/rum_v3_transaction.go @@ -470,7 +470,7 @@ const RUMV3Schema = `{ } } }, - "tags": { + "g": { "$id": "docs/spec/tags.json", "title": "Tags", "type": ["object", "null"], diff --git a/processor/stream/test_approved_es_documents/testIntakeRUMV3Events.approved.json b/processor/stream/test_approved_es_documents/testIntakeRUMV3Events.approved.json index 72d52475e7f..6efc2fa6531 100644 --- a/processor/stream/test_approved_es_documents/testIntakeRUMV3Events.approved.json +++ b/processor/stream/test_approved_es_documents/testIntakeRUMV3Events.approved.json @@ -7,24 +7,52 @@ "version": "4.8.1" }, "http": { + "request": { + "headers": { + "Accept": [ + "application/json" + ] + }, + "method": "get" + }, "response": { "decoded_body_size": 690, "encoded_body_size": 690, + "headers": { + "Content-Type": [ + "application/json" + ] + }, + "status_code": 200, "transfer_size": 983 - } + }, + "version": "1.1" }, "labels": { "testTagKey": "testTagValue" }, + "parent": { + "id": "1ef08ac234fca23b455d9e27c660f1ab" + }, "processor": { "event": "transaction", "name": "transaction" }, "service": { + "environment": "prod", + "framework": { + "name": "angular", + "version": "2" + }, "language": { - "name": "javascript" + "name": "javascript", + "version": "6" }, "name": "apm-a-rum-test-e2e-general-usecase", + "runtime": { + "name": "v8", + "version": "8.0" + }, "version": "0.0.1" }, "timestamp": { @@ -44,6 +72,8 @@ "marks": { "agent": { "domComplete": 138, + "domContentLoadedEventEnd": 110, + "domContentLoadedEventStart": 100, "domInteractive": 120, "firstContentfulPaint": 70.82500003930181, "largestContentfulPaint": 131.03000004775822, @@ -74,6 +104,7 @@ }, "sampled": true, "span_count": { + "dropped": 1, "started": 8 }, "type": "p-load" @@ -101,10 +132,20 @@ "name": "transaction" }, "service": { + "environment": "prod", + "framework": { + "name": "angular", + "version": "2" + }, "language": { - "name": "javascript" + "name": "javascript", + "version": "6" }, "name": "apm-a-rum-test-e2e-general-usecase", + "runtime": { + "name": "v8", + "version": "8.0" + }, "version": "0.0.1" }, "span": { @@ -127,6 +168,11 @@ }, "transaction": { "id": "ec2e280be8345240" + }, + "user": { + "email": "user@email.com", + "id": "123", + "name": "John Doe" } }, { @@ -146,10 +192,20 @@ "name": "transaction" }, "service": { + "environment": "prod", + "framework": { + "name": "angular", + "version": "2" + }, "language": { - "name": "javascript" + "name": "javascript", + "version": "6" }, "name": "apm-a-rum-test-e2e-general-usecase", + "runtime": { + "name": "v8", + "version": "8.0" + }, "version": "0.0.1" }, "span": { @@ -172,6 +228,11 @@ }, "transaction": { "id": "ec2e280be8345240" + }, + "user": { + "email": "user@email.com", + "id": "123", + "name": "John Doe" } }, { @@ -195,10 +256,20 @@ "name": "transaction" }, "service": { + "environment": "prod", + "framework": { + "name": "angular", + "version": "2" + }, "language": { - "name": "javascript" + "name": "javascript", + "version": "6" }, "name": "apm-a-rum-test-e2e-general-usecase", + "runtime": { + "name": "v8", + "version": "8.0" + }, "version": "0.0.1" }, "span": { @@ -238,6 +309,11 @@ }, "transaction": { "id": "ec2e280be8345240" + }, + "user": { + "email": "user@email.com", + "id": "123", + "name": "John Doe" } }, { @@ -257,10 +333,20 @@ "name": "transaction" }, "service": { + "environment": "prod", + "framework": { + "name": "angular", + "version": "2" + }, "language": { - "name": "javascript" + "name": "javascript", + "version": "6" }, "name": "apm-a-rum-test-e2e-general-usecase", + "runtime": { + "name": "v8", + "version": "8.0" + }, "version": "0.0.1" }, "span": { @@ -282,6 +368,11 @@ }, "transaction": { "id": "ec2e280be8345240" + }, + "user": { + "email": "user@email.com", + "id": "123", + "name": "John Doe" } }, { @@ -305,10 +396,20 @@ "name": "transaction" }, "service": { + "environment": "prod", + "framework": { + "name": "angular", + "version": "2" + }, "language": { - "name": "javascript" + "name": "javascript", + "version": "6" }, "name": "apm-a-rum-test-e2e-general-usecase", + "runtime": { + "name": "v8", + "version": "8.0" + }, "version": "0.0.1" }, "span": { @@ -348,6 +449,11 @@ }, "transaction": { "id": "ec2e280be8345240" + }, + "user": { + "email": "user@email.com", + "id": "123", + "name": "John Doe" } }, { @@ -371,10 +477,20 @@ "name": "transaction" }, "service": { + "environment": "prod", + "framework": { + "name": "angular", + "version": "2" + }, "language": { - "name": "javascript" + "name": "javascript", + "version": "6" }, "name": "apm-a-rum-test-e2e-general-usecase", + "runtime": { + "name": "v8", + "version": "8.0" + }, "version": "0.0.1" }, "span": { @@ -414,6 +530,11 @@ }, "transaction": { "id": "ec2e280be8345240" + }, + "user": { + "email": "user@email.com", + "id": "123", + "name": "John Doe" } }, { @@ -437,13 +558,24 @@ "name": "transaction" }, "service": { + "environment": "prod", + "framework": { + "name": "angular", + "version": "2" + }, "language": { - "name": "javascript" + "name": "javascript", + "version": "6" }, "name": "apm-a-rum-test-e2e-general-usecase", + "runtime": { + "name": "v8", + "version": "8.0" + }, "version": "0.0.1" }, "span": { + "action": "action", "destination": { "service": { "name": "http://localhost:8003", @@ -480,6 +612,11 @@ }, "transaction": { "id": "ec2e280be8345240" + }, + "user": { + "email": "user@email.com", + "id": "123", + "name": "John Doe" } }, { @@ -499,10 +636,20 @@ "name": "transaction" }, "service": { + "environment": "prod", + "framework": { + "name": "angular", + "version": "2" + }, "language": { - "name": "javascript" + "name": "javascript", + "version": "6" }, "name": "apm-a-rum-test-e2e-general-usecase", + "runtime": { + "name": "v8", + "version": "8.0" + }, "version": "0.0.1" }, "span": { @@ -547,6 +694,11 @@ }, "transaction": { "id": "ec2e280be8345240" + }, + "user": { + "email": "user@email.com", + "id": "123", + "name": "John Doe" } }, { @@ -563,10 +715,20 @@ "name": "metric" }, "service": { + "environment": "prod", + "framework": { + "name": "angular", + "version": "2" + }, "language": { - "name": "javascript" + "name": "javascript", + "version": "6" }, "name": "apm-a-rum-test-e2e-general-usecase", + "runtime": { + "name": "v8", + "version": "8.0" + }, "version": "0.0.1" }, "transaction": { @@ -581,6 +743,11 @@ }, "name": "general-usecase-initial-p-load", "type": "p-load" + }, + "user": { + "email": "user@email.com", + "id": "123", + "name": "John Doe" } }, { @@ -597,10 +764,20 @@ "name": "metric" }, "service": { + "environment": "prod", + "framework": { + "name": "angular", + "version": "2" + }, "language": { - "name": "javascript" + "name": "javascript", + "version": "6" }, "name": "apm-a-rum-test-e2e-general-usecase", + "runtime": { + "name": "v8", + "version": "8.0" + }, "version": "0.0.1" }, "span": { @@ -615,6 +792,11 @@ "transaction": { "name": "general-usecase-initial-p-load", "type": "p-load" + }, + "user": { + "email": "user@email.com", + "id": "123", + "name": "John Doe" } }, { @@ -631,10 +813,20 @@ "name": "metric" }, "service": { + "environment": "prod", + "framework": { + "name": "angular", + "version": "2" + }, "language": { - "name": "javascript" + "name": "javascript", + "version": "6" }, "name": "apm-a-rum-test-e2e-general-usecase", + "runtime": { + "name": "v8", + "version": "8.0" + }, "version": "0.0.1" }, "span": { @@ -649,6 +841,11 @@ "transaction": { "name": "general-usecase-initial-p-load", "type": "p-load" + }, + "user": { + "email": "user@email.com", + "id": "123", + "name": "John Doe" } }, { @@ -658,6 +855,7 @@ "version": "4.8.1" }, "labels": { + "tag1": "value1", "testTagKey": "testTagValue" }, "processor": { @@ -665,10 +863,20 @@ "name": "metric" }, "service": { + "environment": "prod", + "framework": { + "name": "angular", + "version": "2" + }, "language": { - "name": "javascript" + "name": "javascript", + "version": "6" }, "name": "apm-a-rum-test-e2e-general-usecase", + "runtime": { + "name": "v8", + "version": "8.0" + }, "version": "0.0.1" }, "span": { @@ -678,7 +886,13 @@ "us": 124 } }, + "subtype": "subtype", "type": "Processing" + }, + "user": { + "email": "user@email.com", + "id": "123", + "name": "John Doe" } } ] diff --git a/testdata/intake-v3/rum_events.ndjson b/testdata/intake-v3/rum_events.ndjson index 7e69c64321e..48bb0f219fc 100644 --- a/testdata/intake-v3/rum_events.ndjson +++ b/testdata/intake-v3/rum_events.ndjson @@ -1,3 +1,3 @@ -{"m": {"se": {"n": "apm-a-rum-test-e2e-general-usecase","ve": "0.0.1","a": {"n": "js-base","ve": "4.8.1"},"la": {"n": "javascript"}},"l": {"testTagKey": "testTagValue"}}} -{"x": {"id": "ec2e280be8345240","tid": "286ac3ad697892c406528f13c82e0ce1","n": "general-usecase-initial-p-load","t": "p-load","d": 295,"me": [{"sa": {"xdc": {"v": 1},"xds": {"v": 295},"xbc": {"v": 1}}},{"y": {"t": "Request"},"sa": {"ysc": {"v": 1},"yss": {"v": 1}}},{"y": {"t": "Response"},"sa": {"ysc": {"v": 1},"yss": {"v": 1}}}],"y": [{"id": "bbd8bcc3be14d814","n": "Requesting and receiving the document","t": "hard-navigation","su": "browser-timing","s": 4,"d": 2},{"id": "fc546e87a90a774f","n": "Parsing the document, executing sy. scripts","t": "hard-navigation","su": "browser-timing","s": 14,"d": 106},{"id": "fb8f717930697299","n": "http://localhost:8000/test/e2e/general-usecase/app.e2e-bundle.min.js","t": "rc","su": "script","s": 22.53499999642372,"d": 35.060000023804605,"c": {"h": {"url": "http://localhost:8000/test/e2e/general-usecase/app.e2e-bundle.min.js?token=REDACTED","r": {"ts": 677175,"ebs": 676864,"dbs": 676864}},"dt": {"se": {"n": "http://localhost:8000","rc": "localhost:8000","t": "rc"},"ad": "localhost","po": 8000}}},{"id": "9b80535c4403c9fb","n": "OpenTracing y","t": "cu","s": 96.92999999970198,"d": 198.07000000029802},{"id": "5ecb8ee030749715","n": "GET /test/e2e/common/data.json","t": "external","su": "h","sy": true,"s": 98.94000005442649,"d": 6.72499998472631,"c": {"h": {"mt": "GET","url": "http://localhost:8000/test/e2e/common/data.json?test=hamid","sc": 200},"dt": {"se": {"n": "http://localhost:8000","rc": "localhost:8000","t": "external"},"ad": "localhost","po": 8000}}},{"id": "27f45fd274f976d4","n": "POST http://localhost:8003/data","t": "external","su": "h","sy": true,"s": 106.52000003028661,"d": 11.584999971091747,"c": {"h": {"mt": "POST","url": "http://localhost:8003/data","sc": 200},"dt": {"se": {"n": "http://localhost:8003","rc": "localhost:8003","t": "external"},"ad": "localhost","po": 8003}}},{"id": "a3c043330bc2015e","pi": 0,"n": "POST http://localhost:8003/fetch","t": "external","su": "h","sy": false,"s": 119.93500008247793,"d": 15.949999913573265,"c": {"h": {"mt": "POST","url": "http://localhost:8003/fetch","sc": 200},"dt": {"se": {"n": "http://localhost:8003","rc": "localhost:8003","t": "external"},"ad": "localhost","po": 8003}}},{"id": "bc7665dc25629379","st": [{"ap": "http://localhost:8000/test/e2e/general-usecase/app.e2e-bundle.min.js?token=secret","f": "test/e2e/general-usecase/app.e2e-bundle.min.js?token=secret","fn": "generateError","li": 7662,"co": 9},{"ap": "http://localhost:8000/test/e2e/general-usecase/app.e2e-bundle.min.js?token=secret","f": "test/e2e/general-usecase/app.e2e-bundle.min.js?token=secret","fn": "","li": 7666,"co": 3}],"n": "Fire \"DOMContentLoaded\" event","t": "hard-navigation","su": "browser-timing","s": 120,"d": 2}],"c": {"p": {"rf": "http://localhost:8000/test/e2e/","url": "http://localhost:8000/test/e2e/general-usecase/"},"r": {"ts": 983,"ebs": 690,"dbs": 690},"u": {"id": "uId","un": "un","em": "em"},"cu": {"testContext": "testContext"},"g": {"testTagKey": "testTagValue"}},"k": {"a": {"lp": 131.03000004775822,"fb": 5,"di": 120,"dc": 138,"fp": 70.82500003930181},"nt": {"fs": 0,"ls": 0,"le": 0,"cs": 0,"ce": 0,"qs": 4,"rs": 5,"re": 6,"dl": 14,"di": 120,"ds": 120,"de": 122,"dc": 138,"es": 138,"ee": 138}},"yc": {"sd": 8},"sm": true}} -{"me": {"y": {"t": "Processing"},"sa": {"ysc": {"v": 1},"yss": {"v": 124}}}} +{"m": {"se": {"n": "apm-a-rum-test-e2e-general-usecase","ve": "0.0.1","en": "prod","a": {"n": "js-base","ve": "4.8.1"},"ru": {"n": "v8","ve": "8.0"},"la": {"n": "javascript","ve": "6"},"fw": {"n": "angular","ve": "2"}},"u": {"id": 123,"em": "user@email.com","un": "John Doe"},"l": {"testTagKey": "testTagValue"}}} +{"x": {"id": "ec2e280be8345240","tid": "286ac3ad697892c406528f13c82e0ce1","pid": "1ef08ac234fca23b455d9e27c660f1ab","n": "general-usecase-initial-p-load","t": "p-load","d": 295,"me": [{"sa": {"xdc": {"v": 1},"xds": {"v": 295},"xbc": {"v": 1}}},{"y": {"t": "Request"},"sa": {"ysc": {"v": 1},"yss": {"v": 1}}},{"y": {"t": "Response"},"sa": {"ysc": {"v": 1},"yss": {"v": 1}}}],"y": [{"id": "bbd8bcc3be14d814","n": "Requesting and receiving the document","t": "hard-navigation","su": "browser-timing","s": 4,"d": 2},{"id": "fc546e87a90a774f","n": "Parsing the document, executing sy. scripts","t": "hard-navigation","su": "browser-timing","s": 14,"d": 106},{"id": "fb8f717930697299","n": "http://localhost:8000/test/e2e/general-usecase/app.e2e-bundle.min.js","t": "rc","su": "script","s": 22.53499999642372,"d": 35.060000023804605,"c": {"h": {"url": "http://localhost:8000/test/e2e/general-usecase/app.e2e-bundle.min.js?token=REDACTED","r": {"ts": 677175,"ebs": 676864,"dbs": 676864}},"dt": {"se": {"n": "http://localhost:8000","rc": "localhost:8000","t": "rc"},"ad": "localhost","po": 8000}}},{"id": "9b80535c4403c9fb","n": "OpenTracing y","t": "cu","s": 96.92999999970198,"d": 198.07000000029802},{"id": "5ecb8ee030749715","n": "GET /test/e2e/common/data.json","t": "external","su": "h","sy": true,"s": 98.94000005442649,"d": 6.72499998472631,"c": {"h": {"mt": "GET","url": "http://localhost:8000/test/e2e/common/data.json?test=hamid","sc": 200},"dt": {"se": {"n": "http://localhost:8000","rc": "localhost:8000","t": "external"},"ad": "localhost","po": 8000}}},{"id": "27f45fd274f976d4","n": "POST http://localhost:8003/data","t": "external","su": "h","sy": true,"s": 106.52000003028661,"d": 11.584999971091747,"c": {"h": {"mt": "POST","url": "http://localhost:8003/data","sc": 200},"dt": {"se": {"n": "http://localhost:8003","rc": "localhost:8003","t": "external"},"ad": "localhost","po": 8003}}},{"id": "a3c043330bc2015e","pi": 0,"n": "POST http://localhost:8003/fetch","t": "external","su": "h","ac": "action","sy": false,"s": 119.93500008247793,"d": 15.949999913573265,"c": {"h": {"mt": "POST","url": "http://localhost:8003/fetch","sc": 200},"dt": {"se": {"n": "http://localhost:8003","rc": "localhost:8003","t": "external"},"ad": "localhost","po": 8003}}},{"id": "bc7665dc25629379","st": [{"ap": "http://localhost:8000/test/e2e/general-usecase/app.e2e-bundle.min.js?token=secret","f": "test/e2e/general-usecase/app.e2e-bundle.min.js?token=secret","fn": "generateError","li": 7662,"co": 9},{"ap": "http://localhost:8000/test/e2e/general-usecase/app.e2e-bundle.min.js?token=secret","f": "test/e2e/general-usecase/app.e2e-bundle.min.js?token=secret","fn": "","li": 7666,"co": 3}],"n": "Fire \"DOMContentLoaded\" event","t": "hard-navigation","su": "browser-timing","s": 120,"d": 2}],"c": {"p": {"rf": "http://localhost:8000/test/e2e/","url": "http://localhost:8000/test/e2e/general-usecase/"},"r": {"sc": 200,"ts": 983,"ebs": 690,"dbs": 690,"he": {"Content-Type": "application/json"}},"q": {"he": {"Accept": "application/json"},"hve": "1.1","mt": "GET"},"u": {"id": "uId","un": "un","em": "em"},"cu": {"testContext": "testContext"},"g": {"testTagKey": "testTagValue"}},"k": {"a": {"lp": 131.03000004775822,"fb": 5,"di": 120,"dc": 138,"ds": 100,"de": 110,"fp": 70.82500003930181},"nt": {"fs": 0,"ls": 0,"le": 0,"cs": 0,"ce": 0,"qs": 4,"rs": 5,"re": 6,"dl": 14,"di": 120,"ds": 120,"de": 122,"dc": 138,"es": 138,"ee": 138}},"yc": {"sd": 8,"dd": 1},"sm": true}} +{"me": {"y": {"t": "Processing","su": "subtype"},"sa": {"ysc": {"v": 1},"yss": {"v": 124}},"g": {"tag1": "value1"}}}