forked from phoenix-oss/llama-stack-mirror
* Simplified Telemetry API and tying it to logger * small update which adds a METRIC type * move span events one level down into structured log events --------- Co-authored-by: Ashwin Bharambe <ashwin@meta.com>
15 lines
427 B
Python
15 lines
427 B
Python
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
# All rights reserved.
|
|
#
|
|
# This source code is licensed under the terms described in the LICENSE file in
|
|
# the root directory of this source tree.
|
|
|
|
from .config import ConsoleConfig
|
|
|
|
|
|
async def get_provider_impl(config: ConsoleConfig, _deps):
|
|
from .console import ConsoleTelemetryImpl
|
|
|
|
impl = ConsoleTelemetryImpl(config)
|
|
await impl.initialize()
|
|
return impl
|