in config/kusto_config.go [23:46]
func ParseKustoConfig(path string, requestNoTruncation bool, requestNoTimeout bool) (*KustoConfig, error) {
c := &KustoConfig{}
queryOptions := make([]kusto.QueryOption, 0)
if err := load(path, c); err != nil {
return nil, err
}
if err := c.Validate(); err != nil {
return nil, err
}
if requestNoTruncation {
queryOptions = append(queryOptions, kusto.NoTruncation())
}
if requestNoTimeout {
queryOptions = append(queryOptions, kusto.NoRequestTimeout())
}
queryOptions = append(queryOptions, kusto.Application("azure-kusto-jaeger-plugin"))
c.ClientRequestOptions = queryOptions
return c, nil
}