Broadly, it needs to pass a span identifier across from the caller to the plugin. Probably something to do with OpenTracing. Details left as an exercise.