func createOpenTracingActivitySpan(
	ctx context.Context,
	tracer opentracing.Tracer,
	start time.Time,
	activityType, workflowID, runID string,
) (context.Context, opentracing.Span) {
	tags := opentracing.Tags{
		workflowTag: workflowID,
		runTag:      runID,
	}
	return createOpenTracingSpan(ctx, tracer, start, activityType, tags)
}
createOpenTracingActivitySpan creates a new context with an activity started span
package internal
import (
	"context"
	"time"
	"github.com/opentracing/opentracing-go"
)
const (
	workflowTag = "cadenceWorkflowID"
	runTag = "cadenceRunID"
)
func createOpenTracingWorkflowSpan(
	ctx context.Context,
	tracer opentracing.Tracer,
	start time.Time,
	workflowType, workflowID string,
) (context.Context, opentracing.Span) {
	tags := opentracing.Tags{
		workflowTag: workflowID,
	}
	return createOpenTracingSpan(ctx, tracer, start, workflowType, tags)
}