auth
무료Authentication and authorization patterns for Rossoctl services
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
OpenTelemetry GenAI semantic conventions for agent instrumentation - the standard attributes for LLM observability
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
실행 점수 미검증
설치 방법 보기설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.
Reference for instrumenting agents with OpenTelemetry GenAI semantic conventions.
Spec: https://opentelemetry.io/docs/specs/semconv/gen-ai/
Agent (gen_ai.* only) → OTEL Collector → Transform → Phoenix (llm.*) + MLflow (mlflow.trace.*)
Agents emit only gen_ai.* attributes. The OTEL Collector transforms these to:
llm.*) for Phoenixmlflow.trace.*) for MLflow session tracking| Attribute | Type | Description | Example |
|---|---|---|---|
gen_ai.system | string | GenAI provider/system | openai, anthropic, langchain |
gen_ai.request.model | string | Model requested | gpt-4, claude-3-opus |
gen_ai.request.max_tokens | int | Max tokens to generate | 1024 |
gen_ai.request.temperature | float | Sampling temperature | 0.7 |
gen_ai.request.top_p | float | Nucleus sampling | 0.9 |
| Attribute | Type | Description | Example |
|---|---|---|---|
gen_ai.response.model | string | Model that responded | gpt-4-0613 |
gen_ai.response.id | string | Response identifier | chatcmpl-abc123 |
gen_ai.response.finish_reasons | string[] | Why generation stopped | ["stop"] |
gen_ai.usage.input_tokens | int | Prompt tokens | 150 |
gen_ai.usage.output_tokens | int | Completion tokens | 250 |
| Attribute | Type | Description | Example |
|---|---|---|---|
gen_ai.conversation.id | string | Session/conversation ID | uuid-123-456 |
gen_ai.prompt | string | User prompt (truncated) | What is the weather? |
gen_ai.completion | string | Response (truncated) | The weather is sunny |
| Attribute | Type | Description | Example |
|---|---|---|---|
gen_ai.agent.name | string | Agent name | weather-assistant |
gen_ai.agent.id | string | Agent/task ID | task-uuid-789 |
# Install: pip install opentelemetry-instrumentation-openai
from opentelemetry.instrumentation.openai import OpenAIInstrumentor
# Instruments all OpenAI SDK calls automatically
OpenAIInstrumentor().instrument()
from opentelemetry import trace
tracer = trace.get_tracer(__name__)
with tracer.start_as_current_span(
"gen_ai.agent.invoke",
attributes={
"gen_ai.conversation.id": context_id,
"gen_ai.agent.name": "my-agent",
"gen_ai.system": "langchain",
"gen_ai.request.model": "gpt-4",
"gen_ai.prompt": user_input[:500], # Truncate for size
}
) as span:
# Agent logic here
result = await agent.run(user_input)
# Add response attributes
span.set_attribute("gen_ai.completion", str(result)[:500])
current_span = trace.get_current_span()
if current_span and current_span.is_recording():
current_span.set_attribute("gen_ai.conversation.id", session_id)
current_span.set_attribute("gen_ai.agent.name", "weather-assistant")
The collector transforms gen_ai.* to target formats:
| GenAI Attribute | OpenInference Attribute |
|---|---|
gen_ai.request.model | llm.model_name |
gen_ai.usage.input_tokens | llm.token_count.prompt |
gen_ai.usage.output_tokens | llm.token_count.completion |
gen_ai.system | llm.provider, llm.system |
| GenAI Attribute | MLflow Metadata |
|---|---|
gen_ai.conversation.id | mlflow.trace.session (resource) |
Span name gen_ai.agent.* | mlflow.spanType=AGENT |
Span with gen_ai.request.model | mlflow.spanType=LLM |
Span name gen_ai.tool.* | mlflow.spanType=TOOL |
Use GenAI operation names for spans:
| Operation | Span Name |
|---|---|
| Agent invocation | gen_ai.agent.invoke |
| LLM chat completion | gen_ai.chat |
| Tool call | gen_ai.tool.{tool_name} |
| Embedding | gen_ai.embeddings |
gen_ai.conversation.id for session tracking in MLflowllm.*) directly - let the collector transform# pyproject.toml
dependencies = [
"opentelemetry-sdk",
"opentelemetry-exporter-otlp",
"opentelemetry-instrumentation-openai>=0.34b0", # For OpenAI auto-instrumentation
]
auth:otel-oauth2-exporter - Configure OTel Collector with OAuth2k8s:health - Platform health including observability components아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.
로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.
아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.
Authentication and authorization patterns for Rossoctl services
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Create confidential OAuth2 clients in Keycloak for server-to-service authentication
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Configure MLflow with mlflow-oidc-auth plugin for Keycloak OIDC authentication
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Configure OpenTelemetry Collector with OAuth2 authentication for trace export
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
CI pipeline monitoring, status checks, and PR validation workflows
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.
Monitor running CI jobs, wait for completion, create tasks for results
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.