Skip to content

Commit

Permalink
+ fix readme option table format
Browse files Browse the repository at this point in the history
  • Loading branch information
gshong33 committed Aug 1, 2023
1 parent 82267ab commit 1d18e08
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions plugins/node/opentelemetry-instrumentation-fastify/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ See [examples/fastify](https://github.com/open-telemetry/opentelemetry-js-contri

## Fastify Instrumentation Options

| Options | Type | Example | Description |
| `requestHook` | `FastifyCustomAttributeFunction` | `(span, requestInfo) => {}` | Function for adding custom attributes to Fastify requests. Receives params: `Span, FastifyRequestInfo`. |
| Options | Type | Example | Description |
| -------------- | ---------------------------- | -------------------------------- | ------------------------------------------------------------------------------ |
| `requestHook` | `FastifyCustomAttributeFunction` | `(span, requestInfo) => {}` | Function for adding custom attributes to Fastify requests. Receives parameters: `Span, FastifyRequestInfo`. |

### Using `requestHook`

Expand Down

0 comments on commit 1d18e08

Please sign in to comment.