Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

feat: Byoid metrics framework - #1232

Merged
aeitzman merged 15 commits into
googleapis:mainfrom
aeitzman:byoid-metrics
Jul 14, 2023
Merged

feat: Byoid metrics framework#1232
aeitzman merged 15 commits into
googleapis:mainfrom
aeitzman:byoid-metrics

Conversation

@aeitzman

Copy link
Copy Markdown
Contributor

Adding metrics for BYOID credentials.

@aeitzman
aeitzman requested review from a team June 28, 2023 15:46
@product-auto-label product-auto-label Bot added the size: l Pull request size is large. label Jun 28, 2023
@aeitzman aeitzman changed the title Byoid metrics framework feat: Byoid metrics framework Jun 28, 2023
return "file";
} else {
return "url";
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shall we consider using operand here to make is more concise to increase readability?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Do you mean a ternary? I personally don't prefer them condition you are checking is long like this.

Comment thread oauth2_http/java/com/google/auth/oauth2/ByoidMetricsOptions.java Outdated
Comment thread oauth2_http/java/com/google/auth/oauth2/ByoidMetricsOptions.java Outdated
Comment thread oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java Outdated
Comment thread oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java Outdated
Comment thread oauth2_http/java/com/google/auth/oauth2/MetricsUtils.java Outdated
Comment thread oauth2_http/java/com/google/auth/oauth2/MetricsUtils.java Outdated
Comment thread oauth2_http/java/com/google/auth/oauth2/MetricsUtils.java Outdated
Comment thread oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java Outdated
Comment thread oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java Outdated
Comment thread oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java Outdated
aeitzman and others added 7 commits July 5, 2023 07:49
Co-authored-by: Leo <39062083+lsirac@users.noreply.github.com>
Co-authored-by: Leo <39062083+lsirac@users.noreply.github.com>
Co-authored-by: Leo <39062083+lsirac@users.noreply.github.com>
@aeitzman aeitzman added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jul 6, 2023
@aeitzman
aeitzman requested review from arithmetic1728 and removed request for arithmetic1728 July 7, 2023 19:04
Comment thread oauth2_http/java/com/google/auth/oauth2/ByoidMetricsHandler.java Outdated
Comment thread oauth2_http/java/com/google/auth/oauth2/ByoidMetricsHandler.java Outdated
@sonarqubecloud

sonarqubecloud Bot commented Jul 7, 2023

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@TimurSadykov TimurSadykov left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@aeitzman aeitzman removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Jul 14, 2023
@aeitzman
aeitzman merged commit 38bdf60 into googleapis:main Jul 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants