Class AnrReporterConfiguration

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

    
    public final class AnrReporterConfiguration
     implements WithEventAttributes<Array<StackTraceElement>>, CanBeEnabledAndDisabled
                        

    Type-safe config DSL that controls how ANR 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
      Unit addAttributesExtractor(EventAttributesExtractor<Array<StackTraceElement>> value) Supplies an EventAttributesExtractor which can be used to customise the attributes on an event.
      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