Skip to content

Normalize http.response.status_code for Metrics & Alerts #8365

Closed
@krystofwoldrich

Description

@krystofwoldrich

Problem Statement

Solution Brainstorm

Related code:

public setHttpStatus(httpStatus: number): this {
this.setTag('http.status_code', String(httpStatus));
const spanStatus = spanStatusfromHttpCode(httpStatus);
if (spanStatus !== 'unknown_error') {
this.setStatus(spanStatus);
}
return this;
}

If the http.status_code tag is removed at the same time this could be a breaking change.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions