UNPKG

@splunk/otel

Version:

The Splunk distribution of OpenTelemetry Node Instrumentation provides a Node agent that automatically instruments your Node application to capture and report distributed traces to Splunk APM.

11 lines 621 B
import { Span } from '@opentelemetry/api'; import { InstrumentationConfig } from '@opentelemetry/instrumentation'; import type { QueryResult } from 'neo4j-driver'; export type Neo4jResponseCustomAttributesFunction = (span: Span, response: QueryResult) => void; export interface Neo4jInstrumentationConfig extends InstrumentationConfig { /** hook for adding custom attributes using the response payload */ responseHook?: Neo4jResponseCustomAttributesFunction; /** Set to true if you only want to trace operation which has parent spans */ ignoreOrphanedSpans?: boolean; } //# sourceMappingURL=types.d.ts.map