// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0

using OpenTelemetry.Trace;

internal class MySampler : Sampler
{
    public override SamplingResult ShouldSample(in SamplingParameters param)
    {
        Console.WriteLine($"MySampler.ShouldSample({param.Name})");
        return new SamplingResult(SamplingDecision.RecordAndSample);
    }
}
