Class NetworkMonitoringConfiguration

  • All Implemented Interfaces:
    io.opentelemetry.android.agent.dsl.instrumentation.CanBeEnabledAndDisabled

    
    public final class NetworkMonitoringConfiguration
     implements CanBeEnabledAndDisabled
                        

    Type-safe config DSL that controls how network request instrumentation should behave.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit addAttributesExtractor(NetworkAttributesExtractor value) Supplies an attributes extractor, which can be used to customise the attributes on the network telemetry.
      Unit enabled(Boolean enabled) Controls whether this feature is enabled or not.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • addAttributesExtractor

         final Unit addAttributesExtractor(NetworkAttributesExtractor value)

        Supplies an attributes extractor, which can be used to customise the attributes on the network telemetry.