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

Data plugin README #78750

Merged
merged 25 commits into from
Oct 1, 2020
Merged

Data plugin README #78750

merged 25 commits into from
Oct 1, 2020

Conversation

lizozom
Copy link
Contributor

@lizozom lizozom commented Sep 29, 2020

Summary

Improve the data plugin README.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@lizozom lizozom added v8.0.0 Team:AppArch release_note:skip Skip the PR/issue when compiling release notes v7.10.0 labels Sep 29, 2020
@lizozom lizozom requested a review from a team as a code owner September 29, 2020 10:51
@lizozom lizozom self-assigned this Sep 29, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

@lizozom
Copy link
Contributor Author

lizozom commented Sep 29, 2020

@gchaps I'd like to update the line describing the data plugin in here too.
Do you know where should this be changed? Any suggestions for a better phrasing?

@Dosant
Copy link
Contributor

Dosant commented Sep 29, 2020

@gchaps I'd like to update the line describing the data plugin in here too.
Do you know where should this be changed? Any suggestions for a better phrasing?

@lizozom node scripts/build_plugin_list_docs

@ppisljar
Copy link
Member

should we also convert to asciidocs ?

@lizozom
Copy link
Contributor Author

lizozom commented Sep 29, 2020

@elasticmachine merge upstream

@lizozom
Copy link
Contributor Author

lizozom commented Sep 29, 2020

@ppisljar @Dosant done!

docs/developer/plugin-list.asciidoc Outdated Show resolved Hide resolved
src/plugins/data/README.md Outdated Show resolved Hide resolved
src/plugins/data/README.md Outdated Show resolved Hide resolved
src/plugins/data/README.md Outdated Show resolved Hide resolved
src/plugins/data/README.md Outdated Show resolved Hide resolved
src/plugins/data/README.md Outdated Show resolved Hide resolved
src/plugins/data/README.md Outdated Show resolved Hide resolved
src/plugins/data/README.md Outdated Show resolved Hide resolved
src/plugins/data/README.md Outdated Show resolved Hide resolved
src/plugins/data/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@gchaps gchaps left a comment

Choose a reason for hiding this comment

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

LGTM. Suggest using "high-level" and "low-level"

src/plugins/data/README.md Outdated Show resolved Hide resolved
src/plugins/data/README.md Outdated Show resolved Hide resolved
src/plugins/data/README.md Outdated Show resolved Hide resolved
Copy link
Member

@lukasolson lukasolson left a comment

Choose a reason for hiding this comment

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

Love this, such a good start to improve docs on our services. Added a few notes below that we should probably add at some point, but don't necessarily need to be in this PR.

const searchSource = await data.search.searchSource.create();
const searchResponse = await searchSource
.setParent(undefined)
Copy link
Member

Choose a reason for hiding this comment

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

Nit: Add a short explanation of how search source inherits from the root search source (global time filter) by default and explain that this overrides that default behavior


One benefit of using the low-level search API, is partial response support in X-Pack, allowing for a better and more responsive user experience.
In OSS only the final result is returned.
Copy link
Member

Choose a reason for hiding this comment

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

Nit: Add a note about how we also apply defaults from advanced settings/config.yml so that the consumer doesn't need to worry about these

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@lizozom lizozom merged commit 09226db into elastic:master Oct 1, 2020
lizozom added a commit to lizozom/kibana that referenced this pull request Oct 1, 2020
* data readme

* Delete old readme (other folders don't have a README of their own.

* generate asciidoc

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update README.md

* Update plugin-list.asciidoc

* gen plugin list

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: gchaps <[email protected]>
# Conflicts:
#	src/plugins/data/README.md
gmmorris added a commit to gmmorris/kibana that referenced this pull request Oct 1, 2020
* master: (36 commits)
  [I18n] fix eui tokens (elastic#78951)
  Changed the color of the confirm button in trusted app deletion dialog. (elastic#78768)
  Make the actual Vislib import async (elastic#78949)
  Fix ML conditionals links Cypress tests (elastic#78568)
  [Drilldowns][Docs] Communicate the visualization types that support drilldowns (elastic#78761)
  [UX] Improve page-load axis (elastic#78392)
  [SECURITY SOLUTIONS] Map embeddable working with index patterns selection (elastic#78610)
  Data plugin README (elastic#78750)
  [TSVB] Request validation error: [panels.0.series.0.metrics.0.percentiles.1.value] (elastic#79009)
  fixing api test (elastic#78964)
  [Task names in TaskManager] Rename "telemetry" to "usage" (elastic#78129)
  [Loggers] Rename "telemetry" to "usage" (elastic#78130)
  [Usage Collection] [schema] `ui_metric` (elastic#78827)
  [Actions][Jira] Set parent issue for Sub-task issue type (elastic#78772)
  [Discover] Unskip doc link functional test (elastic#78600)
  [ML] Functional tests - stabilize calendar edit tests (elastic#78950)
  [UX] Improve page responsive  (elastic#78759)
  [QA][Code Coverage] Team Assignment Docs Update (elastic#78890)
  [ML] Migrate machine learning URLs to BrowserRouter format for APM, Security, and Infra  (elastic#78209)
  [ts] enable "resolveJsonModule" and disable existing failures (elastic#78855)
  ...
lizozom added a commit that referenced this pull request Oct 1, 2020
* data readme

* Delete old readme (other folders don't have a README of their own.

* generate asciidoc

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update README.md

* Update plugin-list.asciidoc

* gen plugin list

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

* Update src/plugins/data/README.md

Co-authored-by: gchaps <[email protected]>

Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: gchaps <[email protected]>
# Conflicts:
#	src/plugins/data/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants