Skip to content
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

feat(instrumentation-pino): add log sending to Logs Bridge API #2249

Merged
merged 26 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
c8b6072
feat(instrumentation-pino): add log sending to Logs Bridge API
trentm May 27, 2024
211b198
Merge branch 'main' into tm-pino-logs-bridge
trentm May 27, 2024
d817eb0
refactor tests (mostly from separate #2247 PR); lint:fix; some in-pro…
trentm May 28, 2024
72c086b
remove some old dev/debug code
trentm May 28, 2024
b0ed6a1
feat!: make it so re-enabled instr after creating a logger will NOT c…
trentm May 28, 2024
26256d4
impl disableLogCorrelation config; undo the previous commit so that l…
trentm May 28, 2024
59baad8
log sending: first tests; change impl to use pino.multistream
trentm May 28, 2024
5e0123d
edge case tests; almost complete
trentm May 29, 2024
2db3a8c
more tests and a fix for 'useOnlyCustomLevels: true' usage
trentm May 29, 2024
fe0a655
lint:fix
trentm May 29, 2024
0201e80
refactor some code out to utils file
trentm May 30, 2024
aa2e224
add some internal docs
trentm May 30, 2024
ce12413
update readme
trentm May 30, 2024
2a630f2
fix lint
trentm May 30, 2024
2abd655
Merge branch 'main' into tm-pino-logs-bridge
trentm May 30, 2024
be12617
avoid a possible flaky error if using pino 'unixTime' and logging in …
trentm May 30, 2024
899f153
limit log-sending to pino@7 and later because that's when pino.multis…
trentm May 30, 2024
77b1877
lint:fix
trentm May 30, 2024
37a59de
discuss pino-opentelemetry-transport alternative
trentm May 31, 2024
158fd6a
Merge branch 'main' into tm-pino-logs-bridge
trentm Jun 7, 2024
f1b83a8
fix a mis-merge
trentm Jun 7, 2024
954642a
update changed deps to their new latest
trentm Jun 7, 2024
3d1c5da
Merge branch 'main' into tm-pino-logs-bridge
trentm Jun 10, 2024
7116e6a
typo in README
trentm Jun 24, 2024
1bb7260
Merge branch 'main' into tm-pino-logs-bridge
trentm Jun 24, 2024
632e5c9
Merge branch 'main' into tm-pino-logs-bridge
pichlermarc Jun 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into tm-pino-logs-bridge
  • Loading branch information
trentm committed Jun 10, 2024
commit 3d1c5da5d6e8898a01ef0750206d6dfb7b2d2155
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import {
InMemorySpanExporter,
SimpleSpanProcessor,
} from '@opentelemetry/sdk-trace-base';
import { AsyncHooksContextManager } from '@opentelemetry/context-async-hooks';
import { NodeTracerProvider } from '@opentelemetry/sdk-trace-node';
import { logs, SeverityNumber } from '@opentelemetry/api-logs';
import {
Expand All @@ -52,7 +51,6 @@ tracerProvider.addSpanProcessor(
new SimpleSpanProcessor(new InMemorySpanExporter())
);
const tracer = tracerProvider.getTracer('default');
context.setGlobalContextManager(new AsyncHooksContextManager());

// Setup LoggerProvider for "log sending" tests.
const resource = new Resource({
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.