Line the bottom of a slow cooker with carrots and onions.
Season pork tenderloin liberally with salt and pepper and place over carrots and onion slices.
In a medium mixing bowl, whisk together stock, preserves, mustard and thyme leaves. Salt and pepper to taste.
Pour glaze mixture over tenderloin. Cover and cook on low for 6 hours, or until tender.