-
Notifications
You must be signed in to change notification settings - Fork 554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(azure-functions): redirect console to azure context for logging #542
Closed
Closed
Changes from 1 commit
Commits
Show all changes
93 commits
Select commit
Hold shift + click to select a range
a1c7bbb
add a logging interceptor for azure context
mcremer-able e28b891
Don't intercept ,if we are already intercepting
mcremer-able 660acd1
docs: fix readme grammar (#813)
alvarlagerlof a1b2db9
docs: fix deprecated function in routing example (#816)
pschnyder d1b0cfb
docs: add new render deployment example & steps (#811)
connectshark a3492b0
fix(build): do not override publicAssets (#817)
antfu 3f8ca7a
feat(dev): support for `/_vfs.json` (#809)
antfu d256487
chore(deps): update devdependency @types/fs-extra to v11 (#814)
renovate[bot] 45b3abd
chore(deps): update all non-major dependencies (#810)
renovate[bot] dcc59c7
fix(dev): improve vfs ui (#802)
antfu 976d81d
chore(deps): update dependency mlly to ^1.1.0 (#820)
renovate[bot] 4654e59
fix: resolve and include scanDirs within `node_modules` for auto impoβ¦
yassilah 15edef0
style: lint code
pi0 e12dae1
chore(deps): update all non-major dependencies (#824)
renovate[bot] 5d5b62e
refactor: update `event.` to `event.node.` (#828)
cpreston321 bece791
fix(netlify, vercel): explicit server rendering with disabled cache/sβ¦
danielroe 84a65bc
docs: fix typo in code block (#830)
nexxeln ae708f0
chore(deps): update all non-major dependencies to ^0.27.1 (#831)
renovate[bot] 8194ee4
chore(deps): update all non-major dependencies (#832)
renovate[bot] c1df65e
feat(netlify): use esm entrypoint (#833)
danielroe 0211e60
chore: add lint fix command shortcut (#835)
danielroe 6585e8d
fix(prerender): check link's pathname only for extensions (#791)
dargmuesli ed3a480
fix(rumtime): disable server-timing header via options.timing (#823)
clarkdo 7517293
fix: avoid using file urls for normalized paths in options
pi0 2e43d30
ci: run tests against windows as well (#837)
danielroe bb9ac5b
chore: update lockfile
pi0 2ce4edb
fix: rollup treeshake is dump
pi0 0638f64
fix(externals): normalize `inline` and `external` windows paths
pi0 d23bc2d
chore(deps): update all non-major dependencies (#839)
renovate[bot] f812c81
chore(deps): update devdependency eslint to ^8.32.0 (#842)
renovate[bot] e7b250f
feat!: rewrite external copy with multi version hoisting support (#782)
pi0 5e484c3
fix(netlify, aws): omit cookies from v1 response (#834)
danielroe ca35421
fix: filter unique scanned handlers (#807)
yassilah b773ebe
docs: add cache base option example & description (#781)
LouisHaftmann b91db6f
feat: add `shouldInvalidateCache ` option to cache utils (#746)
yassilah d89fa5f
fix(nitro): resolve server asset dirs relative to `srcDir` (#825)
cpreston321 cf26c84
chore(deps): update all non-major dependencies (#847)
renovate[bot] bce44da
chore(deps): update all non-major dependencies (#848)
renovate[bot] 686a560
fix(public-assets): mock readAsset promise properly (#851)
harlan-zw 3d61ebf
feat: `edgio` preset (replacing `layer0`) (#858)
pi0 71576c0
feat: support `maxAge` for public assets (#860)
pi0 a52c832
test: update fixtures
pi0 456f82a
feat: support `staleMaxAge: -1` to always respond stale value (#857)
yassilah b77735e
fix(externals): avoid recursive package links
pi0 63e250d
chore(release): v2.0.0-rc.0
pi0 dc4e2f1
fix(prerender): update preview command to serve matching routes (#864)
danielroe 02556e6
chore: lint with `eslint --cache` and improve types in `.eslintrc` (#β¦
o-az 6b65508
fix(externals): support orphan files in `node_modules` (#865)
pi0 a5586f8
fix: avoid hiding original rollup error message
pi0 d0ab926
feat(externals): apply `production` condition to package.exports (#867)
pi0 724c709
feat: enable auto imports from `utils` dir (#866)
pi0 f5c387f
fix(cache): only update cache in storage once per pending request (#861)
yassilah c52d256
chore: update dependencies
pi0 246b726
chore: remove random import
pi0 5830bf3
chore(release): v2.0.0-rc.1
pi0 113d31e
fix: add node16 compatible type declaration (#868)
danielroe d73998e
fix(externals): improve multi version handling (#871)
pi0 5f142cc
chore(release): v2.0.0
pi0 f5a5a8e
feat: add `shouldBypassCache` option to cache utils (#874)
MiniDigger 61f0c7b
docs(deployment): heroku with nginx (#873)
adetayoadeyemi 872a301
docs(netlify): clarify placement of `_redirects` file (#870)
OlaAlsaker cd53d39
chore(deps): update dependency unimport to v2 (#869)
renovate[bot] 4193603
docs(digitalocean): update deployment guide (#862)
christopher4lis 2c52c62
feat(cache): allow async `getKey` option (#878)
MiniDigger 153f286
fix(scan): do not dedup middleware handlers (#880)
danielroe 6596c5f
fix(externals): use portable symlinks (#882)
pi0 963c587
chore: update dependencies
pi0 266e2ef
chore(release): v2.1.0
pi0 917c7e6
chore(deps): update pnpm to v7.26.0 (#884)
renovate[bot] 53d37db
chore(deps): update all non-major dependencies (#890)
renovate[bot] 762ee47
fix: resolve server assets dir relative to `srcDir` (#893)
danielroe 930438a
fix(prerender): encode urls passed to local fetch (#891)
manh-gntvn b77f082
chore: update unenv
pi0 50e1a8f
chore: format code
pi0 af0409f
chore(release): v2.1.1
pi0 a12e1e7
fix(types): allow narrowing of the method option in `NitroFetchOptionβ¦
dsluijk 40c21a2
chore(deps): update devdependency typescript to ^4.9.5 (#895)
renovate[bot] c784b87
fix(vercel-edge): add temporary workaround for β`process.cwdβ` usage β¦
harlan-zw f7eed65
fix(dev): don't overwrite proxy headers if already set (#896)
MikeBellika 881a0ba
fix: provide fallback string values for undefined `runtimeConfig` (#907)
danielroe 325e919
docs: fix heroku typo (#900)
clew-bot 10a7ee7
docs: fix stormkit images path (#903)
ralacerda 4d89e31
fix(vercel): allow non-glob cache rules to apply to `/` (#908)
danielroe dbb89a1
chore: update dependencies
pi0 78dd4f9
fix(externals): use stable dependency tree (#909)
pi0 a899f1d
docs: fix path for server assets (#917)
serkodev a459e1e
fix(dev): mount `src` and `root` as read-only by default (#920)
pi0 41884ba
chore(deps): update all non-major dependencies (#911)
renovate[bot] c45e4c9
spread params
mcremer-able e1e0114
add a logging interceptor for azure context
mcremer-able 1068b4e
Don't intercept ,if we are already intercepting
mcremer-able f5c9b36
spread params
mcremer-able c277c76
Merge branch 'main' of https://github.com/mcremer-able/nitro
mcremer-able File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this have issues with logs being associated to the wrong request if there are multiple parallel requests?
If not (that is, if there is only one aggregated logging bucket), then do we need to run this on every incoming request or could we early return if the interceptor has already been run?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I understand it, it is a single logging bucket for the whole function app.
We could optimize and dont intercept ,if we are already intercepting.
The gains do not outweight the potentiell bugs, in my opinion, with the added complexity we get.
I rather intercept twice than miss a critical log.