Skip to content

Change the http.response.status_code for spans to int #6327

@philipphofmann

Description

@philipphofmann

Description

According to our spec in the develop docs the http.response.status_code must be an int, but we send it as a string.

[netSpan setDataValue:[NSString stringWithFormat:@"%@", statusCode]
forKey:@"http.response.status_code"];

Maybe worth double checking if we have other places in the SDK, that use NSString as well for status_code.

Metadata

Metadata

Assignees

Labels

Breaking-changeshould go in a major release (breaks apps, changes default configs in a major way)BugCocoa

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions