Class HttpViews

java.lang.Object
io.opencensus.contrib.http.util.HttpViews

public final class HttpViews extends Object
A helper class that allows users to register HTTP views easily.
Since:
0.13
  • Method Details

    • registerAllClientViews

      public static final void registerAllClientViews()
      Register all default client views.

      It is recommended to call this method before doing any HTTP call to avoid missing stats.

      Since:
      0.13
    • registerAllServerViews

      public static final void registerAllServerViews()
      Register all default server views.

      It is recommended to call this method before doing any HTTP call to avoid missing stats.

      Since:
      0.13
    • registerAllViews

      public static final void registerAllViews()
      Register all default views. Equivalent with calling registerAllClientViews() and registerAllServerViews().

      It is recommended to call this method before doing any HTTP call to avoid missing stats.

      Since:
      0.13