Class AtlassianInstrumentation

    • Constructor Detail

      • AtlassianInstrumentation

        public AtlassianInstrumentation()
    • Method Detail

      • registerFactory

        public static void registerFactory​(AtlassianInstrumentation.AtlasSplitFactory factory)
        Register a factory for use.
        Parameters:
        factory - the factory for use. If null, then no factory is registered.
      • unregisterFactory

        public static void unregisterFactory​(AtlassianInstrumentation.AtlasSplitFactory factory)
        Unregister a factory.
        Parameters:
        factory - the factory to unregister. If null, then no factory is unregistered.
      • startSplit

        public static AtlassianInstrumentation.AtlasSplit startSplit​(String name)
        Create a started split, using the registered factory. If no factory is registered, then a NOP instance is returned instead.
        Parameters:
        name - the name of the timer to associate the split time with.
        Returns:
        an instance for use. Will never be null.