Esempio n. 1
0
        public QueryGroup(StructuredQuery query)
        {
            _query       = query;
            _queries     = new Dictionary <string, StructuredQuery>();
            _queriesUsed = new Dictionary <string, bool>();

            foreach (var type in new[] { "requests", "exceptions", "availabilityResults" })
            {
                _queries.Add(type, QueryBuilder.Parse($" {type} | {_query.First(q => q.Contains("timestamp >"))}"));
                _queriesUsed.Add(type, false);
            }
        }