Class SpannerRpcViews


  • public class SpannerRpcViews
    extends Object
    • Field Detail

      • METHOD

        public static final io.opencensus.tags.TagKey METHOD
        TagKeys
      • 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_LATENCY
        GFE t4t7 latency extracted from server-timing header.
      • SPANNER_GFE_HEADER_MISSING_COUNT

        public static final io.opencensus.stats.Measure.MeasureLong SPANNER_GFE_HEADER_MISSING_COUNT
        Number of responses without the server-timing header.
      • viewManager

        public static io.opencensus.stats.ViewManager viewManager
    • Constructor Detail

      • SpannerRpcViews

        public SpannerRpcViews()
    • Method Detail

      • 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.
      • 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.