OpenTelemetry SDK
    Preparing search index...
    interface GrpcInstrumentationConfig {
        enabled?: boolean;
        ignoreGrpcMethods?: IgnoreMatcher[];
        metadataToSpanAttributes?: {
            client?: { requestMetadata?: string[]; responseMetadata?: string[] };
            server?: { requestMetadata?: string[]; responseMetadata?: string[] };
        };
    }

    Hierarchy

    • InstrumentationConfig
      • GrpcInstrumentationConfig
    Index
    enabled?: boolean

    Whether to enable the plugin.

    true
    
    ignoreGrpcMethods?: IgnoreMatcher[]
    metadataToSpanAttributes?: {
        client?: { requestMetadata?: string[]; responseMetadata?: string[] };
        server?: { requestMetadata?: string[]; responseMetadata?: string[] };
    }

    Map the following gRPC metadata to span attributes.