Package com.google.cloud.spanner.spi.v1
Class SpannerRpcViews
java.lang.Object
com.google.cloud.spanner.spi.v1.SpannerRpcViews
-
Field Summary
Modifier and TypeFieldDescriptionstatic final io.opencensus.tags.TagKey
static final io.opencensus.tags.TagKey
static final io.opencensus.tags.TagKey
TagKeysstatic final io.opencensus.tags.TagKey
static final io.opencensus.stats.Measure.MeasureLong
Number of responses without the server-timing header.static final io.opencensus.stats.Measure.MeasureLong
GFE t4t7 latency extracted from server-timing header.static io.opencensus.stats.ViewManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Deprecated.The OpenCensus project is deprecated.static void
Deprecated.The OpenCensus project is deprecated.static void
Deprecated.The OpenCensus project is deprecated.
-
Field Details
-
METHOD
public static final io.opencensus.tags.TagKey METHODTagKeys -
PROJECT_ID
public static final io.opencensus.tags.TagKey PROJECT_ID -
INSTANCE_ID
public static final io.opencensus.tags.TagKey INSTANCE_ID -
DATABASE_ID
public static final io.opencensus.tags.TagKey DATABASE_ID -
SPANNER_GFE_LATENCY
public static final io.opencensus.stats.Measure.MeasureLong SPANNER_GFE_LATENCYGFE t4t7 latency extracted from server-timing header. -
SPANNER_GFE_HEADER_MISSING_COUNT
public static final io.opencensus.stats.Measure.MeasureLong SPANNER_GFE_HEADER_MISSING_COUNTNumber of responses without the server-timing header. -
viewManager
public static io.opencensus.stats.ViewManager viewManager
-
-
Constructor Details
-
SpannerRpcViews
public SpannerRpcViews()
-
-
Method Details
-
registerGfeLatencyAndHeaderMissingCountViews
@ObsoleteApi("The OpenCensus project is deprecated. Use OpenTelemetry to get gfe_latency and gfe_header_missing_count metrics.") public static void registerGfeLatencyAndHeaderMissingCountViews()Deprecated.The OpenCensus project is deprecated. Use OpenTelemetry to get gfe_latency and gfe_header_missing_count metrics.Register views for GFE metrics, including gfe_latency and gfe_header_missing_count. gfe_latency measures the latency between Google's network receives an RPC and reads back the first byte of the response. gfe_header_missing_count is a counter of the number of RPC responses without a server-timing header. -
registerGfeLatencyView
@ObsoleteApi("The OpenCensus project is deprecated. Use OpenTelemetry to get gfe_latency and gfe_header_missing_count metrics.") public static void registerGfeLatencyView()Deprecated.The OpenCensus project is deprecated. Use OpenTelemetry to get gfe_latency and gfe_header_missing_count metrics.Register GFE Latency view. gfe_latency measures the latency between Google's network receives an RPC and reads back the first byte of the response. -
registerGfeHeaderMissingCountView
@ObsoleteApi("The OpenCensus project is deprecated. Use OpenTelemetry to get gfe_latency and gfe_header_missing_count metrics.") public static void registerGfeHeaderMissingCountView()Deprecated.The OpenCensus project is deprecated. Use OpenTelemetry to get gfe_latency and gfe_header_missing_count metrics.Register GFE Header Missing Count view. gfe_header_missing_count is a counter of the number of RPC responses without a server-timing header.
-