Skip to content

Commit 6f9fa21

Browse files
committed
ci: bump collector
1 parent ce8a938 commit 6f9fa21

File tree

2 files changed

+29
-29
lines changed

2 files changed

+29
-29
lines changed

examples/hello-node-express-ts/index.ts

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -85,36 +85,36 @@ app.get('/', async (_req: Request, res: Response, next: NextFunction) => {
8585
}
8686
});
8787

88-
app.get('/logs', (_req: Request, res: Response) => {
89-
// Log with different levels
90-
pinoLogger.trace('This is a trace log - lowest level');
91-
pinoLogger.debug({ debugInfo: 'some debug data' }, 'This is a debug log');
92-
pinoLogger.info({ userId: 123, action: 'test' }, 'This is an info log');
93-
pinoLogger.warn(
94-
{ warning: 'something might be wrong' },
95-
'This is a warning log',
96-
);
97-
pinoLogger.error({ error: 'something went wrong' }, 'This is an error log');
98-
pinoLogger.fatal({ critical: 'system failure' }, 'This is a fatal log');
88+
// app.get('/logs', (_req: Request, res: Response) => {
89+
// // Log with different levels
90+
// pinoLogger.trace('This is a trace log - lowest level');
91+
// pinoLogger.debug({ debugInfo: 'some debug data' }, 'This is a debug log');
92+
// pinoLogger.info({ userId: 123, action: 'test' }, 'This is an info log');
93+
// pinoLogger.warn(
94+
// { warning: 'something might be wrong' },
95+
// 'This is a warning log',
96+
// );
97+
// pinoLogger.error({ error: 'something went wrong' }, 'This is an error log');
98+
// pinoLogger.fatal({ critical: 'system failure' }, 'This is a fatal log');
9999

100-
// Log with nested objects
101-
pinoLogger.info(
102-
{
103-
request: {
104-
method: 'GET',
105-
path: '/logs',
106-
headers: { 'user-agent': 'test' },
107-
},
108-
performance: {
109-
duration: 123,
110-
memory: process.memoryUsage(),
111-
},
112-
},
113-
'Complex log with nested data',
114-
);
100+
// // Log with nested objects
101+
// pinoLogger.info(
102+
// {
103+
// request: {
104+
// method: 'GET',
105+
// path: '/logs',
106+
// headers: { 'user-agent': 'test' },
107+
// },
108+
// performance: {
109+
// duration: 123,
110+
// memory: process.memoryUsage(),
111+
// },
112+
// },
113+
// 'Complex log with nested data',
114+
// );
115115

116-
res.status(200).json({ message: 'Logs generated successfully' });
117-
});
116+
// res.status(200).json({ message: 'Logs generated successfully' });
117+
// });
118118

119119
function sleepy(): Promise<void> {
120120
return new Promise((resolve) => {

smoke-tests/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ x-app-base-ts: &app_base_ts
2828

2929
services:
3030
collector:
31-
image: otel/opentelemetry-collector:0.52.0
31+
image: otel/opentelemetry-collector:0.137.0
3232
command: ['--config=/etc/otel-collector-config.yaml']
3333
volumes:
3434
- './collector/otel-collector-config.yaml:/etc/otel-collector-config.yaml'

0 commit comments

Comments
 (0)