Skip to content

Conversation

@turboFei
Copy link
Member

@turboFei turboFei commented Dec 25, 2024

Why are the changes needed?

Add metrics for SSL keystore expiration, then we can add alert if the keystore will expire in 1 month.

How was this patch tested?

Integration testing.
image

Was this patch authored or co-authored using generative AI tooling?

No.

@codecov-commenter
Copy link

codecov-commenter commented Dec 25, 2024

Codecov Report

Attention: Patch coverage is 0% with 36 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (aa33521) to head (77c6db0).
Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
...c/main/scala/org/apache/kyuubi/util/SSLUtils.scala 0.00% 20 Missing ⚠️
...che/kyuubi/server/KyuubiTHttpFrontendService.scala 0.00% 8 Missing ⚠️
...apache/kyuubi/service/TBinaryFrontendService.scala 0.00% 6 Missing ⚠️
...e/kyuubi/server/KyuubiTBinaryFrontendService.scala 0.00% 2 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##           master   #6866   +/-   ##
======================================
  Coverage    0.00%   0.00%           
======================================
  Files         687     688    +1     
  Lines       42504   42545   +41     
  Branches     5798    5800    +2     
======================================
- Misses      42504   42545   +41     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@turboFei turboFei force-pushed the keystore_expire branch 2 times, most recently from 9335f05 to d550e91 Compare December 26, 2024 05:50
@turboFei turboFei requested a review from pan3793 December 26, 2024 05:53
@pan3793 pan3793 closed this in 53034a3 Dec 26, 2024
pan3793 pushed a commit that referenced this pull request Dec 26, 2024
### Why are the changes needed?

Add metrics for SSL keystore expiration, then we can add alert if the keystore will expire in 1 month.

### How was this patch tested?

Integration testing.
<img width="1721" alt="image" src="https://github.com/user-attachments/assets/f4ef6af6-923b-403c-a80d-06dbb80dbe1c" />

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #6866 from turboFei/keystore_expire.

Closes #6866

77c6db0 [Wang, Fei] Add metrics for SSL keystore expiration time #6866

Authored-by: Wang, Fei <[email protected]>
Signed-off-by: Cheng Pan <[email protected]>
(cherry picked from commit 53034a3)
Signed-off-by: Cheng Pan <[email protected]>
@pan3793 pan3793 added this to the v1.10.2 milestone Dec 26, 2024
@pan3793
Copy link
Member

pan3793 commented Dec 26, 2024

thanks, merged to master/1.10

@turboFei turboFei deleted the keystore_expire branch December 26, 2024 06:05
turboFei added a commit that referenced this pull request Dec 27, 2024
…ift binary SSL and thrift http SSL enabled

### Why are the changes needed?

Followup for #6866
It would throw exception if both thrift binary SSL and thrift http SSL enabled

### How was this patch tested?

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #6872 from turboFei/duplicate_gauge.

Closes #6866

ea35676 [Wang, Fei] prevent conflicts
982f175 [Wang, Fei] conflicts

Authored-by: Wang, Fei <[email protected]>
Signed-off-by: Wang, Fei <[email protected]>
turboFei added a commit that referenced this pull request Dec 27, 2024
…ift binary SSL and thrift http SSL enabled

### Why are the changes needed?

Followup for #6866
It would throw exception if both thrift binary SSL and thrift http SSL enabled

### How was this patch tested?

### Was this patch authored or co-authored using generative AI tooling?

No.

Closes #6872 from turboFei/duplicate_gauge.

Closes #6866

ea35676 [Wang, Fei] prevent conflicts
982f175 [Wang, Fei] conflicts

Authored-by: Wang, Fei <[email protected]>
Signed-off-by: Wang, Fei <[email protected]>
(cherry picked from commit 164df8d)
Signed-off-by: Wang, Fei <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants