Skip to content

0.0.9

Compare
Choose a tag to compare
@danstarns danstarns released this 16 Mar 22:41
· 70 commits to main since this release

This adds the ability to exclude keys from the span context attribute.

const context = {
  GraphQLOTELContext: new GraphQLOTELContext({
    includeContext: true,
    includeVariables: true,
    excludeKeysFromContext: ["database", 'headers', "token"], <--- large objects, sensitive information
  }),
};