Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only map numeric HTTP status codes to request meta-data #337

Closed
danielmitterdorfer opened this issue Oct 26, 2017 · 0 comments
Closed

Only map numeric HTTP status codes to request meta-data #337

danielmitterdorfer opened this issue Oct 26, 2017 · 0 comments
Labels
bug Something's wrong :Metrics How metrics are stored, calculated or aggregated
Milestone

Comments

@danielmitterdorfer
Copy link
Member

On some occasions, the Python Elasticsearch client returns a non-numeric status code (like "N/A" or "TIMEOUT") in TransportError.status_code. Rally uses this value to populate the request meta-data field http-status which is mapped as numeric.

To avoid mapping errors when writing data to the metrics store, we should explicitly check whether the status code returned by the Python client is numeric.

@danielmitterdorfer danielmitterdorfer added :Metrics How metrics are stored, calculated or aggregated bug Something's wrong labels Oct 26, 2017
@danielmitterdorfer danielmitterdorfer added this to the 0.7.4 milestone Oct 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something's wrong :Metrics How metrics are stored, calculated or aggregated
Projects
None yet
Development

No branches or pull requests

1 participant