Skip to main content

LoongSuite VitaBench instrumentation

Project description

LoongSuite VitaBench Instrumentation

OpenTelemetry instrumentation for the VitaBench multi-domain simulation framework.

Installation

pip install loongsuite-instrumentation-vita

Usage

from opentelemetry.instrumentation.vita import VitaInstrumentor

VitaInstrumentor().instrument()

For GenAI semantic conventions and span-only message content capture, set:

export OTEL_SEMCONV_STABILITY_OPT_IN=gen_ai_latest_experimental
export OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=SPAN_ONLY

VitaBench With DashScope

VitaBench posts directly to the base_url configured in models.yaml, so the DashScope OpenAI-compatible endpoint must include /chat/completions. The API key must be supplied in the Authorization header.

default:
  base_url: https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions
  temperature: 0.0
  max_input_tokens: 8192
  headers:
    Content-Type: "application/json"
    Authorization: "Bearer ${OPENAI_API_KEY}"
models:
  - name: qwen3.6-plus
    max_tokens: 1024
    max_input_tokens: 8192

See examples/vitabench-dashscope for a runnable setup used by the Kubernetes benchmark deployment.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file loongsuite_instrumentation_vita-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for loongsuite_instrumentation_vita-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a8a9f8912190592e65fcb8ceacab0134a13e1b7a6f74b4dccb8c651f0608b29
MD5 defebe662fccc57e2a0cffa8974443af
BLAKE2b-256 1bb65d5c46ce9e9f2b551925239f784769157b4481177031a98d3cb5e4e32e3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for loongsuite_instrumentation_vita-0.6.0-py3-none-any.whl:

Publisher: loongsuite-release.yml on alibaba/loongsuite-python-agent

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page