Skip to content

Commit

Permalink
feat: enabling worker observability
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Sep 26, 2024
1 parent e8249ed commit 4853aa8
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
Binary file modified bun.lockb
Binary file not shown.
19 changes: 11 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@
"@octokit/webhooks": "13.2.8",
"@octokit/webhooks-types": "7.5.1",
"@sinclair/typebox": "0.32.35",
"@sinclair/typebox-codegen": "0.10.5",
"@ubiquity-dao/ubiquibot-logger": "^1.3.1",
"ajv": "^8.17.1",
"dotenv": "16.4.5",
"hono": "4.4.13",
"smee-client": "2.0.1",
Expand All @@ -69,22 +71,19 @@
"yaml": "2.4.5"
},
"devDependencies": {
"@swc/core": "1.6.5",
"@swc/jest": "0.2.36",
"tsup": "8.1.0",
"@jest/globals": "29.7.0",
"@types/jest": "29.5.12",
"jest": "29.7.0",
"jest-junit": "16.0.0",
"@cloudflare/workers-types": "4.20240117.0",
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@cspell/dict-node": "5.0.1",
"@cspell/dict-software-terms": "3.4.6",
"@cspell/dict-typescript": "3.1.5",
"@eslint/js": "9.7.0",
"@jest/globals": "29.7.0",
"@mswjs/data": "0.16.1",
"@mswjs/http-middleware": "0.10.1",
"@swc/core": "1.6.5",
"@swc/jest": "0.2.36",
"@types/jest": "29.5.12",
"@types/node": "20.14.10",
"cspell": "8.9.0",
"esbuild": "0.23.0",
Expand All @@ -94,16 +93,20 @@
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-sonarjs": "1.0.3",
"husky": "9.0.11",
"jest": "29.7.0",
"jest-junit": "16.0.0",
"knip": "5.26.0",
"lint-staged": "15.2.7",
"npm-run-all": "4.1.5",
"prettier": "3.3.3",
"schema2typebox": "1.7.5",
"toml": "3.0.0",
"tomlify-j0.4": "3.0.0",
"tsup": "8.1.0",
"tsx": "4.16.2",
"typescript": "5.5.3",
"typescript-eslint": "7.16.0",
"wrangler": "3.64.0"
"wrangler": "3.78.10"
},
"lint-staged": {
"*.ts": [
Expand Down
4 changes: 4 additions & 0 deletions wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ compatibility_flags = [ "nodejs_compat" ]
binding = "PLUGIN_CHAIN_STATE"
id = "TO_BE_DEFINED"

# Enables Cloudflare Worker Logs
[observability]
enabled = true

# Variable bindings. These are arbitrary, plaintext strings (similar to environment variables)
# Note: Use secrets to store sensitive data.
# Docs: https://developers.cloudflare.com/workers/platform/environment-variables
Expand Down

0 comments on commit 4853aa8

Please sign in to comment.