Documentation Index
Fetch the complete documentation index at: https://private-7c7dfe99-page-updates.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
This guide Integrates the following:
Logging
Logging is supported by exporting a custom logger for the std/log module.
Example usage:
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!');
Run the application
Managed ClickStack
ClickStack Open Source
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