Skip to content

Commit

Permalink
feat: add ability to load resolved plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Cornelissen committed Nov 30, 2020
1 parent 8933661 commit 37cdebd
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ export interface PluginConfig {
*/
path?: string;

/**
* Plugin to load
* @example import {plugin} from '@opentelemetry/plugin-http' in case of http.
*/
plugin?: Plugin;

/**
* Request methods that match any string in ignoreMethods will not be traced.
*/
Expand Down

0 comments on commit 37cdebd

Please sign in to comment.