/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
import { ContainerTelemetryManager, ContainerEventTelemetryProducer, } from "../container/index.js";
/**
 * Starts creating {@link @fluidframework/fluid-telemetry#IFluidTelemetry} by transforming raw system events emitted by the specified container
 * into said telemetry and passing it onto to the specified {@link ITelemetryConsumer}
 *
 * @beta
 */
export const startTelemetry = (config) => {
    const telemetryProducer = new ContainerEventTelemetryProducer(config.containerId);
    new ContainerTelemetryManager(config.container, telemetryProducer, config.consumers);
};
//# sourceMappingURL=index.js.map