-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[feature] (Metric) add jni metrics for jdbc connection #41752
base: master
Are you sure you want to change the base?
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
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.
clang-tidy made some suggestions
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.
clang-tidy made some suggestions
748a1db
to
f9ecc88
Compare
TeamCity be ut coverage result: |
TeamCity be ut coverage result: |
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.
clang-tidy made some suggestions
TeamCity be ut coverage result: |
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.
Thank you for your contribution
fe/be-java-extensions/jdbc-scanner/src/main/java/org/apache/doris/jdbc/JdbcDataSource.java
Show resolved
Hide resolved
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.
clang-tidy made some suggestions
2523b1f
to
3ea940f
Compare
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.
clang-tidy made some suggestions
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.
clang-tidy made some suggestions
ba683eb
to
ff2a4ae
Compare
@hubgeter please review again,thks |
TeamCity be ut coverage result: |
run buildall |
TeamCity be ut coverage result: |
36f124d
to
557666c
Compare
4fd5036
to
e151909
Compare
regression-test/framework/src/main/groovy/org/apache/doris/regression/suite/Suite.groovy
Outdated
Show resolved
Hide resolved
run buildall |
run buildall |
run buildall |
run buildall |
run buildall |
run buildall |
1 similar comment
run buildall |
run buildall |
1 similar comment
run buildall |
run buildall |
run buildall |
TeamCity be ut coverage result: |
run buildall |
TeamCity be ut coverage result: |
TeamCity be ut coverage result: |
Proposed changes
jdbc scan and java udf use jni calls in BE, but lack a monitoring interface. This pr adds a monitoring interface and adds a monitoring of the number of jdbc connections
set enable_jni_metrics = true in be.conf
when we have a query of jdbc catalog , we can get a metric
Issue Number: close #xxx