mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-08-03 04:10:48 +08:00
Remove http.status_text from span attributes (#406)
This commit is contained in:
@ -35,7 +35,6 @@ def expected_attributes(override_attributes):
|
||||
"http.host": "localhost",
|
||||
"http.target": "/",
|
||||
"http.flavor": "1.1",
|
||||
"http.status_text": "OK",
|
||||
"http.status_code": 200,
|
||||
}
|
||||
for key, val in override_attributes.items():
|
||||
@ -138,7 +137,6 @@ class TestProgrammatic(InstrumentationTest, TestBase, WsgiTestBase):
|
||||
{
|
||||
"http.method": "POST",
|
||||
"http.target": "/bye",
|
||||
"http.status_text": "NOT FOUND",
|
||||
"http.status_code": 404,
|
||||
}
|
||||
)
|
||||
@ -157,7 +155,6 @@ class TestProgrammatic(InstrumentationTest, TestBase, WsgiTestBase):
|
||||
{
|
||||
"http.target": "/hello/500",
|
||||
"http.route": "/hello/<int:helloid>",
|
||||
"http.status_text": "INTERNAL SERVER ERROR",
|
||||
"http.status_code": 500,
|
||||
}
|
||||
)
|
||||
|
Reference in New Issue
Block a user