-
Notifications
You must be signed in to change notification settings - Fork 23
Hive Logger #1030
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
Merged
Hive Logger #1030
Changes from all commits
Commits
Show all changes
157 commits
Select commit
Hold shift + click to select a range
97769d1
feat(opentelemetry): add support for b3 + jaeger + custom propagators…
EmrysMyrddin c5a5ac5
feat(opentelemetry): add support for b3 + jaeger + custom propagators…
EmrysMyrddin c07fa7b
feat(opentelemetry): add support for b3 + jaeger + custom propagators…
EmrysMyrddin 018f511
feat(opentelemetry): add support for b3 + jaeger + custom propagators…
EmrysMyrddin e6d749d
starter pack
enisdenjo a50fe26
more begin
enisdenjo 2c0a8f8
move around
enisdenjo 371285b
basic tests
enisdenjo 74c42c8
todo
enisdenjo 350a4ff
test no attrs
enisdenjo 5a83f4d
logger options
enisdenjo 5277e42
symbol things
enisdenjo d1856e2
allow any object as context
enisdenjo 5e2e487
more methods
enisdenjo d832e7d
todo
enisdenjo fc21686
some todos and attrval
enisdenjo bfd683e
docs
enisdenjo 8754b12
parent attrs
enisdenjo 9d8d0c8
remove context
enisdenjo fd8eb84
child
enisdenjo 694d399
todo
enisdenjo 23bdfaa
loglgevel prefix
enisdenjo 23cd514
test level
enisdenjo 4e7994f
test child
enisdenjo 4fc9a4a
refactor
enisdenjo 8567986
unwrap lazy attrs
enisdenjo 2142191
no unwrap if no log
enisdenjo d78d7b6
todos
enisdenjo f62a23c
refactor logger
enisdenjo da9bf49
log and prepare
enisdenjo b2579b5
safe stringify
enisdenjo 09f59ea
legacy logger
enisdenjo 2f4654a
refactor some
enisdenjo 8c8c6cc
any attr value
enisdenjo 3a42983
fetch with new log
enisdenjo 333389e
logger attrs parser and stuff
enisdenjo 89880ab
inherit child and some fixes
enisdenjo 3883b07
refactor
enisdenjo 3b98c54
refactor more
enisdenjo a065c06
remove logger from cache hooks
enisdenjo 4d7e8c8
legacylogger for hive console plugin
enisdenjo e36eadf
retry logger
enisdenjo 96cc3aa
pass in logger to usewebhooks
enisdenjo fda7316
use hmac
enisdenjo 50bf5f3
some todos
enisdenjo 1cd36b9
drop for now
enisdenjo ef1002c
no color if no process
enisdenjo b445750
logger -> log
enisdenjo bfc2917
nest logger writer
enisdenjo a743dd0
fix unit tests
enisdenjo 72660e9
config syntax
enisdenjo 477a860
format
enisdenjo ae4c7dd
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] dd0735b
logger 0.0.0
enisdenjo a07b335
logger level can be changed
enisdenjo 90b75c3
some cleanup
enisdenjo 1117ded
legacylogger tests and fixes
enisdenjo 4ab616e
request logger
enisdenjo 35d1d8c
move over wrapfetchwith hooks
enisdenjo 06e8fae
todo
enisdenjo 66747a4
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] a8dd58e
fix wrap fetch
enisdenjo ed29fbd
fix types and provide legacy logger under "logger" for some components
enisdenjo 6dc0011
make sure meshlogger fits types of legacylogger
enisdenjo ee40f49
retryonschemareload might not have a request (websockets)
enisdenjo c530e0a
request is not there for websokets
enisdenjo fedfa50
skip error serial on bun
enisdenjo df4b1d4
transform class private methods for jest
enisdenjo b90c893
correct snap for bun
enisdenjo 02e2f8e
skip instead of todo for leaktests
enisdenjo 6c38081
jwt use log and enable aws
enisdenjo ed802f8
logger for request in hmac
enisdenjo 5c34afe
changeset for logger
enisdenjo d0eab94
hmac needs logger for services
enisdenjo f78c5c7
disallow deep function unwraps only
enisdenjo df9d06d
test edgecase
enisdenjo a45e678
shallow merge attrs
enisdenjo 51ae744
no unwrap of attr values
enisdenjo ea64b75
no logging of lazy attributes returning nothing
enisdenjo bf18bb0
delegation plan is under delegation plan
enisdenjo d8a4e84
use fastsafestringify for formatting
enisdenjo c961348
explain deps
enisdenjo 1ae6d9f
no scoped
enisdenjo 1b97a48
fix lockfile
enisdenjo 2f72463
docs(examples): converted from e2es
theguild-bot 8c0823a
flush test and no flush in writers
enisdenjo 07e4e90
async dispose
enisdenjo 8226590
logger doesnt need to implement logwriter
enisdenjo 94c54e7
better plain object detector and use toJSON
enisdenjo f886b0f
improve objectify and serialise and tests
enisdenjo 9f5cde4
handle circular
enisdenjo 9caea49
test aggregate errors
enisdenjo 3b81bae
stable errors for testing
enisdenjo 5779e7f
fix types for memorylogwriter
enisdenjo b584e63
pretty attrs stringify
enisdenjo e9ca3a6
nofroget
enisdenjo 4dc404c
color
enisdenjo fb0a4a0
test console writer
enisdenjo 85adf51
no flush
enisdenjo 7416692
json log on log json
enisdenjo e54aad9
begin readme
enisdenjo e4c6df6
more
enisdenjo b97c6f1
writers
enisdenjo 7e1009f
aggregate writes
enisdenjo ac93cd9
message formatting
enisdenjo 9dd5b34
child loggers
enisdenjo 585bfa2
default and stuff
enisdenjo 74894a4
logger for request
enisdenjo 784cbdd
color brackets
enisdenjo 3f4f92a
dynamic level
enisdenjo 1d55efa
exprsmng
enisdenjo 34afde5
otel log
enisdenjo 50d3693
disable logging example
enisdenjo e018254
arrayfrom
enisdenjo 07dc9da
h++
enisdenjo 4e0f594
logging methods and args
enisdenjo 9a07fcc
no test writers on bun
enisdenjo b352916
.js
enisdenjo 4014e63
advanced serialisation
enisdenjo 3add1d0
lazy args
enisdenjo 6451a4c
rename move
enisdenjo a9b1c89
pino writer
enisdenjo f9e619d
winston logger
enisdenjo aef52a3
document other
enisdenjo 8cec70e
winstons node js
enisdenjo 834dff8
use baseloger pino
enisdenjo 713779d
use pino writer
enisdenjo 62755f1
remove legacy loggers
enisdenjo 689f5d1
chore(dependencies): updated changesets for modified dependencies
github-actions[bot] 3aa144d
change case
enisdenjo 336b6e3
more log detauls and information
enisdenjo 7ea0540
log errors and more things
enisdenjo 954bdf2
legacylogger fot getincontext
enisdenjo 080026c
this ok
enisdenjo f34267b
explain potential placholders
enisdenjo e972362
warn on failing async writes right away
enisdenjo b47b06d
create pendingwrites set only when necessary
enisdenjo 7422683
hide console errorrs during async write test
enisdenjo da28e1b
dont overwrite log instances
enisdenjo 57e5c8b
nodejs util inspect custom symol
enisdenjo a321bca
better child
enisdenjo acc2207
debug mode enabled
enisdenjo a7e5689
better child
enisdenjo 118de56
ensure signal
enisdenjo 4e0a76f
changesets
enisdenjo 68c7863
rootvalue execution request
enisdenjo 69ec041
use log instead of logger
enisdenjo 4dd6a77
bench logger msg
enisdenjo 4d99d76
test console writer in bun too
enisdenjo 9faced0
transportcontext is not required
enisdenjo dd28f83
log mode and version
enisdenjo 84a3ddc
only format if there are interpolation values
enisdenjo 2d9ce0e
earlier version and mode log
enisdenjo 7184bde
use template literals
enisdenjo 6b7df87
docs(examples): converted from e2es
theguild-bot 274edcc
update expected log for schema watcher
enisdenjo 6513e64
docs(examples): converted from e2es
theguild-bot 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 hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@graphql-hive/gateway': patch | ||
--- | ||
|
||
dependencies updates: | ||
|
||
- Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`) |
9 changes: 9 additions & 0 deletions
9
.changeset/@graphql-hive_gateway-runtime-1030-dependencies.md
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
'@graphql-hive/gateway-runtime': patch | ||
--- | ||
|
||
dependencies updates: | ||
|
||
- Added dependency [`@envelop/instrumentation@^1.0.0` ↗︎](https://www.npmjs.com/package/@envelop/instrumentation/v/1.0.0) (to `dependencies`) | ||
- Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`) | ||
- Removed dependency [`@graphql-hive/logger-json@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger-json/v/workspace:^) (from `dependencies`) |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@graphql-mesh/fusion-runtime': patch | ||
--- | ||
|
||
dependencies updates: | ||
|
||
- Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`) |
7 changes: 7 additions & 0 deletions
7
.changeset/@graphql-mesh_plugin-prometheus-1030-dependencies.md
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@graphql-mesh/plugin-prometheus': patch | ||
--- | ||
|
||
dependencies updates: | ||
|
||
- Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`) |
7 changes: 7 additions & 0 deletions
7
.changeset/@graphql-mesh_transport-common-1030-dependencies.md
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@graphql-mesh/transport-common': patch | ||
--- | ||
|
||
dependencies updates: | ||
|
||
- Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`) |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
'@graphql-mesh/hmac-upstream-signature': major | ||
'@graphql-mesh/transport-http-callback': major | ||
'@graphql-mesh/plugin-opentelemetry': major | ||
'@graphql-mesh/plugin-prometheus': major | ||
'@graphql-mesh/transport-common': major | ||
'@graphql-mesh/plugin-jwt-auth': major | ||
'@graphql-mesh/fusion-runtime': major | ||
'@graphql-mesh/transport-ws': major | ||
'@graphql-hive/gateway': major | ||
'@graphql-hive/gateway-runtime': major | ||
'@graphql-hive/nestjs': major | ||
--- | ||
|
||
Introduce and use the new Hive Logger | ||
|
||
- [Read more about it on the Hive Logger documentation here.](https://the-guild.dev/graphql/hive/docs/logger) | ||
|
||
- If coming from Hive Gateway v1, [read the migration guide here.](https://the-guild.dev/graphql/hive/docs/migration-guides/gateway-v1-v2) |
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
'@graphql-hive/logger': major | ||
--- | ||
|
||
Introducing Hive Logger | ||
|
||
[Read more about it on the Hive Logger documentation website.](https://the-guild.dev/graphql/hive/docs/logger) |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.