Replies: 1 comment 1 reply
|
Great idea with an otel template - can you open a PR against the https://github.com/solidjs/templates repo in the solid-start-v2 folder |
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.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I just want to share my minimal v2 OpenTelemetry example, based on the basic template. Please let me know if this can be improved.
package.json{ "name": "solid-start-v2-opentelemetry", "type": "module", "license": "MIT", "scripts": { "dev": "vite dev", "build": "vite build", "start": "node --import=./.output/server/_ssr/instrument.mjs .output/server/index.mjs" }, "dependencies": { "@opentelemetry/instrumentation-dns": "^0.64.0", "@opentelemetry/instrumentation-http": "^0.221.0", "@opentelemetry/instrumentation-net": "^0.65.0", "@opentelemetry/instrumentation-pino": "^0.67.0", "@opentelemetry/instrumentation-runtime-node": "^0.34.0", "@opentelemetry/instrumentation-undici": "^0.31.0", "@opentelemetry/resources": "^2.10.0", "@opentelemetry/sdk-logs": "^0.221.0", "@opentelemetry/sdk-metrics": "^2.10.0", "@opentelemetry/sdk-node": "^0.221.0", "@opentelemetry/sdk-trace-node": "^2.10.0", "@solidjs/meta": "^0.29.4", "@solidjs/router": "^1.0.0", "@solidjs/start": "^2.0.0", "import-in-the-middle": "^3.3.3", "nitro": "^3.0.260610-beta", "solid-js": "^1.9.14", "vite": "^8.0.0" }, "devDependencies": { "@types/node": "^26.1.2", "typescript": "^7.0.2" }, "engines": { "node": "26.6.0" }, "packageManager": "pnpm@11.20.0" }vite.config.tssrc/instrument.tssrc/shutdown.tsDockerfileTODO
❤️
All reactions