Interface ISnapshotDecorator

  • All Known Implementing Classes:
    CFPlugin, JavaPlugin, MyPlugin, OtelPlugin

    public interface ISnapshotDecorator
    This type allows a plugin to provide additional attributes to captured snapshots.
    • Method Detail

      • decorate

        Resource decorate​(ISettings settings,
                          ISnapshotContext snapshot)
        This method is called by Deep after a snapshot is created.

        This method is executed inline with the tracepoint code.

        Parameters:
        settings - the current settings of Deep
        snapshot - the ISnapshotContext describing the snapshot
        Returns:
        a new Resource to be added to the snapshot, or null to do nothing