List tables/metrics using information_schema in source command. by vamsimanohar · Pull Request #914 · opensearch-project/sql · GitHub
Skip to content

List tables/metrics using information_schema in source command.#914

Merged
vamsimanohar merged 1 commit into
opensearch-project:2.xfrom
vamsimanohar:describe-table-prometheus
Oct 28, 2022
Merged

List tables/metrics using information_schema in source command.#914
vamsimanohar merged 1 commit into
opensearch-project:2.xfrom
vamsimanohar:describe-table-prometheus

Conversation

@vamsimanohar

@vamsimanohar vamsimanohar commented Oct 13, 2022

Copy link
Copy Markdown
Member

Signed-off-by: vamsi-amazon reddyvam@amazon.com

Description

List Metrics using information_schema in source command.
Example commands.

List all tables/metrics.

  • source = prometheus.information_schema.tables

Issues Resolved

#986

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@vamsimanohar vamsimanohar force-pushed the describe-table-prometheus branch 2 times, most recently from 05f11cc to cce8352 Compare October 13, 2022 21:55
@vamsimanohar vamsimanohar changed the title Restricted catalog name to [a-zA-Z0-9_-] characters Describe Metric and List Metrics Changes Oct 13, 2022
@vamsimanohar vamsimanohar changed the title Describe Metric and List Metrics Changes Describe Metric and List Metrics(SHOW TABLES) Changes Oct 14, 2022
@vamsimanohar vamsimanohar changed the title Describe Metric and List Metrics(SHOW TABLES) Changes Describe TABLE(describe metric) and SHOW TABLES (List Metrics) Changes Oct 14, 2022
@vamsimanohar vamsimanohar force-pushed the describe-table-prometheus branch from cce8352 to 5984069 Compare October 14, 2022 03:38
@vamsimanohar vamsimanohar force-pushed the describe-table-prometheus branch 21 times, most recently from ac74d02 to 2481429 Compare October 21, 2022 10:21
@codecov-commenter

codecov-commenter commented Oct 21, 2022

Copy link
Copy Markdown

@vamsimanohar vamsimanohar force-pushed the describe-table-prometheus branch from 2481429 to 125b140 Compare October 21, 2022 10:43
@vamsimanohar vamsimanohar force-pushed the describe-table-prometheus branch 13 times, most recently from 6594124 to 67bd8a0 Compare October 24, 2022 19:34
@vamsimanohar vamsimanohar force-pushed the describe-table-prometheus branch 3 times, most recently from 67bd8a0 to 53cc24d Compare October 27, 2022 10:03
@vamsimanohar vamsimanohar marked this pull request as draft October 27, 2022 10:06
@vamsimanohar vamsimanohar force-pushed the describe-table-prometheus branch 5 times, most recently from 22b8459 to f274da7 Compare October 27, 2022 19:33
Comment thread docs/user/ppl/cmd/information_schema.rst Outdated
penghuo
penghuo previously approved these changes Oct 28, 2022
Comment thread core/src/main/java/org/opensearch/sql/analysis/model/CatalogName.java Outdated
Comment thread core/src/main/java/org/opensearch/sql/analysis/model/CatalogName.java Outdated
Signed-off-by: Vamsi Manohar <reddyvam@amazon.com>

@penghuo penghuo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks.

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

Labels

enhancement New feature or request v2.4.0 'Issues and PRs related to version v2.4.0'

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement List of metrics available in Prometheus with all the metadata Information

5 participants