Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions