Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ClickHouse launches Claude-powered Agents and House Mates partner program at Open House 2026 Read more →
用于 ClickStack 的 Deno SDK - ClickHouse 可观测性栈
std/log
import * as log from 'https://deno.land/std@0.203.0/log/mod.ts'; import { OpenTelemetryHandler } from 'npm:@hyperdx/deno'; log.setup({ handlers: { otel: new OpenTelemetryHandler('DEBUG'), }, loggers: { 'my-otel-logger': { level: 'DEBUG', handlers: ['otel'], }, }, }); log.getLogger('my-otel-logger').info('Hello from Deno!');
OTEL_EXPORTER_OTLP_ENDPOINT=http://your-otel-collector:4318 \ OTEL_SERVICE_NAME="<NAME_OF_YOUR_APP_OR_SERVICE>" \ deno run --allow-net --allow-env --allow-read --allow-sys --allow-run app.ts
OTEL_EXPORTER_OTLP_HEADERS="authorization=<YOUR_INGESTION_API_KEY>" \ OTEL_EXPORTER_OTLP_ENDPOINT=http://your-otel-collector:4318 \ OTEL_SERVICE_NAME="<NAME_OF_YOUR_APP_OR_SERVICE>" \ deno run --allow-net --allow-env --allow-read --allow-sys --allow-run app.ts
此页面对您有帮助吗?