Interface TracingOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Tracing, Tracing.Builder

public interface TracingOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set.
    Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set.
    getCustomTags(int index)
    A list of custom tags with unique tag name to create tags for the active span.
    int
    A list of custom tags with unique tag name to create tags for the active span.
    A list of custom tags with unique tag name to create tags for the active span.
    A list of custom tags with unique tag name to create tags for the active span.
    A list of custom tags with unique tag name to create tags for the active span.
    The operation name of the span which will be used for tracing.
    com.google.protobuf.ByteString
    The operation name of the span which will be used for tracing.
    Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling).
    Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling).
    Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced.
    Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced.
    The operation name of the upstream span which will be used for tracing.
    com.google.protobuf.ByteString
    The operation name of the upstream span which will be used for tracing.
    boolean
    Target percentage of requests managed by this HTTP connection manager that will be force traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>` header is set.
    boolean
    Target percentage of requests managed by this HTTP connection manager that will be traced after all other sampling checks have been applied (client-directed, force tracing, random sampling).
    boolean
    Target percentage of requests managed by this HTTP connection manager that will be randomly selected for trace generation, if not requested by the client or not forced.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasClientSampling

      boolean hasClientSampling()
       Target percentage of requests managed by this HTTP connection manager that will be force
       traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>`
       header is set. This field is a direct analog for the runtime variable
       'tracing.client_enabled' in the :ref:`HTTP Connection Manager
       <config_http_conn_man_runtime>`.
       Default: 100%
       
      .envoy.type.v3.FractionalPercent client_sampling = 1;
      Returns:
      Whether the clientSampling field is set.
    • getClientSampling

      FractionalPercent getClientSampling()
       Target percentage of requests managed by this HTTP connection manager that will be force
       traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>`
       header is set. This field is a direct analog for the runtime variable
       'tracing.client_enabled' in the :ref:`HTTP Connection Manager
       <config_http_conn_man_runtime>`.
       Default: 100%
       
      .envoy.type.v3.FractionalPercent client_sampling = 1;
      Returns:
      The clientSampling.
    • getClientSamplingOrBuilder

      FractionalPercentOrBuilder getClientSamplingOrBuilder()
       Target percentage of requests managed by this HTTP connection manager that will be force
       traced if the :ref:`x-client-trace-id <config_http_conn_man_headers_x-client-trace-id>`
       header is set. This field is a direct analog for the runtime variable
       'tracing.client_enabled' in the :ref:`HTTP Connection Manager
       <config_http_conn_man_runtime>`.
       Default: 100%
       
      .envoy.type.v3.FractionalPercent client_sampling = 1;
    • hasRandomSampling

      boolean hasRandomSampling()
       Target percentage of requests managed by this HTTP connection manager that will be randomly
       selected for trace generation, if not requested by the client or not forced. This field is
       a direct analog for the runtime variable 'tracing.random_sampling' in the
       :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`.
       Default: 100%
       
      .envoy.type.v3.FractionalPercent random_sampling = 2;
      Returns:
      Whether the randomSampling field is set.
    • getRandomSampling

      FractionalPercent getRandomSampling()
       Target percentage of requests managed by this HTTP connection manager that will be randomly
       selected for trace generation, if not requested by the client or not forced. This field is
       a direct analog for the runtime variable 'tracing.random_sampling' in the
       :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`.
       Default: 100%
       
      .envoy.type.v3.FractionalPercent random_sampling = 2;
      Returns:
      The randomSampling.
    • getRandomSamplingOrBuilder

      FractionalPercentOrBuilder getRandomSamplingOrBuilder()
       Target percentage of requests managed by this HTTP connection manager that will be randomly
       selected for trace generation, if not requested by the client or not forced. This field is
       a direct analog for the runtime variable 'tracing.random_sampling' in the
       :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`.
       Default: 100%
       
      .envoy.type.v3.FractionalPercent random_sampling = 2;
    • hasOverallSampling

      boolean hasOverallSampling()
       Target percentage of requests managed by this HTTP connection manager that will be traced
       after all other sampling checks have been applied (client-directed, force tracing, random
       sampling). This field functions as an upper limit on the total configured sampling rate. For
       instance, setting client_sampling to 100% but overall_sampling to 1% will result in only 1%
       of client requests with the appropriate headers to be force traced. This field is a direct
       analog for the runtime variable 'tracing.global_enabled' in the
       :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`.
       Default: 100%
       
      .envoy.type.v3.FractionalPercent overall_sampling = 3;
      Returns:
      Whether the overallSampling field is set.
    • getOverallSampling

      FractionalPercent getOverallSampling()
       Target percentage of requests managed by this HTTP connection manager that will be traced
       after all other sampling checks have been applied (client-directed, force tracing, random
       sampling). This field functions as an upper limit on the total configured sampling rate. For
       instance, setting client_sampling to 100% but overall_sampling to 1% will result in only 1%
       of client requests with the appropriate headers to be force traced. This field is a direct
       analog for the runtime variable 'tracing.global_enabled' in the
       :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`.
       Default: 100%
       
      .envoy.type.v3.FractionalPercent overall_sampling = 3;
      Returns:
      The overallSampling.
    • getOverallSamplingOrBuilder

      FractionalPercentOrBuilder getOverallSamplingOrBuilder()
       Target percentage of requests managed by this HTTP connection manager that will be traced
       after all other sampling checks have been applied (client-directed, force tracing, random
       sampling). This field functions as an upper limit on the total configured sampling rate. For
       instance, setting client_sampling to 100% but overall_sampling to 1% will result in only 1%
       of client requests with the appropriate headers to be force traced. This field is a direct
       analog for the runtime variable 'tracing.global_enabled' in the
       :ref:`HTTP Connection Manager <config_http_conn_man_runtime>`.
       Default: 100%
       
      .envoy.type.v3.FractionalPercent overall_sampling = 3;
    • getCustomTagsList

      List<CustomTag> getCustomTagsList()
       A list of custom tags with unique tag name to create tags for the active span.
       It will take effect after merging with the :ref:`corresponding configuration
       <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.custom_tags>`
       configured in the HTTP connection manager. If two tags with the same name are configured
       each in the HTTP connection manager and the route level, the one configured here takes
       priority.
       
      repeated .envoy.type.tracing.v3.CustomTag custom_tags = 4;
    • getCustomTags

      CustomTag getCustomTags(int index)
       A list of custom tags with unique tag name to create tags for the active span.
       It will take effect after merging with the :ref:`corresponding configuration
       <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.custom_tags>`
       configured in the HTTP connection manager. If two tags with the same name are configured
       each in the HTTP connection manager and the route level, the one configured here takes
       priority.
       
      repeated .envoy.type.tracing.v3.CustomTag custom_tags = 4;
    • getCustomTagsCount

      int getCustomTagsCount()
       A list of custom tags with unique tag name to create tags for the active span.
       It will take effect after merging with the :ref:`corresponding configuration
       <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.custom_tags>`
       configured in the HTTP connection manager. If two tags with the same name are configured
       each in the HTTP connection manager and the route level, the one configured here takes
       priority.
       
      repeated .envoy.type.tracing.v3.CustomTag custom_tags = 4;
    • getCustomTagsOrBuilderList

      List<? extends CustomTagOrBuilder> getCustomTagsOrBuilderList()
       A list of custom tags with unique tag name to create tags for the active span.
       It will take effect after merging with the :ref:`corresponding configuration
       <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.custom_tags>`
       configured in the HTTP connection manager. If two tags with the same name are configured
       each in the HTTP connection manager and the route level, the one configured here takes
       priority.
       
      repeated .envoy.type.tracing.v3.CustomTag custom_tags = 4;
    • getCustomTagsOrBuilder

      CustomTagOrBuilder getCustomTagsOrBuilder(int index)
       A list of custom tags with unique tag name to create tags for the active span.
       It will take effect after merging with the :ref:`corresponding configuration
       <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.custom_tags>`
       configured in the HTTP connection manager. If two tags with the same name are configured
       each in the HTTP connection manager and the route level, the one configured here takes
       priority.
       
      repeated .envoy.type.tracing.v3.CustomTag custom_tags = 4;
    • getOperation

      String getOperation()
       The operation name of the span which will be used for tracing.
      
       The same :ref:`format specifier <config_access_log_format>` as used for
       :ref:`HTTP access logging <config_access_log>` applies here, however
       unknown specifier values are replaced with the empty string instead of ``-``.
      
       This field will take precedence over and make following settings ineffective:
      
       * :ref:`route decorator <envoy_v3_api_field_config.route.v3.Route.decorator>`.
       * :ref:`x-envoy-decorator-operation <config_http_filters_router_x-envoy-decorator-operation>`.
       * :ref:`HCM tracing operation
         <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.operation>`.
       
      string operation = 5;
      Returns:
      The operation.
    • getOperationBytes

      com.google.protobuf.ByteString getOperationBytes()
       The operation name of the span which will be used for tracing.
      
       The same :ref:`format specifier <config_access_log_format>` as used for
       :ref:`HTTP access logging <config_access_log>` applies here, however
       unknown specifier values are replaced with the empty string instead of ``-``.
      
       This field will take precedence over and make following settings ineffective:
      
       * :ref:`route decorator <envoy_v3_api_field_config.route.v3.Route.decorator>`.
       * :ref:`x-envoy-decorator-operation <config_http_filters_router_x-envoy-decorator-operation>`.
       * :ref:`HCM tracing operation
         <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.operation>`.
       
      string operation = 5;
      Returns:
      The bytes for operation.
    • getUpstreamOperation

      String getUpstreamOperation()
       The operation name of the upstream span which will be used for tracing.
       This only takes effect when ``spawn_upstream_span`` is set to true and the upstream
       span is created.
      
       The same :ref:`format specifier <config_access_log_format>` as used for
       :ref:`HTTP access logging <config_access_log>` applies here, however
       unknown specifier values are replaced with the empty string instead of ``-``.
      
       This field will take precedence over and make following settings ineffective:
      
       * :ref:`HCM tracing upstream operation
         <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.upstream_operation>`
       
      string upstream_operation = 6;
      Returns:
      The upstreamOperation.
    • getUpstreamOperationBytes

      com.google.protobuf.ByteString getUpstreamOperationBytes()
       The operation name of the upstream span which will be used for tracing.
       This only takes effect when ``spawn_upstream_span`` is set to true and the upstream
       span is created.
      
       The same :ref:`format specifier <config_access_log_format>` as used for
       :ref:`HTTP access logging <config_access_log>` applies here, however
       unknown specifier values are replaced with the empty string instead of ``-``.
      
       This field will take precedence over and make following settings ineffective:
      
       * :ref:`HCM tracing upstream operation
         <envoy_v3_api_field_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.Tracing.upstream_operation>`
       
      string upstream_operation = 6;
      Returns:
      The bytes for upstreamOperation.