integrations/opentelemetry #588
Replies: 1 comment 1 reply
-
How to properly configure open-telemetry? I did import { opentelemetry } from '@elysiajs/opentelemetry'
import { BatchSpanProcessor } from '@opentelemetry/sdk-trace-node'
import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-proto'
import { config } from '../common/config'
export const telemetryConfig = opentelemetry({
spanProcessors: [
new BatchSpanProcessor(
new OTLPTraceExporter({
url: 'https://api.axiom.co/v1/traces',
headers: {
Authorization: `Bearer ${config.AXIOM_TOKEN}`,
'X-Axiom-Dataset': config.AXIOM_DATASET!
}
})
)
]
}) and i wont get all of the information in axiom like the screenshots? i am i missing something? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
integrations/opentelemetry
Plugin for Elysia that adds support for OpenTelemetry. Start by installing the plugin with "bun add @elysiajs/opentelemetry".
https://elysiajs.com/integrations/opentelemetry.html
Beta Was this translation helpful? Give feedback.
All reactions