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

Cat tasks output should respect time display settings #54536

Merged
merged 2 commits into from
Apr 2, 2020

Conversation

jbaiera
Copy link
Member

@jbaiera jbaiera commented Mar 31, 2020

The _cat/tasks endpoint was previously reporting running_time as a String instead of a TimeValue, which meant that attempts to update its display format with the time=s parameter were ignored.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/CAT APIs)

Copy link
Contributor

@jakelandis jakelandis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jbaiera
Copy link
Member Author

jbaiera commented Apr 2, 2020

@elasticmachine update branch

@jbaiera jbaiera merged commit 701ef94 into elastic:master Apr 2, 2020
@jbaiera jbaiera deleted the fix-cat-tasks-time-setting branch April 2, 2020 20:07
jbaiera added a commit to jbaiera/elasticsearch that referenced this pull request Apr 3, 2020
jbaiera added a commit to jbaiera/elasticsearch that referenced this pull request Apr 3, 2020
jbaiera added a commit to jbaiera/elasticsearch that referenced this pull request Apr 3, 2020
@jbaiera jbaiera added the v6.8.9 label Apr 6, 2020
@bpintea bpintea added v7.7.0 and removed v7.7.1 labels Apr 21, 2020
@jakelandis jakelandis removed the v8.0.0 label Jul 26, 2021
@hackery
Copy link

hackery commented Jan 27, 2022

Does this also make it sort correctly with ...&s=running_time ? In 7.4 I see it sorting alphanumerically, like

1.2ms
10.2s
2.1h
3.6ns

... aha, yes - so it perhaps closes #35840, although there it says that this is documented behavior :)

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

Successfully merging this pull request may close these issues.

None yet

5 participants