Class SpannerRpcViews (6.62.0)

public class SpannerRpcViews

Inheritance

java.lang.Object > SpannerRpcViews

Static Fields

DATABASE_ID

public static final TagKey DATABASE_ID
Field Value
TypeDescription
io.opencensus.tags.TagKey

INSTANCE_ID

public static final TagKey INSTANCE_ID
Field Value
TypeDescription
io.opencensus.tags.TagKey

METHOD

public static final TagKey METHOD

TagKeys

Field Value
TypeDescription
io.opencensus.tags.TagKey

PROJECT_ID

public static final TagKey PROJECT_ID
Field Value
TypeDescription
io.opencensus.tags.TagKey

SPANNER_GFE_HEADER_MISSING_COUNT

public static final Measure.MeasureLong SPANNER_GFE_HEADER_MISSING_COUNT

Number of responses without the server-timing header.

Field Value
TypeDescription
io.opencensus.stats.Measure.MeasureLong

SPANNER_GFE_LATENCY

public static final Measure.MeasureLong SPANNER_GFE_LATENCY

GFE t4t7 latency extracted from server-timing header.

Field Value
TypeDescription
io.opencensus.stats.Measure.MeasureLong

viewManager

public static ViewManager viewManager
Field Value
TypeDescription
io.opencensus.stats.ViewManager

Static Methods

registerGfeHeaderMissingCountView() (deprecated)

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.

registerGfeLatencyAndHeaderMissingCountViews() (deprecated)

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() (deprecated)

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.

Constructors

SpannerRpcViews()

public SpannerRpcViews()