-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add session properties for prometheus connector #22368
Conversation
e335e3f
to
afaea47
Compare
@ebyhr , could you please have a look, I have added the reason for session properties in the description and updated the branch to latest. Thank you |
plugin/trino-prometheus/src/main/java/io/trino/plugin/prometheus/PrometheusConnector.java
Show resolved
Hide resolved
...n/trino-prometheus/src/main/java/io/trino/plugin/prometheus/PrometheusSessionProperties.java
Outdated
Show resolved
Hide resolved
...n/trino-prometheus/src/main/java/io/trino/plugin/prometheus/PrometheusSessionProperties.java
Show resolved
Hide resolved
...n/trino-prometheus/src/main/java/io/trino/plugin/prometheus/PrometheusSessionProperties.java
Outdated
Show resolved
Hide resolved
plugin/trino-prometheus/src/main/java/io/trino/plugin/prometheus/PrometheusSplitManager.java
Outdated
Show resolved
Hide resolved
...ino-prometheus/src/test/java/io/trino/plugin/prometheus/TestPrometheusSessionProperties.java
Outdated
Show resolved
Hide resolved
...n/trino-prometheus/src/main/java/io/trino/plugin/prometheus/PrometheusSessionProperties.java
Outdated
Show resolved
Hide resolved
...n/trino-prometheus/src/main/java/io/trino/plugin/prometheus/PrometheusSessionProperties.java
Outdated
Show resolved
Hide resolved
@ebyhr , please have a look, indentation is fixed. Thank you |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please follow the commit message guideline: https://github.com/trinodb/trino/blob/master/.github/DEVELOPMENT.md#format-git-commit-messages
Adding session properties for prometheus connector
Sizes of different metrics may differ, to run automated ETL pipelines efficiently we can set different values of session properties like query_chunk_size_duration and max_query_range_duration.
Adding ...
should be changed to Add ...
. Also, please wrap the commit body at 72 characters.
...n/trino-prometheus/src/main/java/io/trino/plugin/prometheus/PrometheusSessionProperties.java
Show resolved
Hide resolved
...n/trino-prometheus/src/main/java/io/trino/plugin/prometheus/PrometheusSessionProperties.java
Outdated
Show resolved
Hide resolved
@ebyhr , could you please have look at the changes. thank you |
plugin/trino-prometheus/src/test/java/io/trino/plugin/prometheus/TestPrometheusIntegration.java
Outdated
Show resolved
Hide resolved
plugin/trino-prometheus/src/test/java/io/trino/plugin/prometheus/TestPrometheusIntegration.java
Outdated
Show resolved
Hide resolved
@ebyhr , I will addd a TODO comment and also removed the testSessionProperties. |
Size of different metrics may differ hence adding the session properties
Adding the session properties support for Prometheus Connector.
Additional context and related issues
Sizes of different metrics may differ, to run automated ETL pipelines efficiently we can set different values of session properties like query_chunk_size_duration and max_query_range_duration.
Fixes #22319
Release notes
() This is not user-visible or is docs only, and no release notes are required.
(x) Release notes are required. Please propose a release note for me.
() Release notes are required, with the following suggested text: