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

Document meta-data returned by operations #1169

Merged

Conversation

danielmitterdorfer
Copy link
Member

With this commit we add a new meta data section to each operation in
the track reference documentation which documents which meta data are
returned. This information can be used to add assertions for custom
tracks. We also enhance a couple of existing runners so that they return
a dict structure instead of a tuple because only dicts are supported
for assertions.

Relates #1157

With this commit we add a new `meta data` section to each operation in
the track reference documentation which documents which meta data are
returned. This information can be used to add assertions for custom
tracks. We also enhance a couple of existing runners so that they return
a `dict` structure instead of a tuple because only `dicts` are supported
for assertions.

Relates elastic#1157
@danielmitterdorfer danielmitterdorfer added enhancement Improves the status quo :Docs Changes to the documentation labels Feb 3, 2021
@danielmitterdorfer danielmitterdorfer added this to the 2.0.4 milestone Feb 3, 2021
@danielmitterdorfer danielmitterdorfer self-assigned this Feb 3, 2021
@@ -457,135 +457,6 @@ async def __call__(self, es, params):
in ``benchmarks/driver``.
* ``request-timeout``: a non-negative float indicating the client-side timeout for the operation. If not present, defaults to
``None`` and potentially falls back to the global timeout setting.

Copy link
Member Author

Choose a reason for hiding this comment

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

As this would now duplicate user docs I've removed it here.

Copy link

@gingerwizard gingerwizard left a comment

Choose a reason for hiding this comment

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

LGTM.

@danielmitterdorfer danielmitterdorfer merged commit d9c2d59 into elastic:master Feb 3, 2021
@danielmitterdorfer danielmitterdorfer deleted the runner-meta-docs branch February 3, 2021 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Docs Changes to the documentation enhancement Improves the status quo
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants