{
"_index": "apm-7.12.0-transaction-000010",
"_type": "_doc",
"_id": "H-xCBn8BoEtMrRa0MKNx",
"_version": 1,
"_score": null,
"fields": {
"transaction.name.text": [
"GET /test/fran"
],
"user_agent.original.text": [
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36"
],
"host.hostname": [
"MacBook-Pro-de-Fran.local"
],
"process.pid": [
70040
],
"service.language.name": [
"python"
],
"transaction.result": [
"HTTP 2xx"
],
"user_agent.os.version": [
"10.15.7"
],
"transaction.id": [
"d01f7447213a4374"
],
"http.request.method": [
"GET"
],
"processor.event": [
"transaction"
],
"agent.name": [
"python"
],
"host.name": [
"MacBook-Pro-de-Fran.local"
],
"user_agent.version": [
"98.0.4758.80"
],
"event.outcome": [
"success"
],
"user_agent.original": [
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36"
],
"process.ppid": [
70038
],
"processor.name": [
"transaction"
],
"transaction.duration.us": [
642
],
"service.runtime.version": [
"3.9.7"
],
"user_agent.name": [
"Chrome"
],
"host.architecture": [
"arm64"
],
"timestamp.us": [
1645077472362757
],
"url.path": [
"/test/fran"
],
"ecs.version": [
"1.8.0"
],
"observer.type": [
"apm-server"
],
"observer.version": [
"7.12.0"
],
"agent.version": [
"6.7.2"
],
"transaction.name": [
"GET /test/fran"
],
"service.framework.version": [
"0.17.1"
],
"observer.name": [
"instance-0000000001"
],
"user_agent.os.full": [
"Mac OS X 10.15.7"
],
"service.node.name": [
"MacBook-Pro-de-Fran.local"
],
"url.scheme": [
"http"
],
"transaction.sampled": [
true
],
"user_agent.os.name": [
"Mac OS X"
],
"host.ip": [
"-"
],
"trace.id": [
"0c161d26c928799b770ccddcf4cfe3c4"
],
"transaction.span_count.dropped": [
0
],
"url.port": [
8000
],
"url.full": [
"http://localhost:8000/test/fran"
],
"service.environment": [
"staging"
],
"service.name": [
"test"
],
"service.framework.name": [
"starlette"
],
"service.runtime.name": [
"CPython"
],
"process.args": [
"/Users/fgarcia/miniconda3/envs/test-rest/lib/python3.9/site-packages/uvicorn/__main__.py",
"app.main:app",
"--reload"
],
"observer.version_major": [
7
],
"observer.hostname": [
"c2c026e5b645"
],
"transaction.type": [
"request"
],
"event.ingested": [
"2022-02-17T05:57:55.440Z"
],
"@timestamp": [
"2022-02-17T05:57:52.362Z"
],
"host.os.platform": [
"darwin"
],
"service.language.version": [
"3.9.7"
],
"url.domain": [
"localhost"
],
"user_agent.device.name": [
"Mac"
]
},
"highlight": {
"host.architecture": [
"@kibana-highlighted-field@arm64@/kibana-highlighted-field@"
],
"service.name": [
"@kibana-highlighted-field@test@/kibana-highlighted-field@"
],
"service.framework.name": [
"@kibana-highlighted-field@starlette@/kibana-highlighted-field@"
],
"processor.name": [
"@kibana-highlighted-field@transaction@/kibana-highlighted-field@"
],
"agent.version": [
"@[email protected]@/kibana-highlighted-field@"
]
},
"sort": [
1645077472362
]
}
Describe the bug: HTTP status code is missing when using agent versions > 6.2.3 and Starlette
To Reproduce
Environment (please complete the following information)
Additional context
Add any other context about the problem here.
Agent config options
Click to expand
requirements.txt:Click to expand
Example APM JSON document using agent 6.7.2:
Details
Example APM JSON document using agent 6.2.3:
Details