Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion comps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

import os

# Document
from comps.cores.proto.docarray import (
Audio2TextDoc,
Expand Down Expand Up @@ -49,7 +51,8 @@
from comps.cores.mega.micro_service import MicroService, register_microservice, opea_microservices

# Telemetry
from comps.cores.telemetry.opea_telemetry import opea_telemetry
if os.getenv("ENABLE_OPEA_TELEMETRY", "false").lower() == "true":
from comps.cores.telemetry.opea_telemetry import opea_telemetry

# Common
from comps.cores.common.component import OpeaComponent, OpeaComponentRegistry, OpeaComponentLoader
Expand Down