Skip to content

Rename Otelcollector to otlp #134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion docs/source/concepts/observability.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ limitations under the License.
The AgentIQ Observability Module provides support for configurable telemetry setup to do logging tracing and metrics for AgentIQ workflows.
- Enables users to configure telemetry options from a predefined list based on their preferences.
- Listens real-time usage statistics pushed by `IntermediateStepManager`.
- Translates the usage statistics to OpenTelemetry format and push to the configured provider/method. (e.g., phoenix, OTelCollector, console, file)
- Translates the usage statistics to OpenTelemetry format and push to the configured provider/method. (e.g., phoenix, otlp, console, file)

These features enable AgentIQ developers to test their workflows locally and integrate observability seamlessly.

Expand Down
8 changes: 4 additions & 4 deletions src/aiq/observability/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ async def phoenix_telemetry_exporter(config: PhoenixTelemetryExporter, builder:
logger.error("Error in Phoenix telemetry Exporter\n %s", ex, exc_info=True)


class OtelCollectorTelemetryExporter(TelemetryExporterBaseConfig, name="otelcollector"):
"""A telemetry exporter to transmit traces to externally hosted otel collector service."""
class OtlpTelemetryExporter(TelemetryExporterBaseConfig, name="otlp"):
"""A telemetry exporter to transmit traces to externally hosted otlp services."""

endpoint: str = Field(description="The otel endpoint to export telemetry traces.")
project: str = Field(description="The project name to group the telemetry traces.")


@register_telemetry_exporter(config_type=OtelCollectorTelemetryExporter)
async def otel_telemetry_exporter(config: OtelCollectorTelemetryExporter, builder: Builder):
@register_telemetry_exporter(config_type=OtlpTelemetryExporter)
async def otlp_telemetry_exporter(config: OtlpTelemetryExporter, builder: Builder):

from opentelemetry.exporter.otlp.proto.grpc.trace_exporter import OTLPSpanExporter

Expand Down