Program Listing for File always_on_factory.h
↰ Return to documentation for file (/home/docs/checkouts/readthedocs.org/user_builds/opentelemetry-cpp/checkouts/v1.8.1/sdk/include/opentelemetry/sdk/trace/samplers/always_on_factory.h
)
// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include <memory>
#include "opentelemetry/sdk/trace/sampler.h"
OPENTELEMETRY_BEGIN_NAMESPACE
namespace sdk
{
namespace trace
{
class AlwaysOnSamplerFactory
{
public:
static std::unique_ptr<Sampler> Create();
};
} // namespace trace
} // namespace sdk
OPENTELEMETRY_END_NAMESPACE