Skip to content

Commit

Permalink
feat(pino): support new pino version ^9.0.0 (#2163)
Browse files Browse the repository at this point in the history
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
  • Loading branch information
blumamir and pichlermarc committed Apr 30, 2024
1 parent 59583f2 commit 585b833
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion plugins/node/opentelemetry-instrumentation-pino/.tav.yml
@@ -1,5 +1,8 @@
pino:
- versions: "^8.16.2 || 8.12.1 || 8.8.0 || 8.4.0 || 8.0.0 || ^7.11.0 || 7.8.0 || 7.2.0 || ^6.13.3 || 5.17.0 || 5.14.0"
- versions: "^9.0.0"
node: ">=18"
commands: npm run test
- versions: "^8.21.0 || 8.20.0 || 8.16.2 || 8.12.1 || 8.8.0 || 8.4.0 || 8.0.0 || ^7.11.0 || 7.8.0 || 7.2.0 || ^6.13.3 || 5.17.0 || 5.14.0"
node: ">=14"
commands: npm run test
- versions: "^7.11.0 || 7.8.0 || 7.2.0 || ^6.13.1 || 5.17.0 || 5.14.0"
Expand Down
2 changes: 1 addition & 1 deletion plugins/node/opentelemetry-instrumentation-pino/README.md
Expand Up @@ -63,7 +63,7 @@ When no span context is active or the span context is invalid, injection is skip

### Supported versions

`>=5.14.0 <9`
`>=5.14.0 <10`

## Useful links

Expand Down
Expand Up @@ -29,7 +29,7 @@ import {
import { PinoInstrumentationConfig } from './types';
import { VERSION } from './version';

const pinoVersions = ['>=5.14.0 <9'];
const pinoVersions = ['>=5.14.0 <10'];

const DEFAULT_LOG_KEYS = {
traceId: 'trace_id',
Expand Down

0 comments on commit 585b833

Please sign in to comment.