Skip to content
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

docs: clean up BetaApi annotations from built in metrics API #1741

Merged
merged 1 commit into from
May 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,7 @@ public static void enableGfeOpenCensusStats() {
com.google.cloud.bigtable.data.v2.stub.metrics.RpcViews.registerBigtableClientGfeViews();
}

/**
* Register built in metrics.
*
* <p>This is an experimental feature. Please fill up this form to have your project allow listed
* for the private preview: https://forms.gle/xuhu6vCunn2MjV2m9
*/
@BetaApi("Built in metric is not currently stable and may change in the future")
/** Register built in metrics. */
public static void enableBuiltinMetrics() throws IOException {
if (BUILTIN_METRICS_REGISTERED.compareAndSet(false, true)) {
BuiltinViews.registerBigtableBuiltinViews();
Expand All @@ -214,11 +208,7 @@ public static void enableBuiltinMetrics() throws IOException {
/**
* Register built in metrics with credentials. The credentials need to have metric write access
* for all the projects you're publishing to.
*
* <p>This is an experimental feature. Please fill up this form to have your project allow listed
* for the private preview: https://forms.gle/xuhu6vCunn2MjV2m9
*/
@BetaApi("Built in metric is not currently stable and may change in the future")
public static void enableBuiltinMetrics(Credentials credentials) throws IOException {
if (BUILTIN_METRICS_REGISTERED.compareAndSet(false, true)) {
BuiltinViews.registerBigtableBuiltinViews();
Expand Down