Class SpannerRpcViews

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

public static void registerGfeHeaderMissingCountView()

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

public static void registerGfeLatencyAndHeaderMissingCountViews()

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

public static void registerGfeLatencyView()

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